- 论坛徽章:
- 1
|
请教win2000 server 上sybase11.5备份日志出错
1 Run dbcc checktable (syslogs) to determine which page is currently in use.
2 Execute enough transactions to fill the extent currently in use. The following commands will fill at least one extent on the log (8 pages):
1>; create table dummy1 (c1 char(255), c2 char(255))
2>; go
1>; insert dummy1 values ("a", "a"
2>; go 16
1>; drop table dummy1
2>; go
3 Make sure that there are no currently active transactions on the database device, then run dump transaction with truncate_only.
Note If an active transaction causes a begin tran to be written onto the log pages in question, a transaction dump will not be able to truncate those pages. This is why you should avoid having activity on the device while you migrate the log off the data segment.
4 Run the system procedure sp_helplog to ensure that the complete log is on the new device
这是从sybase的手册上抄的,你试试。 |
|