Tempdb issue - sql server 2005\2008

Hi All,

We are facing logical disk space issue on tempdb volumes. In off-business hrs, there is no transactions on server (open\uncommited). But we are receiving logical disk space alert. We are not able to find root cause of the issue.

Please share your experience\solution on our issue.

Please find the attached structure of tempdb and volumes and plesae suggest is there any restructuring is required for tempdb.

Thanks in Advance
Who is Participating?
TempDBAConnect With a Mentor Commented:
It is always better to separate log and data files for tempdb. So, it will be better if you can move it from D drive provided you have sufficient space given.
Also, you can store the data from the below query by running a job every minute for a day. This will help you analyze what is using tempdb files.

     spid = c.session_id,
     dbname = DB_NAME(a.database_id),
     log_space_reserved_mb = a.database_transaction_log_bytes_reserved / (1024.0*1024.0),
     log_space_used_mb = a.database_transaction_log_bytes_used / (1024.0*1024.0),
     sys.dm_tran_database_transactions a (NOLOCK)
     INNER JOIN sys.dm_tran_session_transactions b (NOLOCK)
          ON b.transaction_id = a.transaction_id
     INNER JOIN sys.dm_exec_sessions c (NOLOCK)
          ON c.session_id = b.session_id
      a.database_id = DB_ID('tempdb')
x-menIT super heroCommented:
check your index maintenace jobs
sg05121983Author Commented:
Hi x-men,

I have already specified, there is no transactions\jobs are running on off-business hrs.

still we are receiving logical disk space low alerts.
x-menConnect With a Mentor IT super heroCommented:
you mentioned "there is no transactions on server ".

there is an option, on index maintenance jog, to sort using the temp db, and usualy, index maintenance jobs are runned off business hours.

that is just a thought...
sg05121983Author Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.