Convert Between Storage Classes

Last updated:2021-04-28 11:04:02

KS3 provides the following storage classes: Standard, Infrequent Access (IA) and Archive. You can convert the storage class of an object.

You can use one of the following methods to convert the storage class of a KS3 object:

  • Method 1: Configure lifecycle rules for automatic conversion
  • Method 2: Use the console, SDK or API to manually convert the storage class for an object

Automatic conversion

The lifecycle management supports the Automatic conversion between the following storage classes:

  • Conversion from Standard to IA or Archive
  • Conversion from IA to Archive

Figure:
page_2.png

For more information about specific operation of the lifecycle management function, see Lifecycle Management.

You can configure the preceding lifecycle policies from the console. For more information, see Configure lifecycle rules.

Manual conversion

To manually convert the storage class of an object, you can perform an overwrite operation. If an object of the IA or Archive storage class has been stored for less than a specified number of days, modifying the storage class of the object will incur early deletion fees. For more information, see. Billing - Billing items and methods.

Before you modify the storage class of an archive, restore the object and wait until the object is readable. For more information, see Archive storage class.

The following table describes different methods that can be used to manually convert the storage class of an object:

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

More SDK options will be supported.

Instructions

After the storage class of an object has been converted, the storage fees are calculated based on the unit price of the updated storage class. Before you convert the storage class of IA objects and archives, note that:

  • Minimum storage period

    The minimum storage period that you can set for an IA Object is 30 days; the minimum storage period that you can set for an archive is 90 days. If an object of these storage classes has been stored for less than the specified number of days, deleting the object will incur early deletion fees. If you delete these objects in advance, you need to make up for the storage cost in the remaining days of the shortest storage period.

    • If you manually convert the storage class of an object, the retention period will be reset to 0. Example: an object named test.txt is a standard object. After it is stored in KS3 for 10 days, the storage class is manually converted to IA, new object must be stored for 30 days to meet the requirement of the minimum retention period of 30 days.
  • Restore time of archives

    It takes 1-10 minutes to restore archives from the frozen state to the readable state. To read data in real time, we recommend that you only convert the storage class to IA and do not use the Archive storage class, otherwise, you may be unable to read the data in real time.

  • Data retrieval fees

Data retrieval fees are incurred when you access IA objects and Archive objects. These fees are calculated independently of the outbound traffic. For objects that need to be accessed more frequently than once a month, we recommend that you do not set the storage class to IA or Archive.

Did you find the above information helpful?

Unhelpful
Mostly Unhelpful
A little helpful
Helpful
Very helpful

What might be the problems?

Insufficient
Outdated
Unclear or awkward
Redundant or clumsy
Lack of context for the complex system or functionality

More suggestions

0/200

Please give us your feedback.

Submitted

Thank you for your feedback.

问题反馈