09.12.2012 Views

Advanced Queuing - Oracle

Advanced Queuing - Oracle

Advanced Queuing - Oracle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Security with 8.0-Style Queues<br />

Access to AQ Object Types<br />

<strong>Oracle</strong> 8.0-Style Queues<br />

Table 4–4 lists the AQ security features and privilege equivalences supported with<br />

8.0-style queues.<br />

Table 4–4 Security with 8.0.x-Style Queues<br />

Privilege<br />

8.0.x-Style Queues in an 8.0.x<br />

Database<br />

AQ_USER_ROLE Supported. The grantee is given the<br />

execute right of DBMS_AQ through the<br />

role.<br />

AQ_ADMINISTRATOR_<br />

ROLE<br />

Execute right on<br />

DBMS_AQ<br />

Supported. Supported.<br />

Execute right on DBMS_AQ should be<br />

granted to developers who write AQ<br />

applications in PL/SQL.<br />

The procedure grant_type_access was made obsolete in release 8.1.5 for<br />

8.0-style queues.<br />

LNOCI Application Access to 8.0-Style Queues<br />

For an OCI application to access an 8.0-style queue, the session user has to be<br />

granted the EXECUTE rights of DBMS_AQ.<br />

Pluggable Tablespaces and 8.0-Style Multiconsumer Queues<br />

A tablespace that contains 8.0-style multiconsumer queue tables should not be<br />

transported using the pluggable tablespace mechanism. The mechanism will work,<br />

however, with tablespaces that contain only single-consumer queues as well as 8.1<br />

compatible multiconsumer queues. Before you can export a tablespace in pluggable<br />

mode, you have to alter the tablespace to read-only mode. If you try to import a<br />

read-only tablespace that contains 8.0-style multiconsumer queues, you will get an<br />

<strong>Oracle</strong> error indicating that you cannot update the queue table index at import time.<br />

Autocommit Features in the DBMS_AQADM Package<br />

8.0.x Compatible Queues in a 8.1.x<br />

Database<br />

Supported. The grantee is given the<br />

execute right of dbms_aq through the<br />

role.<br />

Execute right on DBMS_AQ should be<br />

granted to developers who write AQ<br />

applications in PL/SQL.<br />

The autocommit parameters in the CREATE_QUEUE_TABLE, DROP_QUEUE_TABLE,<br />

CREATE_QUEUE, DROP_QUEUE, and ALTER_QUEUE calls of the DBMS_AQADM<br />

Managing AQ 4-17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!