-
How to find table scans?
How to find if table scans are occuring or not on the server? I guess we can use profiler but can cany one explain me the steps? or is there any sp out there that can be run to find out?
Thanks,
Di.
-
if you are running a procedure or a select statement in the query analyser you just do a CTRL + L on a selected query and see the execution plan.
Execution plan explains it.
-
You can trace
SQLServer:Access Methods - Full Scans/Sec
counter in Profiler for over all table scans. For a specific query you can capture the explain plan in profiler or in query analyzer.
-
Thanks, but which event in profiler? when I run on Enterprise mgr?
-
For SQLServer:Access Methods - Full Scans/Sec
you have to use system monitor.
But in profiler you can use performance event - explain plan
or scan event.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|