Restrict Remote Table Data Loads

Remove unnecessary columns, create filters or add columns to reduce the volume of data that is loaded in your remote table.

Prerequisites

  • Your remote table must be already deployed in your space.

  • Remote Tables that use an SAP HANA smart data integration ABAP or SAP HANA smart data integration CDI based connections must have been imported using a DP Agent with version equal or higher than 2.5.4.1.

  • To ensure that the filters won’t impact existing partitioning or statistics, the DWC_DATAINTEGRATION.read privilege must be assigned to your profile.

Context

Loading larger data volumes can take a long time and cause high memory peaks. To optimize performance and reduce data footprint, you can load only the data you need in your remote table. SAP Datasphere offers several ways to control the volume of data that is loaded in your remote table. From the table editor of the Data Builder, you can remove the unnecessary columns, define a central filter to load only the data that is needed, and you can add new columns available in the source, or reinsert previously excluded columns.

Procedure

  1. Remove columns from your remote table definitions:
    1. Go to Columns section.

    2. Select the columns that you want to remove.

    3. Click (Remove).

    4. (Deploy) your remote table.

  2. Creating a filter.
    1. Go to the Filter tab Select Create filter and define your filter conditions:

      Property

      Description

      Column

      Select the column that will be used to filter your data.

      We recommend that you define your filters on columns that are not changing after initial creation. In case of using the advanced property "Triggers Record Primary Keys Only" in SAP HANA smart data integration based connections, filters on non-primary key columns won't work as expected.

      Operator

      The filter only supports including conditions. You can choose between Equal to and Between.

      Values

      You must select existing values only.

    2. (Deploy)

    3. Replicate your data

  3. Add columns:
    1. Go to the Columns section.

    2. Click (Add)

    3. Select the columns to add and click OK. You can add new columns available from the data source, or re-add previously excluded columns.

    4. (Deploy)

    5. Replicate your data.