Administer > Transforming, loading, and extracting data > Overview of the data load utility > Data load sample scenario


Initial load scenario

Overview

The initial load scenario is when you have finished creating and configuring a new WCS instance. You now want to load the initial catalog, price, and/or inventory data into the WebSphere Commerce database.


Recommendations

To improve the initial load performance:


Sample

The following code snippet is part of the sample wc-dataload.xml file to specify...

<_config:LoadOrder commitCount="1000" 
                   batchSize="1000" 
                   dataLoadMode="Insert" >         

    <_config:LoadItem name="CatalogEntry" 
                      businessObjectConfigFile="wc-loader-catalog-entry.xml"  
                      startKey="1000001" 
                      endKey="2000000">              

        <_config:DataSourceLocation location="CatalogEntry.csv" />         

    </_config:LoadItem>

</_config:LoadOrder> 

The following code snippet is part of a sample wc-dataload-env.xml file to specify the ID resolver cache size:

<_config:IDResolver className="com.ibm.commerce.foundation.dataload.idresolve.IDResolverImpl" 
                    cacheSize="2000000" />


Related tasks

Substitute attribute values with variables in data load configuration files

Related reference

Delta load scenario

Data load best practices


Related information
Data load business object configuration file


+

Search Tips   |   Advanced Search