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
untitled.bmp
Structure.txt
sg05121983Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

x-menIT super heroCommented:
check your index maintenace jobs
0
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.
0
TempDBACommented:
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.

SELECT
     spid = c.session_id,
     c.[host_name],
     c.program_name,
     b.transaction_id,
     b.is_user_transaction,
     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),
     a.database_transaction_log_record_count
FROM
     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
WHERE
      a.database_id = DB_ID('tempdb')
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
x-menIT 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...
0
sg05121983Author Commented:
--
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2005

From novice to tech pro — start learning today.