Note
This view is available starting with V4.0.0.
Purpose
This view displays the configuration parameters of the SQL Plan Management (SPM) in the current tenant.
Columns
| Column | Type | Nullable | Description |
|---|---|---|---|
| PARAMETER_NAME | varchar(128) | NO | The name of the configuration parameter. Valid values: |
| PARAMETER_VALUE | text | YES | The value of the configuration parameter. |
| LAST_MODIFIED | timestamp(6) | YES | The time when the parameter value was last updated. |
| MODIFIED_BY | varchar(128) | NO | The user who last updated the parameter value. |
Sample query
Query the configuration parameters of the SPM in the current tenant.
obclient[oceanbase]> SELECT * FROM oceanbase.DBA_SQL_MANAGEMENT_CONFIG;
The query result is as follows:
+----------------------------------+-----------------+----------------------------+-------------+
| PARAMETER_NAME | PARAMETER_VALUE | LAST_MODIFIED | MODIFIED_BY |
+----------------------------------+-----------------+----------------------------+-------------+
| AUTO_CAPTURE_ACTION | NULL | 2025-04-27 10:29:14.106395 | NULL |
| AUTO_CAPTURE_MODULE | NULL | 2025-04-27 10:29:14.106395 | NULL |
| AUTO_CAPTURE_PARSING_SCHEMA_NAME | NULL | 2025-04-27 10:29:14.106395 | NULL |
| AUTO_CAPTURE_SQL_TEXT | NULL | 2025-04-27 10:29:14.106395 | NULL |
| AUTO_SPM_EVOLVE_TASK | OFF | 2025-04-27 10:29:14.106395 | NULL |
| AUTO_SPM_EVOLVE_TASK_INTERVAL | 3600 | 2025-04-27 10:29:14.106395 | NULL |
| AUTO_SPM_EVOLVE_TASK_MAX_RUNTIME | 1800 | 2025-04-27 10:29:14.106395 | NULL |
| PLAN_RETENTION_WEEKS | 53 | 2025-04-27 10:29:14.106395 | NULL |
| SPACE_BUDGET_PERCENT | 10 | 2025-04-27 10:29:14.106395 | NULL |
+----------------------------------+-----------------+----------------------------+-------------+
9 rows in set
References
For more information about the evolution mechanism of SPM, see Manage execution plans.