Quantcast
Viewing all articles
Browse latest Browse all 15889

Move TEMPDB to another location

I tried moving the location of TEMPDBusing following script

USE master
GO
ALTER DATABASE tempdb
MODIFY FILE (NAME = tempdev, FILENAME = 'C:\tempdb2005.mdf')
GO
ALTER DATABASE tempdb
MODIFY FILE (NAME = templog, FILENAME = 'C:\tempdb2005.ldf')
GO

AFter moving i restarted sql server and went to drives and seeif it got moved. Tempdb size was 6 GB and only 10 MB got moved. Not sure is therwe anything else missing from this which need to account for. Any help much appreciated.


Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>