sql tempdb usage on multi core system

id i create a tempdb for each core, is there anything else i need to tell sql so it knows to use all of them?
malraffAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gothamiteCommented:
You can only create one tempdb database per SQL instance. However you can have multiple data files for tempdb, which guidelines suggest you should have roughly 1 of per 2 CPU cores if you have 8 or more cores or 1 file per core if you have less than 8.

You don't need to tell SQL to use them other than adding the data files to tempdb.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cyberkiwiCommented:
You cannot create a tempdb for each core?!  Where did you find the setting?
SQL Server automatically uses all cores on the system by default, except for Express that will only use 1.
0
malraffAuthor Commented:
thats what i meant gothamite, and already done,

so basically sql will not see the 4 data files within tempdb and utilise them over the 4 processors?
0
gothamiteCommented:
Correct. When you execute a query, SQL doesn't take into account the number of data files. However you may notice different performance with more or less files for different query.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2005

From novice to tech pro — start learning today.