January 16, 2012 at 8:24 am
Hi
I have sql server 2008 server with sp2.I am facing tempdb issue on this instance
every day tempdb is growing to 80 GB.could someone help me to find out the statements which is using more tempdb and give some recommendation.
Regards,
Akkare
January 16, 2012 at 8:37 am
Set up a server-side trace to monitor tempdb data file growth events as well as general server activity and see whether there's anything obvious that's happening every time the file grows. This won't work for certain, since there are so many things that use tempdb, and because the file may be growing due to one operation rather than many spread over time. However, it's a good place to start.
John
January 16, 2012 at 8:43 am
Further to this, use perfmon and the LogicalDisk: % free space counter as well. If this happens daily you should be able to see a clear spike or upward curve and this can help you when going through your trace files to see what transactions are causing it.
---
Note to developers:Want to get the best help? Click here https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help (Jeff Moden)
My blog: http://uksqldba.blogspot.com
Visit http://www.DerekColley.co.uk to find out more about me.
January 16, 2012 at 8:47 am
See this script:
http://www.sqlservercentral.com/scripts/tempdb/72007/
It should help you identifying the culprit.
-- Gianluca Sartori
January 17, 2012 at 7:37 pm
January 17, 2012 at 9:56 pm
Eric Hu²º¹² (1/17/2012)
Move the tempdb on a separate server.
Eric, you can't move TempDB to another server. It's required for SQL Server to be able to function. All you can do is identify what's causing TempDB growth and alternatively move it to a LUN with more available storage.
January 17, 2012 at 9:59 pm
January 17, 2012 at 11:11 pm
check is there any index rebuild job running daily
Regards,
Shivrudra W
January 18, 2012 at 2:28 am
Eric Hu²º¹² (1/17/2012)
Increase the file group.
You can only have one filegroup for tempdb, you can increase the number of files for that filegroup which may increase performance. I think the issue here is not performance in this respect but discovering why tempdb is growing so rapidly during the day.
Viewing 9 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic. Login to reply