|
|
|
|
|
|
|
|
|
Re: tool to extract scn from datafile header [message #266086 is a reply to message #266055] |
Sun, 09 September 2007 10:31 |
mson77
Messages: 208 Registered: August 2007 Location: Brazil
|
Senior Member |
|
|
Hello orcl_dba,
SCN = SYSTEM change number
and... system means system... not tablespace/session/... neither datafile.
checkpoint (alter system checkpoint) ==> means checkpoint of the whole database... locks db until finished the checkpoint.
Quote: | Oracle Checkpoint
A checkpoint performs the following three operations:
1. Every dirty block in the buffer cache is written to the data files. That is, it synchronizes the datablocks in the buffer cache with the datafiles on disk.
It's the DBWR that writes all modified databaseblocks back to the datafiles.
2. The latest SCN is written (updated) into the datafile header.
3. The latest SCN is also written to the controlfiles.
The update of the datafile headers and the control files is done by the LGWR(CKPT if CKPT is enabled). As of version 8.0, CKPT is enabled by default.
|
Maybe are you talking about CKPT as below??
Quote: | Checkpoint Process (CKPT)
When a checkpoint occurs, Oracle must update the headers of all datafiles to record the details of the checkpoint. This is done by the CKPT process. The CKPT process does not write blocks to disk; DBWn always performs that work.
The statistic DBWR checkpoints displayed by the System_Statistics monitor in Enterprise Manager indicates the number of checkpoint requests completed.
|
Regarding Michel Cadot comment... what do you mean about "SCN of individual datafiles"?
Regards,
mson77
|
|
|