patternMinor
Oracle AQ: History Table for Queue Table
Viewed 0 times
historyfororaclequeuetable
Problem
Is there a way to create a history table for a queue table, that will store all the events of the queues, for a defined period of time ?
Solution
It seems likely to me that you could use the retention property of the queue to do this. See http://docs.oracle.com/cd/B10500_01/appdev.920/a96587/qsample.htm#158007 and also dbms_aqadm.alter_queue for details. If you really need a separate table then how about creating a multiple subscriber queue and creating an audit subscription that populates the history table. I'd use built in functionality first.
Context
StackExchange Database Administrators Q#8645, answer score: 5
Revisions (0)
No revisions yet.