Solved

tempdb in sql server 2008 path

Posted on 2009-07-14
3
232 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

749 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