The postings on this site are my own and do not represent my Employer's positions, advice or strategies.

LifeAsBob

  Tuesday, December 18, 2018

 


Home
Blog
bob tech
Calendar
Contact Bob
Pictures
VW Buses
HomeBrew
Cook Book

 

Summer Begins 2008

  bob Links
Embarcadero Tech New...
Listening to someone who brews their own beer is like listening to a religious fanatic talk about the day he saw the light. - Ross Murray, Montreal Gazette
Wider View Insert

Cluster
DOS
IBM - AS400
MOM
Performance Counters
Service Broker
SQL Server
     Temporary Database
          TempDB Monitoring an...
          Moving the tempdb da...
          TempDB Multiple File...
          Moving the Temporary...
     Views
     Backup
     SQL Mail
     DTS - Data Transformation Services
     Memory
     Security
     Excel
     Jobs SQL Agent
     MSDE
     Install
     DBCC
     User Management
     System Databases
     BCV
     Deadlocks
     Temp Tables
Windows OS

Insert Category

Will be added as a sub-category of, Temporary Database
Moving the Temporary Database

Commands to move the temporary database are....

 -- move tempdb

-- requires shutdown and restart...

alter database tempdb modify file (name='tempdev', filename='F:\MSSQL\Data\tempDB.MDF')

alter database tempdb modify file (name='templog', filename= 'F:\MSSQL\Data\TempDB.LDF')

**After restart, you can delete old tempdb files.**