Siebel Performance Tuning Guide > Tuning Siebel EIM for Performance > Database Guidelines for Optimizing EIM >


This topic describes EIM tuning tips for the IBM DB2 UDB database platform.

In addition to the information available here and elsewhere on Siebel Bookshelf, IBM have published a Redbook, Siebel 7.8 with IBM DB2 UDB V8.2 Handbook, which provides additional information about Siebel Business Applications on the IBM DB2 UDB database platform. See for more information.

Review the following list of tuning tips for Siebel EIM:

  • Use the IBM DB2 load replace option when loading EIM tables.

    NOTE:  You can also use the IBM DB2 load option to purge EIM tables. To do this, run the load option with an empty (null) input file in LOAD REPLACE mode. This purges the specified EIM table(s) instantly.

  • Use separate tablespaces for EIM tables and the base tables.
  • For large EIM loads or where many EIM tasks execute in parallel, place individual EIM tables in separate tablespaces.
  • Use large page sizes for EIM and the larger base tables. Previous experience has determined that a page size of 16 KB or 32 KB provides good performance. The larger page sizes allow more data to be fitted on a single page and also reduces the number of levels in the index B-tree structures.
  • Similarly, use large extent sizes for both EIM and the large base tables.
  • Make sure that the tablespace containers are equitably distributed across the logical and physical disks and across the input/output (I/O) controllers of the database server.
  • Use separate bufferpools for EIM tables and the target base tables. Since initial EIM loads are quite large and there are usually no online users, it is recommended to allocate a significant amount of memory to the EIM and the base table bufferpools.
  • After you load new data, reorganize the tables if the data on a disk is out of cluster. Use the REORGCHK command if the results of executing the RUNSTATS command indicate that clustering has deteriorated (clustering index < 80% clustered) and that a reorganization of tables is required. For more information about using the REORGCHK command, see FAQ 2072 on Siebel SupportWeb.

    NOTE:  Allocate time to conversion schedules to allow for the reorganization of tables and the gathering of statistics prior to allowing end users access a system containing new data.

  • Use IBM DB2 snapshot monitors to make sure performance is optimal and to detect and resolve any performance bottlenecks.
  • You can turn off logretain during the initial load. However, you should turn it back on before moving into a production environment.

    NOTE:  When logretain is enabled, you must make a full cold backup of the database.

  • For the EIM tables and the base tables involved, alter the tables to set them to VOLATILE. This makes sure that indexes are preferred over table scans.
  • Executing EIM processes in parallel will cause deadlock and timeout on IBM DB2 UDB databases if multiple EIM processes attempt to update the same catalog table simultaneously. To avoid this, set the UPDATE STATISTICS parameter to FALSE in the EIM configuration file (.IFB file).
  • Executing UPDATE STATISTICS in each EIM process consumes significant database server resources. It is recommended that the database administrator updates statistics outside of the EIM process using the RUNSTATS command.
  • Consider the following settings for DB2 registry values:
    Registry Value








    When using RAID devices for tablespace containers

  • Consider the following settings for the DB2 database manager configuration parameters:
    Registry Value


    NO (may be used during large index creation)


    1 (may be increased during large index creation)


    100,000 (depends upon available memory, SORTHEAP setting, and other factors)

  • Consider the following settings for the database parameters:

Registry Value








120 (between 30 and 120)




8000 or higher


20 or higher


NO (only during initial EIM loads)






Number of CPUs in the database server


Number of disks containing DB2 containers


10240 (This setting is only for initial EIM loads. During production, set it to between 64 and 256.)

The value you specify for SORTHEAP impacts the result of changing the value for SHEAPTHRES. For example, if SORTHEAP = 10000, then you can execute no more than 9 EIM batches if you set SHEAPTHRES = 100000.

If executing concurrent EIM batches, make sure to allocate sufficient physical memory so that memory swapping or memory paging do not occur.



Siebel Performance Tuning Guide Copyright © 2006, Oracle. All rights reserved.