Results 1 to 5 of 5

Thread: How to find table scans?

  1. #1
    Join Date
    Jan 2003
    Posts
    58

    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.

  2. #2
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254
    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.

  3. #3
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    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.

  4. #4
    Join Date
    Jan 2003
    Posts
    58
    Thanks, but which event in profiler? when I run on Enterprise mgr?

  5. #5
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    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
  •