The DBMS_APPLICATION_INFO package is used to register application names in the database for auditing or performance tracking.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support this feature.
Privilege requirements
You do not need any special privileges to use the DBMS_APPLICATION_INFO package. When an application registers with the database, its name and actions are recorded in the GV$OB_PROCESSLIST view.
Subprograms
The following table lists the DBMS_APPLICATION_INFO subprograms supported in the current version of OceanBase Database and their brief descriptions.
| Subprogram | Description |
|---|---|
| READ_CLIENT_INFO | Reads the value of the client_info field for the current session. |
| READ_MODULE | Reads the value of the module and action fields for the current session. |
| SET_ACTION | Sets the name of the current operation in the current module. |
| SET_CLIENT_INFO | Sets additional information for the client application. |
| SET_MODULE | Sets the name of the current module to a new module. |
