dbTalk Databases Forums  

How many tempdb data files?

microsoft.public.sqlserver.setup microsoft.public.sqlserver.setup


Discuss How many tempdb data files? in the microsoft.public.sqlserver.setup forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Lijun Zhang
 
Posts: n/a

Default How many tempdb data files? - 04-24-2007 , 01:29 PM






On a 4 dual core, hyper threading server, how many tempdb files I should
configure in order to reduce schema lock contention? 8, or 16? I see 16
processors on the Task Manager. According to some articles dual-core CPU is
considered to be two CPUs. What about hyper-threading?

Thanks,
Lijun



Reply With Quote
  #2  
Old   
Tom Moreau
 
Posts: n/a

Default Re: How many tempdb data files? - 04-24-2007 , 04:46 PM






Go with one file per core - 8, in your case. Also, set the maximum degree
of parallelism to 8.

--
Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau


"Lijun Zhang" <sonyzhang00 (AT) yahoo (DOT) com> wrote

On a 4 dual core, hyper threading server, how many tempdb files I should
configure in order to reduce schema lock contention? 8, or 16? I see 16
processors on the Task Manager. According to some articles dual-core CPU is
considered to be two CPUs. What about hyper-threading?

Thanks,
Lijun



Reply With Quote
  #3  
Old   
Lijun Zhang
 
Posts: n/a

Default Re: How many tempdb data files? - 04-24-2007 , 09:19 PM



Thanks!

"Tom Moreau" <tom (AT) dont (DOT) spam.me.cips.ca> wrote

Quote:
Go with one file per core - 8, in your case. Also, set the maximum degree
of parallelism to 8.

--
Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau


"Lijun Zhang" <sonyzhang00 (AT) yahoo (DOT) com> wrote in message
news:%23ygrN6phHHA.3472 (AT) TK2MSFTNGP04 (DOT) phx.gbl...
On a 4 dual core, hyper threading server, how many tempdb files I should
configure in order to reduce schema lock contention? 8, or 16? I see 16
processors on the Task Manager. According to some articles dual-core CPU
is
considered to be two CPUs. What about hyper-threading?

Thanks,
Lijun





Reply With Quote
  #4  
Old   
Hari Prasad
 
Posts: n/a

Default Re: How many tempdb data files? - 04-25-2007 , 05:29 PM



I agree with Tom. After setting the DOP monitor the database performance
closely.

Thanks
Hari

"Tom Moreau" <tom (AT) dont (DOT) spam.me.cips.ca> wrote

Quote:
Go with one file per core - 8, in your case. Also, set the maximum degree
of parallelism to 8.

--
Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau


"Lijun Zhang" <sonyzhang00 (AT) yahoo (DOT) com> wrote in message
news:%23ygrN6phHHA.3472 (AT) TK2MSFTNGP04 (DOT) phx.gbl...
On a 4 dual core, hyper threading server, how many tempdb files I should
configure in order to reduce schema lock contention? 8, or 16? I see 16
processors on the Task Manager. According to some articles dual-core CPU
is
considered to be two CPUs. What about hyper-threading?

Thanks,
Lijun





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.