Overview
Displays the throttling rule outline information for the current tenant.
Columns
Field Name |
Type |
Whether can be NULL |
Description |
|---|---|---|---|
| CREATE_TIME | timestamp(6) | YES | Creation Timestamp |
| MODIFY_TIME | timestamp(6) | YES | Modified Timestamp |
| TENANT_ID | bigint(20) | NO | Tenant ID |
| DATABASE_ID | bigint(20) | NO | Database ID |
| OUTLINE_ID | bigint(20) | NO | Throttling Rule Outline ID |
| DATABASE_NAME | varchar(128) | NO | Database Name |
| OUTLINE_NAME | varchar(128) | NO | Throttling Rule Outline Name |
| OUTLINE_CONTENT | longtext | NO | The content of the outline corresponding to the throttling rule. It can be empty. |
| VISIBLE_SIGNATURE | longtext | NO | Deserialized Signature Result |
| SQL_TEXT | longtext | NO | SQL statement specified in the ON clause when creating a rate-limiting rule outline |
| CONCURRENT_NUM | bigint(20) | NO | Current SQL Concurrency Limit |
| LIMIT_TARGET | longtext | NO | SQL Statements Subject to Throttling |
Sample query
You can query the throttling rule outline information of the current tenant.
obclient[oceanbase]> SELECT * FROM oceanbase.DBA_OB_CONCURRENT_LIMIT_SQL\G
The query result is as follows:
*************************** 1. row ***************************
CREATE_TIME: 2025-04-28 10:55:44.563610
MODIFY_TIME: 2025-04-28 10:55:44.563610
TENANT_ID: 1002
DATABASE_ID: 500002
OUTLINE_ID: 500004
DATABASE_NAME: info
OUTLINE_NAME: ol_1
OUTLINE_CONTENT: /*+BEGIN_OUTLINE_DATA FULL(@"SEL$1" "info"."infotest"@"SEL$1") OPTIMIZER_FEATURES_ENABLE('4.2.5.1') END_OUTLINE_DATA*/
VISIBLE_SIGNATURE: SELECT * FROM infotest WHERE c1 = ? AND c2 = ?
SQL_TEXT: SELECT /*+max_concurrent(0)*/ * FROM infotest WHERE c1 = 1 AND c2 = ?
CONCURRENT_NUM: 0
LIMIT_TARGET: SELECT * FROM infotest WHERE c1 = 1 AND c2 = ?
1 row in set