Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can two transactions share the same SCN?

JSapkotaFeb 25 2016 — edited Feb 25 2016

Do all transactions have a unique SCN? Can two transactions share an SCN?

I'm confused by this statement in the Oracle Golden Gate manual:

The CSN is cross-checked with the transaction ID (displayed as XID in Oracle GoldenGate informational output). The XID-CSN combination uniquely identifies a transaction even in cases where there are multiple transactions that commit at the same time, and thus have the same CSN. For example, this can happen in an Oracle RAC environment, where there is parallelism and high transaction concurrency.

https://docs.oracle.com/goldengate/1212/gg-winux/GWUAD/wu_csn.htm#GWUAD752

Table D-1 in that document identifies the GoldenGate CSN as being the Oracle DB SCN:

Oracle GoldenGate CSN Values Per Database  Oracle:  system_change_number Where:  system_change number is the Oracle SCN value.
This post has been answered by unknown-7404 on Feb 25 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 24 2016
Added on Feb 25 2016
5 comments
1,262 views