Note
This view is available starting with V4.0.0.
Purpose
This view displays the version information generated by major freeze operations.
Columns
| Column | Type | Nullable | Description |
|---|---|---|---|
| FROZEN_SCN | bigint(20) unsigned | NO | The version number of the major freeze operation. |
| CLUSTER_VERSION | bigint(20) | NO | The cluster version number at the time of the major freeze operation. |
| SCHEMA_VERSION | bigint(20) | NO | The schema version number at the time of the major freeze operation. |
| GMT_CREATE | timestamp(6) | NO | The time when the record was created. |
| GMT_MODIFIED | timestamp(6) | NO | The time when the record was last modified. |
Sample query
Query the version information generated by major freeze operations in the sys tenant.
obclient [oceanbase]> SELECT * FROM oceanbase.DBA_OB_FREEZE_INFO;
The query result is as follows:
+---------------------+-----------------+------------------+----------------------------+----------------------------+
| FROZEN_SCN | CLUSTER_VERSION | SCHEMA_VERSION | GMT_CREATE | GMT_MODIFIED |
+---------------------+-----------------+------------------+----------------------------+----------------------------+
| 1 | 17180001538 | 1 | 2025-01-06 16:31:31.695089 | 2025-01-06 16:31:31.695089 |
| 1736186403777159000 | 17180001538 | 1736155853270568 | 2025-01-07 02:00:03.779025 | 2025-01-07 02:00:03.779025 |
| 1736272800215148000 | 17180001538 | 1736237664794512 | 2025-01-08 02:00:00.217747 | 2025-01-08 02:00:00.217747 |
| 1736359201793995000 | 17180001538 | 1736326581088520 | 2025-01-09 02:00:01.796690 | 2025-01-09 02:00:01.796690 |
+---------------------+-----------------+------------------+----------------------------+----------------------------+
4 rows in set