?
Solved

tempdb in sql server 2008 path

Posted on 2009-07-14
3
Medium Priority
?
234 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 375 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 Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Suggested Courses

777 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