February 26, 2013 at 6:39 am
Hi
Is there any effect on performance if I empty the temp db by restarting SQL server,and increase the size of it and also outo growth,or will be worse?
the mdf of temp db is 271 G and ldf is 9 G for a database with 563 G mdf
February 26, 2013 at 10:04 am
Is your TempDb on it's own disc or is it on the same disc as the other system Db's?
email: info@weekendwebdesign.co.uk
Personal Website: http://markallen.co.uk/
Business Website: https://www.weekendwebdesign.co.uk
February 26, 2013 at 10:16 am
It is on the same disk that mdf and ldf file are located but not C (os drive)
February 26, 2013 at 10:33 am
Check this link out, it may help:- http://msdn.microsoft.com/en-gb/library/ms345368(v=sql.105).aspx
If you've got the disc space and you're having performance issues with the Tempdb, I'd definitely look to move it to it's own disc which could boost I/O and reduce contention etc. The link above should also give you some ideas.
hope it helps.
email: info@weekendwebdesign.co.uk
Personal Website: http://markallen.co.uk/
Business Website: https://www.weekendwebdesign.co.uk
February 26, 2013 at 12:50 pm
mah_j (2/26/2013)
HiIs there any effect on performance if I empty the temp db by restarting SQL server,and increase the size of it and also outo growth,or will be worse?
the mdf of temp db is 271 G and ldf is 9 G for a database with 563 G mdf
I'd have to say that 271G is a bit large. I'd start looking for any code that uses more than a billion reads that then wittle down from there. A TempDB as large as you have typically means that there's some nasty many-to-many joins that someone overcomes with DISTINCT or GROUP BY. Of course, if you have an index almost that large, a rebuild of such an index may also be the "problem".
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply