dbTalk Databases Forums  

What else will cause the SCN to increment?

comp.databases.oracle.server comp.databases.oracle.server


Discuss What else will cause the SCN to increment? in the comp.databases.oracle.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Peter
 
Posts: n/a

Default What else will cause the SCN to increment? - 06-26-2003 , 03:57 AM






Beside the "commit" statement, what else will cause the SCN to
increment?


Thanks


Reply With Quote
  #2  
Old   
Steve Adams
 
Posts: n/a

Default Re: What else will cause the SCN to increment? - 06-26-2003 , 05:22 AM






Hi Peter,

Other than explicit COMMIT statements, there are also implicit commits
associated with service transactions, recursive transactions and the
timeout actions of some of the background processes.

Beyond that, if more than 253 changes are applied to a block at the
same SCN then the SCN must be incremented to allow the sequence number
in the cache layer header of the block to wrap.

If 'log_parallelism' is set to something greater than 1, then the SCN
is incremented by LGWR on *every* write.

In OPS/RAC the SCN may be forced higher in relatively idle instances to
protect recovery.

Opening a database also increments the SCN.

There are probably other cases that I am not aware of.

@ Regards,
@ Steve Adams
@ http://www.ixora.com.au/ For DBAs
@ http://www.christianity.net.au/ For all


On 2003.06.26 18:57, Peter wrote:
Quote:
Beside the "commit" statement, what else will cause the SCN to
increment?

Reply With Quote
  #3  
Old   
Hemant K Chitale
 
Posts: n/a

Default Re: What else will cause the SCN to increment? - 06-26-2003 , 10:23 AM




Distributed Database Transactions, as well -- the highest SCN
of the databases in the transaction is used.
Hemant

Steve Adams wrote:
Quote:
Hi Peter,

Other than explicit COMMIT statements, there are also implicit commits
associated with service transactions, recursive transactions and the
timeout actions of some of the background processes.

Beyond that, if more than 253 changes are applied to a block at the
same SCN then the SCN must be incremented to allow the sequence number
in the cache layer header of the block to wrap.

If 'log_parallelism' is set to something greater than 1, then the SCN
is incremented by LGWR on *every* write.

In OPS/RAC the SCN may be forced higher in relatively idle instances to
protect recovery.

Opening a database also increments the SCN.

There are probably other cases that I am not aware of.

@ Regards,
@ Steve Adams
@ http://www.ixora.com.au/ For DBAs
@ http://www.christianity.net.au/ For all

On 2003.06.26 18:57, Peter wrote:
Beside the "commit" statement, what else will cause the SCN to
increment?

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.