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 2008 Forums
 SQL Server Administration (2008)
 T EMPDB Files

Author  Topic 

john.burns
Posting Yak Master

100 Posts

Posted - 2010-11-01 : 09:37:06
If I have a tempdb of 40gb split up across 4 files at 10gb per (no auto growth) my question is:
Does one spid(or transaction) span all the files if needed or will it fill tempdb if it exceeds 10GB?

thanks

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-11-01 : 14:56:53
When using multiple data files, SQL spans them. Its algorithm keeps the free space to approximately the same amongst the files.

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

Subscribe to my blog
Go to Top of Page

john.burns
Posting Yak Master

100 Posts

Posted - 2010-11-01 : 15:47:42
thanks Tara,
Yes I ended up testing this (because I could not find any doco to support) and found same................
Go to Top of Page
   

- Advertisement -