All Products
Search
Document Center

PolarDB:USER_QUEUES

Last Updated:Mar 28, 2026

USER_QUEUES lists every queue on which the current user has usage privileges. Each row describes the operational characteristics of one queue: its type, retry policy, enqueue and dequeue status, message retention, and network placement.

Columns

ColumnTypeDescription
nameTEXTThe name of the queue.
queue_tableTEXTThe name of the queue table where the queue is stored.
qidOIDThe system-assigned object identifier of the queue.
queue_typeCHARACTER VARYINGThe type of the queue. Valid values: EXCEPTION_QUEUE, NON_PERSISTENT_QUEUE, and NORMAL_QUEUE.
max_retriesNUMERICThe maximum number of dequeue attempts.
retrydelayNUMERICThe maximum time allowed between retry attempts.
enqueue_enabledCHARACTER VARYINGYES if the queue accepts enqueue operations; NO if enqueuing is disabled.
dequeue_enabledCHARACTER VARYINGYES if the queue accepts dequeue operations; NO if dequeuing is disabled.
retentionCHARACTER VARYINGThe number of seconds a processed message is retained in the queue.
user_commentCHARACTER VARYINGThe user-defined comment associated with the queue.
network_nameCHARACTER VARYINGThe name of the network where the queue is located.
shardedCHARACTER VARYINGYES if the queue is on a sharded network; NO otherwise.