|
Do I have to reboot the server or restart the instance when I add data files to tempdb? Thanks
(comments are locked)
|
|
No. This code runs without the need for any sort of restart.
Edit -> After a little bit of extra background searching, I found this MSDN support article. That one applies to 2000 and gives some extra information on how tempdb files are used. Perfect !!!...only do not forget to leave the files with the same size!!
Oct 28 '09 at 10:43 AM
Laerte Junior
(comments are locked)
|
|
Matt is correct - you can add files online. I initially thought that this wasn't possible and penned my answer below! I'm not going to delete the answer, but just wanted to clarify that changes to tempdb, such as moving the files, would require a restart. Changes to tempDB will take affect when you restart the SQL Server service related to that instance. Whilst a server reboot will achieve this, you can simply restart the SQL Server instance. +1 for correction :)
Oct 28 '09 at 10:07 AM
Matt Whitfield ♦♦
(comments are locked)
|

