Overview
COS Select allows you to filter out desired data at the storage level, significantly reducing the amount of data transferred by COS, thereby lowering your usage costs, and improving data acquisition efficiency. In the COS console, you can extract data from individual files stored in buckets using the standard SQL templates we provide or by specifying statements that comply with syntax rules.
Note:
COS Select currently supports objects in JSON or CSV format only in public cloud regions (Chinese mainland), and objects in Parquet format only in Beijing region.
Please make sure the file to be extracted complies with COS Select specifications. For more information on COS Select specifications, please see SELECT Overview. COS Select in the console supports extraction of up to 40 MB data from a maximum of 128 MB files. To process larger files or extract more data, please use the API or SDKs. Directions
2. Click Bucket List on the left sidebar.
3. Locate the bucket where the object resides and click the bucket name.
4. Click File List on the left sidebar.
5. Find the target object and click More > Extract on the right.
Note:
Currently, only objects in the STANDARD, STANDARD_IA, and INTELLIGENT TIERING storage classes can be extracted.
6. Configure the fields File Type, Header Field, Separator, Compression Format, and Export Format.
7. Click Select SQL Template.
8. In the pop-up window, select the template statement you want to use for extraction and click OK.
9. Edit the statement in the text box based on your actual file and then click Run SQL.
Now you can see the first 100 results in the text box at the bottom. To obtain the complete set of data, click Export Extraction Results.
Was this page helpful?