Académique Documents
Professionnel Documents
Culture Documents
Administration Tips
10/17/2001
Administration Tips
I haven't mentioned one further complication: ARCH. If you are running your database in archivelog mode, then at every log switch not only do we have to checkpoint the log in the way I've described earlier, but ARCH also has to take a copy of the log file being switched away from. Copying takes time -and the log remains ACTIVE until the copy has completed... which means the 'LGWR hang' at a log switch can happen either because the Checkpoint's not complete or because ARCH hasn't finished doing its thing. In either case, the cure as already described -add more log groups so that you aren't trying to switch back to the first group before ARCH or CKPT has finished with it. Incidentally, as a general rule of thumb, ARCH takes three times as long to copy a filled log as LGWR took to fill it in the first place, and that usually means you want to start a database with at least 3 or 4 log groups. Then it's all just a question of monitoring the Alert Log to see whether there's a need to add extra groups, and whether such additions are sufficient in themselves to cure the loop-back problem (youll see messages about being unable to advance to log sequence xxx if you get it wrong).
10/17/2001
Page 2 of 2