tempdb activity

  • sql 2003 sp3

    am i missing something or just going crazy.......

    I've setup a sql profiler to run on the pretty busy server

    using standard template with filter (databases name = tempdb)

    and i see no activity what soever......can this be ?

    what is the best way to see tempdb activities?

    also tempdb data has been split between 4 equally sized files....

    is there a way to see activity per tempdb file?

    Thank you.

  • Why do you think there is more activity on TempDB? Is there any specific reason? Most of the time TempDB activity is high during Rebuild index job or Back up jobs, only thing you need to make sure is you take TempDB log backups consistently so that log space will not grow and use all disk space.

    EnjoY!

    EnjoY!
  • it should be busy.....

    we have plenty of 'group by', joins, 'order by'...

    also i did rebuilt a few indexes with 'sort in tempdb 'option for few databases.....

    see no activity in tempdb

    ????

  • profiler reports the database where the transaction originates.

    so unless someone was actually USING tempdby a la:

    use tempdb

    go

    it won't show up.

    Cheers!

  • great point, SQLBOT!

    Thank you

  • only thing you need to make sure is you take TempDB log backups consistently so that log space will not grow and use all disk space.

    GT You can't backup tempdb.

    You could look at the Sort Warning event, can be found under errors and warning in profiler...It doesn;t include index rebuilds but does indicate sort operations that do not fit into memory.

    Gethyn Elliswww.gethynellis.com

  • This link maybe helpdul too:

    http://blogs.msdn.com/sqlserverstorageengine/archive/2009/01/12/tempdb-monitoring-and-troubleshooting-out-of-space.aspx

    Gethyn Elliswww.gethynellis.com

Viewing 7 posts - 1 through 6 (of 6 total)

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