how to make use of tempdb in sql server 2000

  • how to make use of tempdb in sql server 2000

    my order by group by queries are done by Tempdb

    how to i measure this?

    say for example i am grouping a query say 2 million record on 32 bit SQL server machine how do i measure that this group by query is done at tempdb?

  • Are you facing any issue related to tempdb?

    ---------------------------------------------------
    "Thare are only 10 types of people in the world:
    Those who understand binary, and those who don't."

  • no want to know how Tempdb is used and usage

  • It's used for temp tables, table variables, sort and hash spills (which you generally don't want because they're slower than hash/sort done in memory) and for work tables which the query processor may need.

    There's not all that much monitoring of it possible in SQL 2000, the DMVs were only added in SQL 2005.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply