Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 TEMPDB Data files question

Author  Topic 

john.burns
Posting Yak Master

100 Posts

Posted - 2009-07-27 : 11:14:42
All,

If tempdb recomendation is 1 datafile per cpu and we know that 1 cpu usually support 1 worker thread.

Will a particaular spid utilize more than 1 tempdb datafile if it exceeds the size of the current file it is assigned??

thanks

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-07-27 : 12:46:47
SQL Server uses a proportional fill algorithm for multiple data files, it does not have anything to do with a particular spid. Spids do not get assigned to a file.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

john.burns
Posting Yak Master

100 Posts

Posted - 2009-07-27 : 13:21:46
So if a spid fills file 1 it will move on to file2?
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2009-07-27 : 14:30:26
No, It fills up Simultaneously both files. You logic is true for Log files.
Go to Top of Page

john.burns
Posting Yak Master

100 Posts

Posted - 2009-07-27 : 14:32:49
thanks
Go to Top of Page
   

- Advertisement -