Could somebody please tell me how I can remove a data device that is used by
the Tempdb?
I am running SQL Server 6.5 sp3.
Thanks
Laphan
I am running SQL Server 6.5 sp3.
Thanks
Laphan
Q. How do I remove the tempdb database from master/default devices?Quote:> Could somebody please tell me how I can remove a data device that is used by
> the Tempdb?
A. Do the following for SQL 6.5 and below
1. Configure tempdb to be in RAM for 2 MB. Use SQL EM or sp_configure.
2. Stop and restart SQL Server.
3. Add a new device for tempdb. Do not call it temp_db - any other name
should be ok
4. Make that new device a 'default' device; make sure no other device is
marked as default, especially master. You can check/change default status
either using SQL EM, or the sp_diskdefault stored-procedure. Both are fully
described in the books-online.
5. Configure tempdb to NOT be in RAM (set value to 0)
6. Stop and restart SQL Server
7. Re-mark whichever device(s) you want to be default.
For SQL 7.0 :-
1. alter database tempdb alter file <logicalname> filename = <newlocation>
...
2. Stop and restart Sql Server
Neil Pike MVP/MCSE. Protech Computing Ltd
(Please post ALL replies to the newsgroup only unless indicated otherwise)
For SQL FAQ entries see
http://go.compuserve.com/sqlserver (library 1) - latest stuff is always here
www.ntfaq.com/sql.html
http://www.swynk.com/faq/sql/sqlserverfaq.asp
Could somebody please tell me how I can remove a data device that is used by
the Tempdb?
I am running SQL Server 6.5 sp3.
Thanks
Laphan
4. Can't drop device from tempdb
6. i'dont know the device sizes, I've data device & log device , how to get data back to a new database
7. APPLET -> HTML, is it possible ?
8. changing tempdb device to log & data
9. tempdb data and log on separate devices
10. Removing tempdb data device