Description
The DBA_MVREF_STATS_SYS_DEFAULTS view displays the system-wide default values for statistics attributes of materialized view refresh history.
Columns
Field |
Type |
Nullable |
Description |
|---|---|---|---|
| PARAMETER_NAME | varchar(16) | NO | Parameter name
|
| VALUE | varchar(40) | NO | System Default Value of Parameter |
Sample query
Query the system-wide default value for refreshing historical statistics attributes of materialized views.
obclient [test_db]> SELECT * FROM oceanbase.DBA_MVREF_STATS_SYS_DEFAULTS;
The query result is as follows:
+------------------+---------+
| PARAMETER_NAME | VALUE |
+------------------+---------+
| COLLECTION_LEVEL | TYPICAL |
| RETENTION_PERIOD | 31 |
+------------------+---------+
2 rows in set