Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I move tempdb off of the Master Device?

device master tempdb
0
Posted

How do I move tempdb off of the Master Device?

0

——————————————————————————- There used to be a section in the FAQ describing how to drop all of tempdb’s devices physically from the master device. This can make recovery of the server impossible in case of a serious error and so it strongly recommended that you do not do this but simply drop the segments as outlined below. Sybase TS Preferred Method of Moving tempdb off the Master Device. This is the Sybase TS method of removing most activity from the master device: 1. Alter tempdb on another device: 1> alter database tempdb on … 2> go 2. Use the tempdb: 1> use tempdb 2> go 3. Drop the segments: 1> sp_dropsegment “default”, tempdb, master 2> go 1> sp_dropsegment “logsegment”, tempdb, master 2> go 1> sp_dropsegment “system”, tempdb, master 2> go Note that there is still some activity on the master device. On a three connection test that I ran: while ( 1 = 1 ) begin create table #x (col_a int) drop table #x end there was one write pe

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123