![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I haven't touched SQL Servers for some time, so please bear with me: I need to perform a series of hugest operations on our 24/7 database - basically cleaning it. In Oracle it could be done via a loop, where a fixed number of records gets processed with commit in the end of each round. Everyone's similing. In Sybase we have an extra problem with the log segment getting full, which is not good for a live database. To make matters worse, my database also has a warm standby established via a rep.server. |
#3
| |||
| |||
|
|
I haven't touched SQL Servers for some time, so please bear with me: I need to perform a series of hugest operations on our 24/7 database - basically cleaning it. a) Switch on 'truncate log on checkpoint' b) Set the loop with commit. After each commit do a checkpoint c) Run the process, then bring the truncate on checkpoint switch back to 'off' Didn't work. Log still fills and suspends the transaction. Plus I'm not sure if the manipulations with the switches & checkpoints will keep the standby in a valid state. |
#4
| |||
| |||
|
|
I need to perform a series of hugest operations on our 24/7 database - basically cleaning it. In Sybase we have an extra problem with the log segment getting full, which is not good for a live database. To make matters worse, my database also has a warm standby established via a rep.server. |
![]() |
| Thread Tools | |
| Display Modes | |
| |