Implementing Siebel eBusiness Applications on DB2 UDB for OS/390 and z/OS > Migrating Data Using Siebel EIM > Improving EIM Performance During the Import Process >

Initial Load Considerations


There are certain considerations that are only applicable during an initial load of data into your Siebel application.

Drop Unused, Non-Unique Indexes

The initial load is typically a database-intensive process. Each row that is inserted into the base table requires modifications not only to the table itself, but to all its affected indexes. However, most of these indexes are never used during an initial load process.

Performance can usually be improved by determining which base table indexes are unused by EIM during the import process and dropping them prior to the initial load. These indexes must later be recreated by your DB2 database administrator (DBA).

Dropping Unused Triggers

Dropping unused triggers can improve import performance by reducing the system overhead used to verify trigger constraints. You can use the Generate Triggers (GenTrig) component from Siebel Server Tasks to drop the triggers and to re-create them later on. This component has to be in the "Enabled" state. For details on how to work with Generate Triggers, see Siebel Workflow Administration Guide.

NOTE:  If you are employing partitioning, do not drop triggers that are used for partitioning purposes. If you do your EIM process fails, or it inserts all the data in a single partition.

Optimizing Free Space Parameters

If you will use your Siebel application primarily for queries, updates and deletions, you should alter your table spaces and indexes to provide optimal insert and update performance.

To improve the EIM import and update SQL performance, set PCTFREE for table spaces and indexes to a value of 20 or 30 prior to the EIM initial load, and maintain these settings at 20 or 30 for subsequent loads.

To improve the insert performance on base tables during EIM initial load

  1. Set PCTFREE to zero for data and sequential index.
  2. Set FREEPAGE to zero for data and index.
  3. Use Page Lock if you are sequentially inserting many rows or pages.
  4. For a data sharing environment, set the member cluster option to reduce spacemap and data page P-Lock contention.

You should alter base table spaces to PCTFREE and FREEPAGE values of 20 or 30 for subsequent import processes. You should also load or reorganize any altered items before the new values take effect.

The following example demonstrates how to set these values for your table spaces and indexes. Substitute your own table space and index names for your implementation.

ALTER TABLESPACE SIEBDB01.H0401000 PART 1 PCTFREE 20;
ALTER TABLESPACE SIEBDB01.H0401000 PART 2 PCTFREE 20;

ALTER INDEX SIEBDB01.S_ADDR_ORG_M6 PCTFREE 20;
ALTER INDEX SIEBDB01.S_ADDR_ORG_P1 PCTFREE 20;
ALTER INDEX SIEBDB01.S_ADDR_ORG_P99 PART 1 PCTFREE 20;
ALTER INDEX SIEBDB01.S_ADDR_ORG_P99 PART 2 PCTFREE 20;

Disabling Transaction Logging

Siebel transaction logging is unnecessary during an initial EIM load, and should be disabled by setting LOG TRANSACTIONS = FALSE in your .ifb file. For more information on transaction logging in EIM, see Siebel Enterprise Integration Manager Administration Guide.


 Implementing Siebel eBusiness Applications on DB2 UDB for OS/390 and z/OS 
 Published: 18 April 2003