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 files disappearing??

Author  Topic 

cwalston
Starting Member

25 Posts

Posted - 2009-01-13 : 12:29:37
Either I am crazy or this is very strange.

I have a 2005 server that needs a rather large tempdb (both data and log) due to the apps running (poorly written code IMHO). During a maintenance window, I added files and synced up their sizes so that everything is neat and inline. Then to make sure all is clean, I bounced the instance.

When it came backup, all my added files were gone! In the db properties in the gui it listed all the files, but did not adjust the sizes in the overall tempdb size. In sp_helpdb, it did not even recognize the new files.

Anyone ever seen this behavior?

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-01-13 : 12:45:43
Try my script instead to add the files: http://weblogs.sqlteam.com/tarad/archive/2008/05/20/60604.aspx

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

Subscribe to my blog
Go to Top of Page

cwalston
Starting Member

25 Posts

Posted - 2009-01-13 : 13:04:51
I appreciate the script...but any idea why I would be getting this behavior? In looking at your script, you eventially execute an Alter database command, which is what I did. What would the difference be?


Thanks again for your reply.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-01-13 : 13:19:50
I provided the script to ensure that tempdb is being configured properly. So if you are doing the same thing, then I'm not sure why you'd be encountering this. I've got the multiple data files for tempdb implemented on about 25 different servers and haven't experienced this issue.

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

Subscribe to my blog
Go to Top of Page
   

- Advertisement -