Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

What are best practices for setting transaction log size for tempdb? Expand / Collapse
Author
Message
Posted Sunday, February 10, 2013 10:51 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Tuesday, July 8, 2014 11:20 AM
Points: 67, Visits: 242
Please some one help me .....

What are best practices for setting transaction log size for tempdb?
Post #1418123
Posted Sunday, February 10, 2013 2:35 PM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 12:00 PM
Points: 42,436, Visits: 35,490
Rum a load test of your app, see how large TempDB gets. Set default size to slightly larger.


Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1418142
Posted Sunday, February 10, 2013 5:58 PM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 11:31 AM
Points: 36,714, Visits: 31,164
rajeshjaiswalraj (2/10/2013)
Please some one help me .....

What are best practices for setting transaction log size for tempdb?


I wouldn't call it a "best practice" but here's what I do...

I set it to 100MB with 100MB Growth and then I watch it. Whatever it get's to after a full monthly cycle has passed is probably a pretty accurate size. I'll add half a GB to that and use that for the Initial Size keeping the 100MB growth. Of course, the new intial size won't kick in until the next bounce of the service or reboot of the server. I typically will do the same with the MDF file.


--Jeff Moden
"RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".

First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."

(play on words) "Just because you CAN do something in T-SQL, doesn't mean you SHOULDN'T." --22 Aug 2013

Helpful Links:
How to post code problems
How to post performance problems
Post #1418157
Posted Sunday, February 10, 2013 6:39 PM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Today @ 12:09 PM
Points: 21,199, Visits: 14,884
GilaMonster (2/10/2013)
Rum a load test of your app, see how large TempDB gets. Set default size to slightly larger.


Same thing I do. Other option is to run it for a while and monitor. Then adjust your settings.




Jason AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server


SQL RNNR

Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #1418170
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse