﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / SQL Server 2005 Performance Tuning  / Shifting TEMPDB database to another folder in same server. / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sun, 19 May 2013 15:45:00 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Shifting TEMPDB database to another folder in same server.</title><link>http://www.sqlservercentral.com/Forums/Topic623559-360-1.aspx</link><description>Well, some manuals (especially these days) aren't very good.  But the 'softies really did a nice job with SQL Server's BOL!  Most people don't know that.  I have it open 24/7 on my laptop.  I sure do miss the old days though, where you could get nice hard-copy manuals though.  Gosh - that sounds SOOOO old school!  :cool:</description><pubDate>Mon, 22 Dec 2008 08:37:53 GMT</pubDate><dc:creator>TheSQLGuru</dc:creator></item><item><title>RE: Shifting TEMPDB database to another folder in same server.</title><link>http://www.sqlservercentral.com/Forums/Topic623559-360-1.aspx</link><description>[quote][b]TheSQLGuru (12/21/2008)[/b][hr] PLEASE check Books Online before posting questions!  [/quote]Read the manual? What a radical, way out idea!</description><pubDate>Mon, 22 Dec 2008 00:43:39 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>RE: Shifting TEMPDB database to another folder in same server.</title><link>http://www.sqlservercentral.com/Forums/Topic623559-360-1.aspx</link><description>Nah... too much work, Kevin. ;)</description><pubDate>Sun, 21 Dec 2008 17:15:39 GMT</pubDate><dc:creator>Jeff Moden</dc:creator></item><item><title>RE: Shifting TEMPDB database to another folder in same server.</title><link>http://www.sqlservercentral.com/Forums/Topic623559-360-1.aspx</link><description>I post this for the benefit of others who may search the forums:  PLEASE check Books Online before posting questions!  It is a WONDERFUL resource!  I put 'tempdb' in the index and voila, there was a clickable link 'moving', which took me directly to everything you need to know about moving the tempdb.  :)</description><pubDate>Sun, 21 Dec 2008 17:07:40 GMT</pubDate><dc:creator>TheSQLGuru</dc:creator></item><item><title>RE: Shifting TEMPDB database to another folder in same server.</title><link>http://www.sqlservercentral.com/Forums/Topic623559-360-1.aspx</link><description>Use ALter database with Modify file option to move the tempdb database and do an instance restart.FOllowing links would be helpful.[url]http://www.sqlservercentral.com/articles/Administration/63568/[/url][url]http://support.microsoft.com/kb/187824[/url]or in BOL ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/72bb62ee-9602-4f71-be51-c466c1670878.htm</description><pubDate>Sun, 21 Dec 2008 05:04:06 GMT</pubDate><dc:creator>ps.</dc:creator></item><item><title>RE: Shifting TEMPDB database to another folder in same server.</title><link>http://www.sqlservercentral.com/Forums/Topic623559-360-1.aspx</link><description>Thanks...will try the same.</description><pubDate>Sun, 21 Dec 2008 04:57:07 GMT</pubDate><dc:creator>Joy Smith San</dc:creator></item><item><title>RE: Shifting TEMPDB database to another folder in same server.</title><link>http://www.sqlservercentral.com/Forums/Topic623559-360-1.aspx</link><description>You can do it by running alter database statement.  You can look at the script .that I’ve added as an example.  Unfortunately you'll have to restart the service.  Without restarting the service, tempdb will continue to work from its current position.use mastergo--Change the location of the data file.  .Alter database tempdb modify file (name = tempdev, filename = 'D:\MyTempDBDir\tempdb.mdf')Go--Change the location of the log file.  Alter database tempdb modify file (name = templog, filename = 'E:\TempDBLogDir\templog.ldf')go Don't forget to use the real path and not the path in this example.Adi</description><pubDate>Sun, 21 Dec 2008 04:50:00 GMT</pubDate><dc:creator>Adi Cohn-120898</dc:creator></item><item><title>Shifting TEMPDB database to another folder in same server.</title><link>http://www.sqlservercentral.com/Forums/Topic623559-360-1.aspx</link><description>Dear All, I want to change the location of my tempDB data base.How can I dot it..? I also want to do it without stopping SQL Server..Is it possible..? Please guide.Thanks in advance.Santhosh.</description><pubDate>Sun, 21 Dec 2008 04:14:39 GMT</pubDate><dc:creator>Joy Smith San</dc:creator></item></channel></rss>