April 6, 2016 at 7:05 am
I have 32 processors in my server , can we create more than 8 temp files , if yes how ?
April 6, 2016 at 7:11 am
Are you sure you need more than 8? Are you seeing slowdowns in tempdb with 8 files anyway? I have yet to see an install that truly benefited from more than 8 files. If so, though, there should be no difficulty in adding additional files exactly the same way as you would add any other files. There isn't a special way to add files when you go over 8.
April 6, 2016 at 7:13 am
You should not WANT to do this unless you have identified PFS/SGAM allocation issues (and haven't done numerous other things first to address that). This is ESPECIALLY true if you are on rotating disk storage and don't have a LOT of dedicated spindles to server up tempdb. You will often make IO SLOWER due to head thrashing and disk latency by creating more files.
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
April 6, 2016 at 9:59 am
Thanks...
April 6, 2016 at 10:17 am
Why do you want to create more files?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 6, 2016 at 2:37 pm
ramyours2003 (4/6/2016)
I have 32 processors in my server , can we create more than 8 temp files , if yes how ?
To be honest, this is an advanced subject that can make or break your machine. You need to Google for Paul Randal's article on the subject.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 8, 2016 at 1:56 pm
ramyours2003 (4/6/2016)
I have 32 processors in my server , can we create more than 8 temp files , if yes how ?
monitor for allocation contention, if it's an issue add more files
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs" 😉
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply