Note
This view is available starting with V4.0.0.
Purpose
This view displays the information about the concurrency limit rules of the current tenant.
Columns
| Column | Type | Nullable | Description |
|---|---|---|---|
| CREATE_TIME | TIMESTAMP(6) | NO | The timestamp when the rule was created. |
| MODIFY_TIME | TIMESTAMP(6) | NO | The timestamp when the rule was last modified. |
| TENANT_ID | NUMBER(38) | NO | The tenant ID. |
| DATABASE_ID | NUMBER(38) | NO | The database ID. |
| OUTLINE_ID | NUMBER(38) | NO | The ID of the concurrency limit rule. |
| DATABASE_NAME | VARCHAR2(128) | NO | The name of the database. |
| OUTLINE_NAME | VARCHAR2(128) | NO | The name of the concurrency limit rule. |
| OUTLINE_CONTENT | CLOB | NO | The content of the concurrency limit rule. This column can be empty. |
| VISIBLE_SIGNATURE | CLOB | NO | The deserialized result of the signature. |
| SQL_TEXT | CLOB | NO | The SQL statement specified in the ON clause when the concurrency limit rule was created. |
| CONCURRENT_NUM | NUMBER(38) | NO | The maximum number of concurrent sessions allowed for the SQL statement. |
| LIMIT_TARGET | CLOB | NO | The SQL statement that is limited by the concurrency limit rule. |
Sample query
Query the information about the concurrency limit rules of the current tenant.
obclient(SYS@oracle001)[SYS]> SELECT * FROM SYS.DBA_OB_CONCURRENT_LIMIT_SQL\G
The query result is as follows:
*************************** 1. row ***************************
CREATE_TIME: 28-APR-25 10.36.39.555484 AM
MODIFY_TIME: 28-APR-25 10.36.39.555484 AM
TENANT_ID: 1004
DATABASE_ID: 201006
OUTLINE_ID: 500026
DATABASE_NAME: SYS
OUTLINE_NAME: OL_1
OUTLINE_CONTENT: /*+BEGIN_OUTLINE_DATA FULL(@"SEL$1" "SYS"."T1"@"SEL$1") OPTIMIZER_FEATURES_ENABLE('4.2.5.1') END_OUTLINE_DATA*/
VISIBLE_SIGNATURE: SELECT * FROM t1 WHERE c1 = ? AND c2 = ?
SQL_TEXT: SELECT /*+max_concurrent(0)*/ * FROM t1 WHERE c1 = 1 AND c2 = ?
CONCURRENT_NUM: 0
LIMIT_TARGET: SELECT * FROM t1 WHERE c1 = 1 AND c2 = ?
*************************** 2. row ***************************
CREATE_TIME: 28-APR-25 10.42.20.505246 AM
MODIFY_TIME: 28-APR-25 10.42.20.505246 AM
TENANT_ID: 1004
DATABASE_ID: 201006
OUTLINE_ID: 500027
DATABASE_NAME: SYS
OUTLINE_NAME: OTL
OUTLINE_CONTENT: /*+max_concurrent(0)*/
VISIBLE_SIGNATURE:
SQL_TEXT:
CONCURRENT_NUM: 0
LIMIT_TARGET:
2 rows in set