If you enable real-time access of Archive objects for an Object Storage Service (OSS) bucket, you can access Archive objects in the bucket without the need to restore the Archive objects. Real-time Archive data access requires less time to retrieve data and incurs higher fees than accessing Archive data after data restoration. This feature is suitable for occasional access to extremely infrequently accessed data. This topic describes how to enable and use real-time access of Archive objects.
Prerequisites
A bucket is created. For more information, see Create a bucket.
A RAM user that has the following permissions exists:
oss:PutBucketArchiveDirectRead
andoss:GetBucketArchiveDirectRead
. For more information, see Common examples of RAM policies.
Scenarios
Real-time access of Archive objects is suitable for scenarios that involve data lakes, cloud photo albums, media asset archiving, and medical images. Real-time access of Archive objects meets the requirements for real-time access of data that is extremely infrequently accessed while reducing the overall storage costs.
Fees
After you enable real-time access of Archive objects for a bucket, when you access Archive objects that are not restored in the bucket, you are charged Archive data retrieval fees based on the size of accessed Archive data (RetrievalDataArchiveDirect). When you access Archive objects that are restored in the bucket, you are not charged Archive data retrieval fees. For more information, see Data processing fees.
Feature comparison
The following table describes the differences before and after you enable real-time access of Archive objects.
Item | Disable real-time access of Archive objects (default) | Enable real-time access of Archive objects |
Data retrieval method | Restore Archive objects and then access the Archive objects | Directly access Archive objects |
Data retrieval fees ① | Lower | Higher |
Data retrieval time | Minutes | Milliseconds |
① For more information about data retrieval fees, visit the OSS pricing page.
What to do next
After you enable real-time access of Archive objects for a bucket, you can perform the following operations on the Archive objects in the bucket without the need to restore them:
References
If you do not enable real-time access of Archive objects, you must restore the Archive objects before you can access them. For more information, see Restore objects.