DBA_MVREF_STATS_SYS_DEFAULTS

2024-04-19 08:42:49  Updated

Note

This view is introduced since OceanBase Database V4.3.0.

Purpose

The DBA_MVREF_STATS_SYS_DEFAULTS view displays the system-level default values of refresh history statistical attributes for materialized views.

Columns

Column Type Nullable? Description
PARAMETER_NAME varchar(16) NO The parameter name. Valid values:
  • COLLECTION_LEVEL: the data collection level or the level of detail.
  • RETENTION_PERIOD: the data retention period.
VALUE varchar(40) NO The system-level default value of the parameter.

Sample query

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 (0.007 sec)

Contact Us