在网站开发时,1万条数据,执行select count(*)as num from View_Info ,select count(*) as num from View_Info where type='one' ,用DataReader读取结果, 执行此处,网站速度急剧变慢,执行的页面需要等待半分钟左右才显示出结果,为什么???请高手指教。
...全文
18713打赏收藏
性能问题,高手执教
在网站开发时,1万条数据,执行select count(*)as num from View_Info ,select count(*) as num from View_Info where type='one' ,用DataReader读取结果, 执行此处,网站速度急剧变慢,执行的页面需要等待半分钟左右才显示出结果,为什么???请高手指教。