SYBASE 移动日志文件到其他的设备
Moving the transaction log to another device1> alter database dbname log on device19 = 10
1> sp_logdevice dbname, device19
The last-chance threshold for database dbname is now 1232 pages.
... sql inserts, to fill old log segment ...
1> dump tran dbname with truncate_only
1> sp_helplog dbname
2> go
In database 'dbname', the log starts on device 'device19'.
(return status = 0)
1>
未测试,版本未知。 那里找来的? 当然GG来的了,我还没需要去弄这个。
页:
[1]