ORA-25307 ENQUEUE RATE TOO HIGH. ENABLE FLOW CONTROL

REFERENCE

STREAMS PROPAGATION ERROR: ORA-25307 ENQUEUE RATE TOO HIGH. ENABLE FLOW CONTROL

Applies to



10.2

Contents


PROBLEM

ORA-25307 "Enqueue rate too high. Enable flow control"

EXPLANATION

Flow control in 10g is automatically invoked by default.

DBA_QUEUE_SCHEDULES will display this informational message when the automatic flow control (10g feature of Streams) has been invoked.

This warning message typically occurs when the target site is unable to keep up with the rate of messages flowing from the source site. Although, this is a warning message, it is also a possible indication of another problem. Other than checking that the apply process is running normally on the target site, no action is required by the DBA. Propagation and the capture process will be resumed automatically when the target site is able to accept more messages. In some situations, propagation may become disabled (if the number of failures is 16). In these situations, the propagation can be re-enabled manually.

You can check the propagation using:

select schema,qname,destination,schedule_disabled,failures,last_error_msg

from dba_queue_schedules;

You can reschedule the propagation using DBMS_AQADM.SCHEDULE_PROPAGATION

10.2 Flow Control Query

 

COLUMN queue_schema FORMAT A12

COLUMN queue_name FORMAT A20

SELECT

queue_schema, queue_name, unbrowsed_msgs, overspilled_msgs,

memory_usage, publisher_state

FROM V$BUFFERED_PUBLISHERS;

 

NOTE: The Flow Control query will show:

  • the queue name and owner
  • the number of messages that have been enqueued, but not browsed
  • the number of messages that have been spilled, but not browsed
  • the percentage of the streams pool that is being used (or 0 if there is no streams pool)
  • the state of the publisher. Possible values are:

    • PUBLISHING MESSAGES (normal)
    • IN FLOW CONTROL: TOO MANY UNBROWSED MESSAGES
    • IN FLOW CONTROL: OVERSPILLED MESSAGES
    • IN FLOW CONTROL: INSUFFICIENT MEMORY AND UNBROWSED MESSAGES

This last column will really help to determine why flow control is being enabled for a system and what can be done to resolve the matter.

If the state is IN FLOW CONTROL: TOO MANY UNBROWSED MESSAGES, then you can run the following query to determine which subscriber is not dequeuing messages from the queue:

SELECT subscriber_name, cnum_msgs, total_dequeued_msg, total_spilled_msg

FROM V$BUFFERED_SUBSCRIBERS;

A comparison of the total number of messages enqueued for the subscriber

(CNUM_MSG) and the number of messages dequeued by that subscriber

(TOTAL_DEQUEUED_MSG) should indicate which subscriber has fallen behind.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/756652/viewspace-242480/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/756652/viewspace-242480/

1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合; 4、下载使用后,可先查看README.md或论文文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。 5、资源来自互联网采集,如有侵权,私聊博主删除。 6、可私信博主看论文后选择购买源代码。 1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合; 4、下载使用后,可先查看README.md或论文文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。 5、资源来自互联网采集,如有侵权,私聊博主删除。 6、可私信博主看论文后选择购买源代码。 1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合; 4、下载使用后,可先查看README.md或论文文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。 5、资源来自互联网采集,如有侵权,私聊博主删除。 6、可私信博主看论文后选择购买源代码。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值