All Products
Search
Document Center

Hologres:Use HoloWeb to import OSS data with one click

Last Updated:Mar 26, 2026

Querying OSS data through a foreign table is convenient for exploration, but query performance is limited because data stays in OSS. HoloWeb's one-click import wizard copies data from Object Storage Service (OSS) into Hologres internal tables, giving you significantly faster query performance.

The wizard supports:

  • Selecting specific fields or all fields from an OSS table

  • Partitioning data by date for incremental loads

  • Configuring storage mode, data lifecycle, and binary logging

  • Managing import tasks — rerun, delete, or view execution history

Prerequisites

Before you begin, make sure you have:

Import OSS data into Hologres

  1. Log on to the Hologres management console.

  2. In the top navigation bar, select a region.

  3. In the left-side navigation pane, click Go to HoloWeb.

  4. After you log on to the destination database, click Metadata Management > OSS Data Lake Acceleration > One-click OSS Data Import to open the One-click Data Import from OSS Data Lake page.

  5. Configure the parameters in the Create OSS Data Import Task panel. The SQL Script section updates automatically as you adjust settings. After completing the index configuration, set field-level properties as needed: distribution column, segment column, cluster column, dictionary encoding column, and bitmap column.

    If an internal table with the same name already exists, behavior depends on the table type: - Non-partitioned table: The original table and its data are deleted and recreated when the task runs. - Partitioned table: The original table is kept. A new child partition is created based on the partition value. If the DLF table schema differs from the existing internal table, the task fails with an error.

    Select instance

    Parameter Description
    Instance name The name of the instance you logged on to.

    DLF source table

    Parameter Description
    Server name The name of the foreign server you created.
    Database name The name of the Data Lake Formation (DLF) database that contains the OSS data to import.
    Table name The name of the OSS table to import.

    Hologres destination table

    Parameter Description
    Database name The name of the destination database in Hologres.
    Schema name The schema for the internal table. Default: public. Select another schema from the drop-down list if needed.
    Table name The name of the new Hologres internal table. Auto-populated from the DLF table name — rename it if needed.
    Destination table description (Optional) A description for the new internal table.

    Parameter settings

    Parameter Description
    GUC parameters Grand Unified Configuration (GUC) parameters to control read and write concurrency. You usually need to enter these parameters. Format: set <GUC>=<values>;. Enter each parameter on a new line.

    Import settings

    Parameter Description
    Fields The fields from the DLF table to import. Select specific fields or import all of them.

    Partition configuration

    Parameter Description
    Partition field Select a partition field.
    Data timestamp If the DLF table is partitioned by date, select a specific partition date. The task imports data for that date only.

    Index configuration

    Parameter Description
    Storage mode The storage format for the internal table. Default: Column-oriented Storage. Options: Column-oriented Storage (best for complex queries), Row-oriented Storage (best for point queries and primary key scans), Row-column Storage (suitable for OLAP analysis, high-concurrency point queries, and point queries not based on a primary key). See Table storage formats: Column store, row store, and column and row store.
    Data lifecycle The time to live (TTL) of the table data. Default: Permanent. If you set a TTL, the DPI engine deletes data after the TTL expires, provided the data has not been modified within that period.
    Binlog Whether to enable binary logging for the table. Hologres V0.9 and later support the binary logging feature at the table level. See Subscribe to Hologres binary logs.
    Lifecycle of binary logs The TTL of binary logs, in seconds. Default: 30 days (2,592,000 seconds). See Subscribe to Hologres binary logs.
  6. Click Submit in the upper-right corner. You can then view the execution details of the data import task on the One-click OSS Data Import page.

  7. (Optional) In the Actions column, manage the import task:

    • Details — view task configuration and status

    • Rerun — rerun the task

    • Execution History — view past executions

    • Delete — remove the task

Query the imported data

After the import task completes, Hologres automatically creates an internal table with the data. Run the following SQL statement to query it:

SELECT * FROM <tablename>;

Replace <tablename> with the name of the Hologres internal table you specified when creating the import task.