Skip to Main Content

Database Software

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!

Unconditional vs Conditional logging

545707Nov 21 2006 — edited Nov 22 2006
Conditional = supplemental columns before image is logged if supplemental columns changed

Unconditional = before image of supplemental columns always logged.

"Primary key columns must be unconditionally logged, but unique index and foreign key columns can be conditionally logged. In some cases, supplemental logging is required for additional columns in a table. For example, any columns specified in rule-based transformations or used within DML handlers must be unconditionally logged at the source database."

I'm interrupting this to mean that if I was doing a simple replication, unconditional of the PK is all I need. If I'm doing selective replication when x changes then I need to do additional unconditional logging of x?

There also seems to be complex rules around conditional logging based on parallelism at the apply side and FK's, UK's, bitmaps, etc.

Am I correct in how I'm reading this?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 20 2006
Added on Nov 21 2006
3 comments
1,261 views