This topic describes how to enable the cold data archiving feature and view information about cold data archived in OSS after the feature is enabled.
適用範囲
CSV フォーマットへのアーカイブ
クラスターエディションは Cluster Edition:
標準テーブルのアーカイブ:
MySQL 8.0.1、リビジョン 8.0.1.1.47 以降。
MySQL 8.0.2、リビジョン 8.0.2.2.10 以降。
パーティションテーブルのアーカイブ:
MySQL 8.0.2、リビジョン 8.0.2.2.34.1 以降。
クラスター版が マルチマスタークラスター (Limitless) Edition の場合:
MySQL 8.0.1、リビジョン 8.0.1.0.13 以降。
ORC フォーマットへのアーカイブ
クラスター版は Cluster Edition:
標準テーブルのアーカイブ:MySQL 8.0.2、リビジョン 8.0.2.2.30 以降。
パーティションテーブルのアーカイブ:MySQL 8.0.2、リビジョン 8.0.2.2.34.1 以降。
クラスター版が マルチマスタークラスター (Limitless) Edition の場合:MySQL 8.0.2、リビジョン 8.0.2.2.30 以降。
X-Engine フォーマットへのアーカイブ
標準テーブルのアーカイブ:
MySQL 8.0.1、リビジョン 8.0.1.1.31 以降。
MySQL 8.0.2、リビジョン 8.0.2.2.12 以降。
パーティションテーブルのアーカイブ:MySQL 8.0.2、リビジョン 8.0.2.2.12 以降。
X-Engine 列ストアテーブルへのアーカイブ:MySQL 8.0.2、リビジョン 8.0.2.2.34.1 以降。
Limitations
-
OSS cold tables do not support backup and restore. When you restore a cluster from a backup, OSS cold data storage tables are skipped by default.
-
OSS cold tables do not support access to data in cold data storage tables from a secondary cluster in a Global Database Network (GDN).
Enable cold data archiving
-
Log on to the PolarDBコンソール.
左側のナビゲーションウィンドウで、クラスターをクリックします。
-
In the upper-left corner, select the region where the cluster resides.
-
On the [クラスター] page, click the target cluster.
-
In the left-side navigation pane, choose .
-
On the [コールドデータのアーカイブ (コールドデータ)] tab, click [有効化] .
-
(Optional) Archive a partitioned table as a hybrid partitioned table.
-
MySQL 8.0.2 and the minor version is 8.0.2.2.34.1 or later. You must set the
loose_polar_allow_create_hybrid_partitionparameter toON. -
MySQL 8.0.2 and the minor version is earlier than 8.0.2.2.34.1. Upgrade to a later minor version.
-
View archived cold data
After you enable cold data archiving, you can view the size of cold data stored in OSS and the database and table information on the [コールドデータアーカイブ] page.
Cold data archiving cannot be disabled after it is enabled. If the console shows a cold data usage of 0, no additional fees are incurred.