ORA-24058: cannot downgrade QUEUE_TABLE that has propagation in a prepared state

文档解释

ORA-24058: cannot downgrade QUEUE_TABLE that has propagation in a prepared state

Cause: An attempt was made to downgrade the queue table when there were messages being propagated that were in the prepared state.

Action: Wait for the propagation to complete before retrying the operation.

ORA-24058错误是Oracle给出的一个异常码,表明队列表含有已准备好传播的队列,或者在队列表上已设置监听。当开发者试图通过ALTER QUEUE TABLE语句对队列表进行降级时,系统会报告此种错误。

官方解释

常见案例

一般处理方法及步骤

1.使用DBMS_AQADM.STOP_QUEUE()停止队列表上的传播或监听。

2.使用AQADM.DROP_QUEUE()为队列表中的所有队列删除传播或监听。

3.使用ALTER QUEUE TABLE语句降级队列表的版本。

4.使用AQADM.START_QUEUE()重新启动已停止的传播或监听。

你可能感兴趣的