有什麽比較好的工具軟件、書籍麽?俺需要仔細研究一堆Query的性能,這些Query都需要查詢大概10萬條記錄,大致有7、8個這麽大的表。目前得到結果需要太長時間,我需要想辦法將時間縮短到可以接受的程度……
1。除了已經有的index我不可以新建index。
2。不能改變已有的表的結構
誰是SQL Query performance tuning 高手?偶來請教啦
所有跟帖:
•
scan-buffer-delta only
-coolibah-
♂
(45 bytes)
()
06/04/2009 postreply
22:16:56
•
凸,u failed...
-天外飛磚-
♀
(0 bytes)
()
06/04/2009 postreply
23:48:04
•
Aggregate Tables 回複:scan-buffer-delta only
-newstoall-
♂
(330 bytes)
()
06/05/2009 postreply
04:22:31
•
10萬條數據不多;先turn on Execution Plan看看
-不知道我是誰-
♂
(75 bytes)
()
06/04/2009 postreply
22:26:10
•
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
•
你要請吃龍蝦還是螃蟹??~~
-豆腐板-
♂
(0 bytes)
()
06/04/2009 postreply
22:33:46
•
炒魷魚愛吃伐?
-天外飛磚-
♀
(0 bytes)
()
06/05/2009 postreply
00:03:53
•
get more computer :)
-null_pointer-
♂
(19 bytes)
()
06/04/2009 postreply
22:53:34
•
Crap...u failed
-天外飛磚-
♀
(0 bytes)
()
06/04/2009 postreply
23:47:10
•
awww.. simplest solution is the best solution!
-null_pointer-
♂
(56 bytes)
()
06/05/2009 postreply
00:50:43
•
SQL server performance tuning
-Fagger-
♂
(28 bytes)
()
06/04/2009 postreply
23:47:53
•
凸……charging more than I got, u failed
-天外飛磚-
♀
(0 bytes)
()
06/04/2009 postreply
23:48:33
•
你問問題不清楚
-性感美男-
♂
(545 bytes)
()
06/05/2009 postreply
00:37:25
•
這問題問的
-ozstar-
♂
(0 bytes)
()
06/05/2009 postreply
03:33:27