How to make tempdb as secondary file

  • Can I make secondary file of tempdb in sql server 2008

  • Yes, you can add secondary file(.ndf) to tempdb.

    ---------------------------------------------------
    "Thare are only 10 types of people in the world:
    Those who understand binary, and those who don't."

  • How can i add secondary file in tempdb???

  • By executing following command:

    ALTER DATABASE [tempdb] ADD FILE ( NAME = N'tempdb1', SIZE = 5120000KB, FILEGROWTH = 1024000KB, FILENAME = '<path>\tempdb1.ndf' )

    GO

    ---------------------------------------------------
    "Thare are only 10 types of people in the world:
    Those who understand binary, and those who don't."

  • thanx..

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply