Solved

tempdb in sql server 2008 path

Posted on 2009-07-14
3
228 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

786 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