• You can adjust the tempdb file(s) size using the following commands. The changes will be in effect the next time SQL Server starts.

    --EXEC tempdb.sys.sp_helpfile --to list the logical file names, if you need to

    -- names in bold below must be the correct logical names

    -- be sure to specify exactly the same size for all tempdb data files

    ALTER DATABASE tempdb MODIFY FILE ( NAME = tempdev, SIZE = <nnnnnn>KB )

    ALTER DATABASE tempdb MODIFY FILE ( NAME = tempdev2, SIZE = <nnnnnn>KB )

    --...

    SQL DBA,SQL Server MVP(07, 08, 09) A socialist is someone who will give you the shirt off *someone else's* back.