Created
September 4, 2014 08:00
-
-
Save rheid/bfdc8037cd1983260516 to your computer and use it in GitHub Desktop.
SQL Server TempDB with multiple Files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALTER DATABASE [tempdb] | |
MODIFY FILE ( NAME = N'tempdev' , SIZE = 3480000KB ) | |
ALTER DATABASE [tempdb] | |
ADD File ( NAME = N'tempdev_2', FILENAME = N'G:\database\tempdev_2.ndf' , SIZE = 3480000KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB) | |
ALTER DATABASE [tempdb] | |
ADD File ( NAME = N'tempdev_3', FILENAME = N'G:\database\tempdev_3.ndf' , SIZE = 3480000KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB) | |
ALTER DATABASE [tempdb] | |
ADD File ( NAME = N'tempdev_4', FILENAME = N'G:\database\tempdev_4.ndf' , SIZE = 3480000KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB) | |
GO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment