A Required Privileges for Cache Administration User for Cache Operations
The privileges that the cache administration users require depends on the types of cache groups you create and the operations that you perform on the cache groups.
The privileges required for the Oracle cache administration user are listed in the first column and the privileges required for the TimesTen cache administration user for each cache operation are listed in the second column in Table A-1.
Note that the CACHE_MANAGER
privilege confers these privileges:
-
CREATE ANY CACHE GROUP
-
ALTER ANY CACHE GROUP
-
DROP ANY CACHE GROUP
-
FLUSH ANY CACHE GROUP
-
LOAD ANY CACHE GROUP
-
UNLOAD ANY CACHE GROUP
-
REFRESH ANY CACHE GROUP
-
FLUSH
(object) -
LOAD
(
object)
-
UNLOAD
(
object)
-
REFRESH
(
object)
The CACHE_MANAGER
privilege also includes the ability to start and stop the cache agent and the replication agent.
See Privilege Hierarchy in the Oracle TimesTen In-Memory Database SQL Reference.
Table A-1 Oracle Database and TimesTen User Privileges Required for Cache Operations
Cache Operation | Privileges Required for Oracle Database Cache Administration User(1) | Privileges Required for TimesTen Cache Administration User(2) |
---|---|---|
Minimum privileges required |
At minimum, the Oracle cache administration user must
have the |
At minimum, the TimesTen cache administration user must
have the |
Initialize the Oracle cache administration user with the
|
|
None |
Initialize the Oracle cache administration user with the
|
|
None |
Set the Oracle cache administration user or TimesTen cache administration user name and password:
|
Requires access to the default tablespace on the Oracle database. See Create the Oracle Database Users and Default Tablespace. |
Requires access to the default tablespace on the Oracle database. See Create the Oracle Database Users and Default Tablespace. |
Get the Oracle cache administration user or TimesTen cache administration user name with either:
|
None |
|
Start the cache agent with either:
|
|
|
Stop the cache agent
|
None |
|
In TimesTen Classic, set a cache agent start policy with either:
|
|
|
In TimesTen Classic, return the cache agent start policy setting:
|
|
None |
In TimesTen Classic, start the replication agent with either:
|
None |
|
In TimesTen Classic, stop the replication agent with either:
|
None |
|
In TimesTen Classic, set a replication agent start policy
|
None |
|
In TimesTen Classic, when the cache group created is an AWT cache group |
Creating a cache group requires access to the default tablespace on the Oracle database. See Create the Oracle Database Users and Default Tablespace. |
Creating a cache group requires access to the default tablespace on the Oracle database. See Create the Oracle Database Users and Default Tablespace. |
In TimesTen Classic, duplicate the database with |
|
None |
|
Creating a cache group requires access to the default tablespace on the Oracle database. See Create the Oracle Database Users and Default Tablespace. |
Creating a cache group requires access to the default tablespace on the Oracle database. See Create the Oracle Database Users and Default Tablespace. |
In TimesTen Classic, |
Creating a cache group requires access to the default tablespace on the Oracle database. See Create the Oracle Database Users and Default Tablespace. |
Creating a cache group requires access to the default tablespace on the Oracle database. See Create the Oracle Database Users and Default Tablespace. |
In TimesTen Classic, |
Creating a cache group requires access to the default tablespace on the Oracle database. See Create the Oracle Database Users and Default Tablespace. |
Creating a cache group requires access to the default tablespace on the Oracle database. See Create the Oracle Database Users and Default Tablespace. |
In TimesTen Classic, |
Creating a cache group requires access to the default tablespace on the Oracle database. See Create the Oracle Database Users and Default Tablespace. |
Creating a cache group requires access to the default tablespace on the Oracle database. See Create the Oracle Database Users and Default Tablespace. |
In TimesTen Classic, (see variants in following rows) |
Creating a cache group requires access to the default tablespace on the Oracle database. See Create the Oracle Database Users and Default Tablespace. |
Creating a cache group requires access to the default tablespace on the Oracle database. See Create the Oracle Database Users and Default Tablespace. |
In TimesTen Classic, |
Creating a cache group requires access to the default tablespace on the Oracle database. See Create the Oracle Database Users and Default Tablespace. |
Creating a cache group requires access to the default tablespace on the Oracle database. See Create the Oracle Database Users and Default Tablespace. |
In TimesTen Classic, |
Creating a cache group requires access to the default tablespace on the Oracle database. See Create the Oracle Database Users and Default Tablespace. |
Creating a cache group requires access to the default tablespace on the Oracle database. See Create the Oracle Database Users and Default Tablespace. |
In TimesTen Classic, |
Creating a cache group requires access to the default tablespace on the Oracle database. See Create the Oracle Database Users and Default Tablespace. |
Creating a cache group requires access to the default tablespace on the Oracle database. See Create the Oracle Database Users and Default Tablespace. |
In TimesTen Classic, |
Creating a cache group requires access to the default tablespace on the Oracle database. See Create the Oracle Database Users and Default Tablespace. |
Creating a cache group requires access to the default tablespace on the Oracle database. See Create the Oracle Database Users and Default Tablespace. |
|
|
|
|
|
|
|
|
|
In TimesTen Classic, |
|
|
In TimesTen Classic, |
|
|
|
|
|
|
|
For TimesTen Scaleout:
|
|
|
For TimesTen Scaleout:
|
|
|
|
|
None |
|
|
|
|
In TimesTen Classic, synchronous writethrough or propagate |
|
|
In TimesTen Classic, asynchronous writethrough |
|
|
In TimesTen Classic, asynchronous writethrough when the |
Note: This privilege is an addition to the privileges needed for any asynchronous writethrough cache group. |
None |
In TimesTen Classic, asynchronous writethrough cache for Oracle Database
|
Note: This privilege is an addition to the privileges needed for any asynchronous writethrough cache group. |
None |
Incremental autorefresh |
|
None |
Full autorefresh |
|
None |
In TimesTen Classic, dynamic load |
|
|
In TimesTen Classic, aging |
None |
|
In TimesTen Classic, set the LRU aging attributes
|
None |
|
Generate Oracle Database SQL statements to manually install or uninstall Oracle Database objects
|
|
|
In TimesTen Classic, disable or enable propagation of committed cache table updates to the Oracle database
|
None |
|
Configure cache agent timeout and recovery method for cache groups with autorefresh
|
|
|
In TimesTen Classic, set the AWT transaction log file threshold
|
None |
|
In TimesTen Classic, enable or disable monitoring of AWT cache groups
|
None |
|
Enable or disable tracking of DDL statements issued on cached Oracle Database tables
|
|
|
Footnote 1 At minimum, the Oracle cache administration user must have the CREATE TYPE privilege.
Footnote 2 At minimum, the TimesTen cache administration user must have the CREATE SESSION privilege.
Footnote 3
If the Oracle cache administration user will not
create cache groups with autorefresh, then you can grant the
CREATE TRIGGER
privilege instead of the
CREATE ANY TRIGGER
privilege.
Footnote 4
Required if the cache agent start policy is being set to always
or norestart
.
Footnote 5
Required on all Oracle Database tables cached in the TimesTen cache group except for tables owned by the Oracle cache administration user.
Footnote 6
The CACHE_MANAGER
privilege includes the CREATE [ANY] CACHE
GROUP
privilege. ANY
is
required if the TimesTen cache administration user creates
cache groups owned by a user other than itself.
Footnote 7
ANY
is required if any of the cache tables are owned by a user
other than the TimesTen cache administration user.
Footnote 8
Required if the cache group's autorefresh mode is incremental and initial autorefresh state is OFF
, and the Oracle Database objects used to manage the caching of Oracle Database data are automatically created.
Footnote 9
Required if the TimesTen user accessing the cache group does not own the cache group.
Footnote 10
Required if the cache group's autorefresh mode is incremental.
Footnote 11
Required if the TimesTen user accessing the cache group does not own all its cache tables.
Footnote 12
The privilege must be granted to the Oracle Database user with the same name as the TimesTen cache administration user if the Oracle Database user is not the Oracle cache administration user.
Footnote 13
Required if the TimesTen user accessing the cache table does not own the table.