Skip to Main Content

GoldenGate

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to handle advanced queues in a replication that uses GoldenGate?

Guilherme MesquitaFeb 23 2017 — edited Feb 24 2017

I understand that advanced queues currently aren't supported in OGG but there is an enhancement request for future support.

We are replicating multiple schemas, but need to handle AQ separately. As far as documented, in schema export mode advanced queue tables and all its dependencies are exported,

however, in table mode those queues dependencies have to be manually exported.

Now this next phase involves mapping queues and all its dependencies need to be mapped, but I'm not finding a consistent way to do that.

Already tried

- querying dba_queues (provides information on queue name and queue table).

- extract queue metadata through dbms_metadata (passing AQ_QUEUE and AQ_QUEUE_TABLE as types)

But those methods don't seem to provide a consistent way to detect queue underlying dependencies. Furthermore, the queues aren't following a naming convention, so I can't just

do a select ... like '%' and assume the resulting objects are the only ones to be exported.

What strategy can I use to find necessary information to safely export queues?

Another information is that all these queues are fully consumed every night, so would it be an option to just recreated the queues on the target database instead of doing export import?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 24 2017
Added on Feb 23 2017
3 comments
694 views