Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
SQL Server 2005 Strategies
»
TempDB optimization
TempDB optimization
Rate Topic
Display Mode
Topic Options
Author
Message
Zeal-DBA
Zeal-DBA
Posted Wednesday, February 27, 2013 3:27 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 6:11 AM
Points: 185,
Visits: 941
hello,
in ma current configuration i have one data file and one log file of a tempdb database.
as a process of tempdb optimization i am going to add 16 Data files for tempdb database because in ma server i have 16 CPUs available and getting tempdb contention issues.
just want to know the prerequisite and postrequisite of adding multiple datafiles for tempdb.
Post #1424434
Zeal-DBA
Zeal-DBA
Posted Wednesday, February 27, 2013 3:52 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 6:11 AM
Points: 185,
Visits: 941
and please provide any guidelines on this to add number secondary data files and initial size of each file..?
Post #1424450
GilaMonster
GilaMonster
Posted Wednesday, February 27, 2013 6:51 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 4:11 PM
Points: 37,741,
Visits: 30,020
http://www.sqlskills.com/BLOGS/PAUL/post/A-SQL-Server-DBA-myth-a-day-%281230%29-tempdb-should-always-have-one-data-file-per-processor-core.aspx
http://technet.microsoft.com/library/Cc966545
http://www.sqlskills.com/blogs/paul/category/tempdb/
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 #1424512
TheSQLGuru
TheSQLGuru
Posted Thursday, February 28, 2013 12:26 PM
Hall of Fame
Group: General Forum Members
Last Login: Today @ 12:01 PM
Points: 3,582,
Visits: 5,130
Zeal-DBA (2/27/2013)
hello,
in ma current configuration i have one data file and one log file of a tempdb database.
as a process of tempdb optimization i am going to add 16 Data files for tempdb database because in ma server i have 16 CPUs available and getting tempdb contention issues.
just want to know the prerequisite and postrequisite of adding multiple datafiles for tempdb.
What type of "contention" are you getting? Is IO slow, or are you getting PFS/SGAM latching issues due to high rate of temp object creation? If it is the former, adding files may not make IO faster, and can in fact make it SLOWER. If the latter, I would look at the code hitting the box and see if there are unnecessary temp objects to be found. I have had more than a few clients over the years that excessively and unnecessarily used temp tables/variables. One actually had at least one table variable in about 80% of their 2000+ sprocs!!
Gail provided some good links for you. Read them carefully, and best of luck!
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru at GMail
Post #1425249
Meet George Jetson
Meet George Jetson
Posted Wednesday, March 06, 2013 1:43 PM
Ten Centuries
Group: General Forum Members
Last Login: Yesterday @ 7:51 AM
Points: 1,274,
Visits: 1,204
Paul Randal may explain it better than anyone else
[url=http://www.sqlskills.com/blogs/paul/a-sql-server-dba-myth-a-day-1230-tempdb-should-always-have-one-data-file-per-processor-core/][/url]
Chris Powell
George: You're kidding.
Elroy: Nope.
George: Then lie to me and say you're kidding.
Post #1427618
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.