Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
119 views1 page

Oracle Checkpoint Logging Guide

Setting the initialization parameter log_checkpoints_to_alert to TRUE causes Oracle to write the SCN of each checkpoint and log switch to the alert.log file. This allows saving a history of checkpoint SCNs. An example shows setting the parameter to TRUE using an ALTER SYSTEM statement and the subsequent checkpoint and log switch messages written to the alert.log file including the SCNs.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
119 views1 page

Oracle Checkpoint Logging Guide

Setting the initialization parameter log_checkpoints_to_alert to TRUE causes Oracle to write the SCN of each checkpoint and log switch to the alert.log file. This allows saving a history of checkpoint SCNs. An example shows setting the parameter to TRUE using an ALTER SYSTEM statement and the subsequent checkpoint and log switch messages written to the alert.log file including the SCNs.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

log_checkpoints_to_alert Initialization Parameter

If you set the initialization parameter log_checkpoints_to_alert to TRUE, Oracle will write
the SCN of each checkpoint and a log switch to alert.log file. With this method you can save
history of checkpoint SCNs.

SQL> alter system set log_checkpoints_to_alert=true scope=both;

System altered.

After alter system checkpoint, contents of the alert.log file:

Fri Nov 19 15:47:32 2010


Beginning global checkpoint up to RBA [0x3.b3.10], SCN: 1410260
Completed checkpoint up to RBA [0x3.b3.10], SCN: 1410260

After alter system switch logfile, contents of the alert.log file:

Fri Nov 19 15:52:50 2010


Beginning log switch checkpoint up to RBA [0x4.2.10], SCN: 1410411

You might also like