zl程序教程

您现在的位置是:首页 >  数据库

当前栏目

Oracle 视图 ALL_QUEUES 官方解释,作用,如何使用详细说明

Oracle官方 使用 如何 详细 作用 说明 解释
2023-06-13 09:11:10 时间
本站中文解释

ALL_QUEUES 视图返回在当前用户的模式中的所有队列定义的信息。ALL_QUEUES 视图是使用 Data Control Language (DCL) 语句创建或管理数据库对象的一个有用工具。

使用 ALL_QUEUES 视图的方法如下:

1.查询所有的队列定义:
SELECT * FROM all_queues;

2.检查给定的队列是否存在:
SELECT * FROM all_queues
WHERE name = QUEUE_NAME

3.检查给定名称的队列是否与给定注释一致:
SELECT * FROM all_queues
WHERE name = QUEUE_NAME
AND COMMENTS = QUEUE COMMENT

4.检索队列拥有哪些属性:
SELECT name, max_retries, retention
FROM all_queues
WHERE name = QUEUE_NAME

官方英文解释 ALL_QUEUES describes all queues on which the current user has enqueue or dequeue privileges. If the user has any Advanced Queuing system privileges, like MANAGE ANY QUEUE, ENQUEUE ANY QUEUE or DEQUEUE ANY QUEUE, then this view describes all queues in the database.

USER_QUEUES describes the operational characteristics of every queue owned by the current user. This view does not display the OWNER column.


Time interval (in seconds) processed messages are retained in the queue, or FOREVER


Oracle Database Advanced
Queuing User s Guide for more information Advanced Queuing


我想要获取技术服务或软件
服务范围:MySQL、ORACLE、SQLSERVER、MongoDB、PostgreSQL 、程序问题
服务方式:远程服务、电话支持、现场服务,沟通指定方式服务
技术标签:数据恢复、安装配置、数据迁移、集群容灾、异常处理、其它问题

本站部分文章参考或来源于网络,如有侵权请联系站长。
数据库远程运维 Oracle 视图 ALL_QUEUES 官方解释,作用,如何使用详细说明