Scenario: Delta load

When your Transaction Server is running, we can load minor changes in data into the database. The delta load process checks whether data exists in the database, and then either adds, replaces, or removes the data where necessary.

When you run a delta load, the Data Load utility does compare the file that we are loading with the data in the database. If the utility finds existing data for an object in the database, the utility replaces that data with the data included in the input file. If the input file includes data for only specific columns, the load operation still replaces the values for all columns for the object in the database table. The utility replaces the data in the database with the data in the input file and replaces all other column values for the object with null. If you do not want the utility to replace data for a column when you run a delta load, configure the utility to exclude the column from being updated during a load operation. See Configure a column exclusion list.

If we are loading changes for catalog entries or catalog entry descriptions, we can run the Data Load utility in an update mode. This update mode compares the data in the database with the data in the file and updates only the columns that include changes. If no values are set for database columns in the input file, the load operation does not change the value within the database. See Scenario: Catalog entry update load


Configuration recommendations

During a delta load, data can be loaded into a staging environment or a production environment. However, some data such as inventory data must be loaded into a production environment. Ensure that you configure your data load process to reduce the impact to the shopping flow when loading data into a production environment. The following configuration considerations are recommended for a delta load:

For more information about running the Data Load utility after you set the data load mode for a delta load, see Configure and running the Data Load utility


Sample

The following code snippet is part of a sample wc-dataload.xml data load order configuration file. This snippet specifies the Replace data load mode, a small commit count, and batch size, and without a fixed keyrange:

The following code snippet is part of a sample wc-dataload-env.xml data load environment configuration file. This snippet specifies the ID resolver cache size to 0: