Setting Up
In order to administer AQ streams, you must be granted appropriate privileges to enqueue, dequeue, and manage queues.
The following Oracle user privileges are required to use this functionality:
-
To Create, Drop or Monitor your own Queues
You must be granted
EXECUTE
rights onDBMS_AQADM
. -
To Create, Drop or Monitor any Queues
You must be granted
EXECUTE
rights onDBMS_AQADM
and be grantedAQ_ADMINISTRATOR_ROLE
by another user who has been granted this role (SYS
andSYSTEM
are the granters ofAQ_ADMINISTRATOR_ROLE
). -
To
ENQUEUE
orDEQUEUE
your own queuesYou must be granted
EXECUTE
rights onDBMS_AQ
.
You can use grant Grant/Revoke Privileges Dialog to achieve this.
See Also:
Grant/Revoke Privileges Dialog | Chapter 9 in Oracle® Streams Concepts and Administration