Storage Class Conversion

最近更新时间:2020-08-08 00:29:00

Storage Class Conversion

KS3 supports three classes of storage: standard storage, infrequent access and archive storage. Different classes of storage can be converted to each other.

KS3 supports the conversion of storage classes of objects in the following ways:

  • Method 1: Automatically convert the storage class of an object through lifecycle rules
  • Method 2: Manually convert the storage class of object through console, SDK and API

Automatically Convert Storage Classes of Objects

Lifecycle management(Lifecycle), which supports automatic conversion of the following storage classes:

  • Standard storage class converted to infrequent access or archive storage class
  • Infrequent access class converted to archive storage class

As shown in the figure:

Storage Class Conversion

For specific operations of life cycle management functions, see:Life Cycle Management.

You can configure the above lifecycle policies through the console. Please refer to Set Up Lifecycle.

Manually Converting The Storage Class of Object

To manually convert the object storage class class is to dump the object to the specified storage class by overriding. Therefore, if the converted object is of infrequent access or archive storage class, and the storage is less than the specified number of days, the data will be deleted in advance. For details, see Billing Method Description - Billing Item Description.

For the object of archive storage class, you need to perform the operation of unfreezing (Restore) first, and then you can modify the storage class after unfreezing to a readable state. For details, see Archive Storage Class.

The operation mode of manually converting the object storage class is as follows:

1.Modify the file storage class through put object copy.

More SDK support continuous update.

Matters Needing Attention

After the object storage class is converted, the storage fee will be calculated according to the storage unit price of the converted storage class. Infrequent access classes and archive storage classes require special attention:

  • Minimum Storage Life

Objects of infrequent access class need to be saved for at least 30 days. Objects of archive storage class need to be saved for at least 90 days. To delete these objects in advance, you need to supplement the storage fee for the remaining days of the shortest storage period.

  • When the object storage class is manually converted, the storage days of the object are recalculated. For example, test.txt has been stored in KS3 for 10 days as a standard storage class. If you manually convert an object to a infrequent access type, you need to continue to store it for 30 days to meet the requirement of at least 30 days.
  • Restore Time For Archive Storage Class

It takes 1 minute to 10 minutes for the archive storage class object to recover to the readable state (Restore). Therefore, if real-time reading is required in the business scenario, it is recommended to only convert it to the infrequent access storage class, rather than the archive storage class, so as to avoid that the data cannot be read in real time after conversion to the archive storage class.

  • Data Retrieval Fee

When accessing objects of infrequent access class and archive storage class, there will be an additional charge for data retrieval, which is independent of the charge for outbound downlink traffic. If the average access frequency of each object is higher than once a month, conversion to infrequent access or archive storage class is not recommended.