Db2 operations executed by the DBA user in DevOps Experience
DevOps experiences can perform various Db2 operations by using the DBA user ID defined in configuration YAML files.
Notes:
- The DBA userid will always be used for subsystem discovery. Therefore, it requires the permissions listed for the 'Db2 subsystem discovery' row.
- If the DBA userid is overridden in the Subsystem registration page, the subsystem-specific DBA user is used.
- If the Register using my user id toggle is set to
Truefor subsystem registration, the logged-in user requires permissions listed in the 'Register a Db2 subsystem' row.
| Function | Primary authentication ID used for operation | Operation | Authorization |
|---|---|---|---|
| Db2 Subsystem discovery | DBA userid |
|
SELECT catalog tables from the list.
For details, refer to
|
| Register a Db2 subsystem (always runs along with Db2 subsystem discovery) | DBA userid OR logged in user |
|
SELECT the SYSIBM.SYSLEVELUPDATES. |
|
For details, refer to SET CURRENT SQLID statement. | ||
|
For details, refer to SET SCHEMA statement. | ||
|
For details, refer to CREATE DATABASE statement. | ||
|
For details, refer to CREATE TABLESPACE statement. | ||
|
For details, refer to CREATE TABLE statement. | ||
|
For details, refer to CREATE INDEX statement. | ||
(previously created) |
Ownership of the table. | ||
(previously created table) |
Ownership of the table. | ||
(on previously created table) |
For details, refer to CREATE VIEW statement. | ||
(previously created table) |
Ownership of the table. | ||
| Register a Db2 subsystem (always runs along with Db2 subsystem discovery) | DBA userid OR logged in user |
|
For details, refer to CREATE LOB TABLESPACE. |
|
For details, refer to CREATE AUXILIARY TABLE statement. | ||
|
For details, refer to CREATE VARIABLE statement. | ||
(on previously created table) |
Ownership of the table. | ||
(on previously created variable) |
Ownership of the table. | ||
|
For details, refer to CREATE GLOBAL TEMPORARY TABLE statement. | ||
|
For details, refer to CREATE PROCEDURE statement (external procedure). | ||
|
Ownership of the procedure.
For details, refer to GRANT statement (function or procedure privileges). |
||
|
For details, refer to GRANT statement (plan privileges). | ||
|
For details, refer to BIND PACKAGE subcommand (DSN). | ||
|
For details, refer to BIND PLAN subcommand (DSN). | ||
| Remove Db2 subsystem | DBA userid |
|
For details, refer to SET SCHEMA statement. |
|
For details, refer to SET CURRENT SQLID statement. | ||
(table created in register Db2 subsystem step) |
Ownership of the table.
For details, refer to ALTER TABLE statement. |
||
(table created in register Db2 subsystem step) |
Ownership of the procedure.
For details, refer to DROP statement. |
||
(TS created in register Db2 subsystem step) |
Ownership of the procedure.
For details, refer to DROP statement. |
||
(DB created in register Db2 subsystem step) |
Ownership of the procedure.
For details, refer to DROP statement. |
||
(procedure created in register Db2 subsystem step) |
Ownership of the procedure. | ||
|
Ownership of the procedure.
For details, refer to DROP statement. |
||
|
For details, refer to FREE PACKAGE subcommand (DSN). | ||
| Register an application | DBA userid |
|
SELECT catalog tables from the list.
For details, refer to
|
| Provision an instance, Create snapshot, Restore snapshot | DBA userid |
|
SELECT catalog tables from the list.
For details, refer to
|
|
For details, refer to SET CURRENT SQLID statement. | ||
|
For details, refer to CREATE DATABASE statement. | ||
|
For details, refer to GRANT statement. | ||
|
For details, refer to GRANT statement. | ||
|
For details, refer to GRANT statement. | ||
|
For details, refer to GRANT statement. | ||
(privileges on DB created above to members of a team) |
Ownership of the database. | ||
|
For details, refer to SET SCHEMA statement. | ||
|
Migrate data for provisioned objects. | ||
| Deprovision an instance | DBA userid |
|
SELECT catalog tables from the list.
For details, refer to
|
|
For details, refer to DROP statement. | ||
| Add/remove user to a team, which has provisioned instance | DBA userid |
|
SELECT catalog tables from the list.
For details, refer to
|
|
For details, refer to SET CURRENT SQLID statement. | ||
|
For details, refer to GRANT statement. | ||
|
For details, refer to GRANT statement. | ||
|
For details, refer to GRANT statement. | ||
|
For details, refer to GRANT statement. | ||
|
For details, refer to GRANT statement. | ||
|
For details, refer to Revoking privileges with the REVOKE statement. | ||
|
For details, refer to Revoking privileges with the REVOKE statement. | ||
| Add object to instance | DBA userid |
|
SELECT catalog tables from the list.
For details, refer to
|
|
For details, refer to CREATE DATABASE statement. | ||
| Apply object changes | DBA userid |
|
SELECT catalog tables from the list.
For details, refer to
|
|
For details, refer to ALTER TABLE statement. | ||
|
For details, refer to DROP statement. | ||
|
For details, refer to CREATE TABLE statement. | ||
|
Unload and reload data for objects that undergo complex changes. | ||
|
For details, refer to Db2 online utilities. | ||
| Merge | DBA userid |
|
SELECT catalog tables from the list.
For details, refer to
|
|
For details, refer to ALTER TABLE statement. | ||
|
For details, refer to DROP statement. | ||
|
For details, refer to CREATE TABLE statement. | ||
|
For details, refer to GRANT statement. | ||
|
For details, refer to GRANT statement. | ||
|
For details, refer to GRANT statement. | ||
|
For details, refer to GRANT statement. | ||
| Update instance from source | DBA userid |
|
SELECT catalog tables from the list.
For details, refer to
|
|
For details, refer to DROP statement. | ||
|
For details, refer to CREATE TABLE statement. |