OSS provides the data indexing feature to allow you to index the metadata of objects. You can specify the metadata of objects as index conditions to query objects. This way, you can manage and learn about data structures, perform queries, collect statistics, and manage objects in an efficient manner.
Scenarios
To meet data audit or data supervision requirements, you may need to query specific objects from an Object Storage Service (OSS) bucket in which hundreds of millions of objects are stored. An object contains a large volume of metadata, including the name, ETag value, storage class, size, tags, and last modified time of the object. The data indexing feature allows you to combine simple query conditions and data aggregation methods based on your business requirements to improve query performance.
Usage notes
- Supported regions
The data indexing feature is supported only in the China (Hangzhou) and Australia (Sydney) region.
- Billing
During the public preview, you are not charged for metadata management. For more information about billable items of the data indexing feature, see Data indexing fees.
- Number of objects
You can enable metadata management only for buckets in which up to 30 million objects are stored. If you want to enable metadata management for a bucket in which more than 30 million objects are stored, contact technical support.
- Multipart upload
If a bucket contains objects that are uploaded by using multipart upload, the query results include only the complete objects combined by calling the CompleteMultipartUpload operation. Parts that are uploaded by multipart upload tasks that have been initiated but are not completed or not canceled are not included in the query results.