Solved

tempdb in sql server 2008 path

Posted on 2009-07-14
3
231 Views
Last Modified: 2012-05-07
Best practise for tempdb path is to not have it on same disk as user databases?  Is ok to have it on the same disk where I have the log-files? How do I move the tempdb?
0
Comment
Question by:syssju
3 Comments
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 24852851
ALTER DATABASE tempdb
MODIFY FILE (NAME = tempdb_Data, FILENAME = 'D:\SQLData\tempdb_Data.mdf');
ALTER DATABASE tempdb
MODIFY FILE (NAME = tempdb_Log, FILENAME = 'D:\SQLData\tempdb_Log.ldf');
0
 
LVL 60

Accepted Solution

by:
chapmandew earned 125 total points
ID: 24852853
How to move:http://www.databasejournal.com/welcomead/

Yes, it should be OK w/ the log files...would be better by itself, but better w/ the log files than the data files.
0
 

Author Closing Comment

by:syssju
ID: 31603422
thanks
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Powershell GUI pull downs populated by MS SQL table 2 35
SSIS On fail action 5 37
SQL Script to Remove Data from Two Joined Tables 1 19
sql, case when & top 1 14 24
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question