主要的時間花在哪裏了,然後專功那一塊。
估計你使用stored proc,對吧!
10萬條數據不多;先turn on Execution Plan看看
所有跟帖:
•
No, no stored proc at all, pure SQL
-天外飛磚-
♀
(30 bytes)
()
06/04/2009 postreply
23:47:42
•
用stored procedure,會大大地提高performance
-不知道我是誰-
♂
(158 bytes)
()
06/04/2009 postreply
23:53:05
•
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
•
你們公司真強,搞蠻的。
-不知道我是誰-
♂
(0 bytes)
()
06/04/2009 postreply
23:54:13
•
靠,那些SQL是根據客戶的自定義數據庫產生的,沒法寫proc
-天外飛磚-
♀
(0 bytes)
()
06/04/2009 postreply
23:59:39
•
回複:10萬條數據不多;先turn on Execution Plan看看
-newstoall-
♂
(65 bytes)
()
06/05/2009 postreply
04:17:50