Oracle database privileges
Set database privileges to determine the authority that you must have to create or access your data store tables for Oracle databases.
When you create database schemas using the typical installation or database scripts that are generated using the BPMConfig command-line utility, your user ID must have the authority to create tables. When the tables are created, you must have the authority to select, insert, update, and delete information in the tables.
| Minimum privileges that are required to create objects in the database | Minimum privileges that are required to access objects in the database |
|---|---|
| The user ID needs sufficient privilege to create relational tables and indexes in the data store schema. The database also needs a space quota in the default table space of the owner of that schema. | The user ID needs the SESSION privilege
to connect to the database. If the same user ID owns both the data
store schema and the component that is connecting to the database,
the user ID has sufficient privilege to manipulate the tables. Otherwise,
the user ID needs SELECT, INSERT, UPDATE, ALTER, and DELETE object
privileges on the tables that make up the data store, and the DROP
ANY TABLE system privilege to enable the use of the TRUNCATE TABLE
statement. The user ID also requires the CREATE INDEX privilege. See the following table for detailed Oracle database privileges for IBM® Business Process Manager and WebSphere® Enterprise Service Bus components. |
| Component | Installation privileges | Runtime privileges |
|---|---|---|
| Common DB | The following privileges are for the situation when a DBA creates users and all the database objects for those users. The DBA requires the following privileges: CREATE USER, ALTER USER, CREATE ANY TABLE, ALTER ANY TABLE, DROP ANY TABLE, SELECT ANY TABLE, UPDATE ANY TABLE, INSERT ANY TABLE, DELETE ANY TABLE, CREATE ANY INDEX, DROP ANY INDEX, CREATE ANY VIEW, DROP ANY VIEW, CREATE ANY PROCEDURE, DROP ANY PROCEDURE, CREATE ANY SEQUENCE The following privileges are for the situation when a DBA has created a Common DB user and that user creates the database objects, owns them, and uses them at runtime: CREATE TABLE, CREATE VIEW, CREATE PROCEDURE, CREATE SEQUENCE |
The following privileges are for the situation when a DBA has created a Common DB user and that user creates the database objects, owns them, and uses them at runtime. explicit privileges: CREATE PROCEDURE CREATE VIEW implicit privileges (included in the ownership of the database objects): SELECT INSERT UPDATE DELETE The runtime user must have USAGE ON SEQUENCE privileges on all sequences in the createSchema_*.sql script for the common DB. |
| Business Space | The following privileges are for the situation when a DBA creates users and all the database objects for those users. The DBA requires the following privileges: CREATE USER, ALTER USER, CREATE ANY TABLE, ALTER ANY TABLE, DROP ANY TABLE, SELECT ANY TABLE, UPDATE ANY TABLE, INSERT ANY TABLE, DELETE ANY TABLE, CREATE ANY INDEX, DROP ANY INDEX, CREATE ANY VIEW, DROP ANY VIEW, CREATE ANY PROCEDURE, DROP ANY PROCEDURE The following privileges are for the situation when a DBA has created a Business Space user and that user creates the database objects, owns them, and uses them at runtime: CREATE TABLE, CREATE VIEW, CREATE PROCEDURE |
The following privileges are for the situation when a DBA has created a Business Space user and that user creates the database objects, owns them, and uses them at runtime. explicit privileges: CREATE PROCEDURE CREATE VIEW implicit privileges (included in the ownership of the database objects): SELECT INSERT UPDATE DELETE |
| Business Process Choreographer | The following privileges are for the situation when a DBA creates users and all the database objects for those users. The DBA requires the following privileges: CREATE USER, ALTER USER, CREATE TABLESPACE, CREATE ANY TABLE, ALTER ANY TABLE, DROP ANY TABLE, SELECT ANY TABLE, UPDATE ANY TABLE, INSERT ANY TABLE, DELETE ANY TABLE, CREATE ANY INDEX, DROP ANY INDEX, CREATE ANY VIEW, DROP ANY VIEW, CREATE ANY PROCEDURE, DROP ANY PROCEDURE The following privileges are for the situation when a DBA has created a Business Process Choreographer user and that user creates the database objects, owns them, and uses them at runtime: CREATE TABLE, CREATE VIEW, CREATE PROCEDURE. |
The following privileges are for the situation when a DBA has created a Business Process Choreographer user and that user creates the database objects, owns them, and uses them at runtime. explicit privileges: CREATE PROCEDURE CREATE VIEW implicit privileges (included in the ownership of the database objects): SELECT INSERT UPDATE DELETE |
| Messaging Engines | The following privileges are for the situation when a DBA creates users and all the database objects for those users. The DBA requires the following privileges: CREATE USER, ALTER USER, CREATE ANY TABLE, ALTER ANY TABLE, DROP ANY TABLE, SELECT ANY TABLE, UPDATE ANY TABLE, INSERT ANY TABLE, DELETE ANY TABLE, CREATE ANY INDEX, DROP ANY INDEX The following privileges are for the situation when a DBA has created a Messaging Engines user and that user creates the database objects, owns them, and uses them at runtime: CREATE TABLE |
The following privileges are for the situation when a DBA has created a Messaging Engines user and that user creates the database objects, owns them, and uses them at runtime. explicit privileges: DROP ANY TABLE implicit privileges (included in the ownership of the database objects): SELECT INSERT UPDATE DELETE Tip: Messaging Engines use the TRUNCATE TABLE SQL statement,
which might require the DROP ANY TABLE privilege. See Database privileges. If you prefer not to
give the user this privilege, you can avoid it, at a performance cost,
by using tuning. See Database privileges in WebSphere Application Server.
|
| Process Server | The following privileges are for the situation when a DBA creates users and all the database objects for those users. The DBA requires the following privileges: CREATE USER, ALTER USER, CREATE TABLESPACE, CREATE ANY TABLE, ALTER ANY TABLE, DROP ANY TABLE, SELECT ANY TABLE, UPDATE ANY TABLE, INSERT ANY TABLE, DELETE ANY TABLE, LOCK ANY TABLE, CREATE ANY INDEX, DROP ANY INDEX, CREATE ANY VIEW, DROP ANY VIEW, CREATE ANY PROCEDURE, DROP ANY PROCEDURE, CREATE ANY SEQUENCE, DROP ANY SEQUENCE The following privileges are for the situation when a DBA has created a Process Server user and that user creates the database objects, owns them, and uses them at runtime. explicit privileges: CREATE TABLE, CREATE PROCEDURE, CREATE SEQUENCE, CREATE VIEW implicit privileges (included in the ownership of the database objects): INSERT, UPDATE, DELETE , ALTER, DROP |
The following privileges are for the situation when a DBA created a Process Server user and that user creates the database objects, owns them, and uses them at runtime. explicit privileges: CREATE TABLE CREATE PROCEDURE CREATE SEQUENCE CREATE VIEW implicit privileges (included in the ownership of the database objects): SELECT INSERT UPDATE DELETE |
| Performance Data Warehouse | The following privileges are for the situation when a DBA creates users and all the database objects for those users. The DBA requires the following privileges: CREATE USER, ALTER USER, CREATE TABLESPACE, CREATE ANY TABLE, ALTER ANY TABLE, DROP ANY TABLE, SELECT ANY TABLE, UPDATE ANY TABLE, INSERT ANY TABLE, DELETE ANY TABLE, LOCK ANY TABLE, CREATE ANY INDEX, DROP ANY INDEX, CREATE ANY VIEW, DROP ANY VIEW, CREATE ANY PROCEDURE, DROP ANY PROCEDURE, CREATE ANY SEQUENCE, DROP ANY SEQUENCE The following privileges are for the situation when a DBA has created a Performance Data Warehouse user and that user creates the database objects, owns them, and uses them at runtime. explicit privileges: CREATE TABLE, CREATE PROCEDURE, CREATE SEQUENCE, CREATE VIEW implicit privileges (included in the ownership of the database objects): INSERT, UPDATE, DELETE, ALTER, DROP |
The following privileges are for the situation when a DBA created a Performance Data Warehouse user and that user creates the database objects, owns them, and uses them at runtime. explicit privileges: CREATE TABLE CREATE PROCEDURE CREATE SEQUENCE CREATE VIEW implicit privileges (included in the ownership of the database objects): SELECT INSERT UPDATE DELETE All
schemas or users that are creating or migrating IBM BPM profiles must
have access to the DBMS_LOCK package. Set the Execute permission
on the DBMS_LOCK package for the Oracle user or schema
that is using the performance database as shown in the following example:
In
this example, schema_name is the user ID that is
used for the performance database. |
| IBM BPM document store |
When you configure your database for the IBM BPM document store, a database capability that is named EmbeddedECM is used. The privileges listed for the IBM BPM content store are required for the database in the property file containing the EmbeddedECM capability. |
For information about assigning rights to an Oracle user, see the topic Creating users for Oracle databases before typical installation on Linux. For information about recovering Oracle database transactions, see the topic Configuring XA transactions for Oracle before typical installation on Linux.
