performance improvement:
-別用sub query,用joint tables
-group by 或者 order by ,要用在index上
-多用union,少用or。
目前我也就想到這麽多。
用stored procedure,會大大地提高performance
所有跟帖:
•
MD, 我說了是自動產生的dynamic SQL,不能用stored proc
-天外飛磚-
♀
(0 bytes)
()
06/04/2009 postreply
23:57:20
•
md, stored proc can execute a string ...
-不知道我是誰-
♂
(0 bytes)
()
06/05/2009 postreply
00:08:04
•
that loses the benefit to have a pre-compiled execution plan
-天外飛磚-
♀
(0 bytes)
()
06/05/2009 postreply
00:12:54
•
不想了,混一會就下班了。
-不知道我是誰-
♂
(0 bytes)
()
06/05/2009 postreply
00:24:35