Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

For sQL server 2008 R2 Analysis services, how can I move tempdb database files from one drive to another. At the time of installation, I didnt the seperate drive for tempdb. Now that I do have one, I need to move to the new drive.

Thanks!

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

You need to alter the location using ALTER DATABASE tempdb MODIFY FILE location and restart SQL Server. SQL Server will automatically create the tempdb in the new location but you may have to go to the old location to delete the (old) files.

See Moving the tempdb database in http://msdn.microsoft.com/en-us/library/ms345408.aspx

share|improve this answer
    
I want to move analysis services tempdb database not SQL server database engine. –  Manjot May 17 '11 at 21:26
    
Manjot, I don't work with Analysis services but I don't think Analysis services doesn't have a separate tempdb IIRC. –  Sankar Reddy May 17 '11 at 22:13
    
Thanks for clarifying –  Manjot May 17 '11 at 23:03
add comment

Connect to your Analysis Services server in SQL Management Studio. Right-click the server, then click Properties in the menu. In the Properties dialog, check the "Show Advanced (All) Properties" check box at the bottom of the list. Then, in the grid above that check box, set the location you want for SSAS TempDB in the "TempDir" setting.

You will have to restart SQL Server Analysis Services for the change to take effect.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.