天外飞砖2009-06-05 06:11:54
有什么比较好的工具软件、书籍么?俺需要仔细研究一堆Query的性能,这些Query都需要查询大概10万条记录,大致有7、8个这么大的表。目前得到结果需要太长时间,我需要想办法将时间缩短到可以接受的程度……

1。除了已经有的index我不可以新建index。
2。不能改变已有的表的结构




coolibah2009-06-05 06:16:56
scan-buffer-delta only
不知道我是谁2009-06-05 06:26:10
10万条数据不多;先turn on Execution Plan看看
豆腐板2009-06-05 06:33:46
你要请吃龙虾还是螃蟹??~~
null_pointer2009-06-05 06:53:34
get more computer :)
天外飞砖2009-06-05 07:47:10
Crap...u failed
天外飞砖2009-06-05 07:47:42
No, no stored proc at all, pure SQL
Fagger2009-06-05 07:47:53
SQL server performance tuning
天外飞砖2009-06-05 07:48:04
凸,u failed...
天外飞砖2009-06-05 07:48:33
凸……charging more than I got, u failed
不知道我是谁2009-06-05 07:53:05
用stored procedure,会大大地提高performance
不知道我是谁2009-06-05 07:54:13
你们公司真强,搞蛮的。
天外飞砖2009-06-05 07:57:20
MD, 我说了是自动产生的dynamic SQL,不能用stored proc
天外飞砖2009-06-05 07:59:39
靠,那些SQL是根据客户的自定义数据库产生的,没法写proc
天外飞砖2009-06-05 08:03:53
炒鱿鱼爱吃伐?
不知道我是谁2009-06-05 08:08:04
md, stored proc can execute a string ...
天外飞砖2009-06-05 08:12:54
that loses the benefit to have a pre-compiled execution plan
不知道我是谁2009-06-05 08:24:35
不想了,混一会就下班了。
性感美男2009-06-05 08:37:25
你问问题不清楚
null_pointer2009-06-05 08:50:43
awww.. simplest solution is the best solution!
ozstar2009-06-05 11:33:27
这问题问的
newstoall2009-06-05 12:17:50
回复:10万条数据不多;先turn on Execution Plan看看
newstoall2009-06-05 12:22:31
Aggregate Tables 回复:scan-buffer-delta only