tencent cloud

masukan

Data Extraction

Terakhir diperbarui:2022-06-20 12:33:25

    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

    1. Log in to the COS console.
    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 Actions > 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.
    Hubungi Kami

    Hubungi tim penjualan atau penasihat bisnis kami untuk membantu bisnis Anda.

    Dukungan Teknis

    Buka tiket jika Anda mencari bantuan lebih lanjut. Tiket kami tersedia 7x24.

    Dukungan Telepon 7x24