Wednesday, June 13, 2007
Optimizing Enterprise Integration Manager
Optimizing Enterprise Integration Manager
Use below process to capture/find out where problem exist.
Optimization TIPs.
Here are the few factors to optimize EIM performance.
Index:
Syntax:
USEINDEXHINTS,FALSE
USEESSENTIALHINTS,FALSE
Avoid updates: Ensure configuration (.IFB) file that no updates are performed (if not required).
Syntax:
INSERT ROWS=S_CONTACT,TRUE
UPDATE ROWS=S_CONTACT,FALSE
Fragmentation: During database load; data can be fragmented resulting poor performance because of more data pages must be read by SQL. To avoid fragmentation try to use index options FILLFACTOR and PAD_INDEX reduce fragmentation. The FILLFACTOR option reserves space on each leaf page of an index, while the PAD_INDEX option reserves space in the intermediate index pages.
Note: I have written above after reading technical notes from www.siebelonmicrosoft.com and EIM Administration Guide from Siebel bookshelf.
Use below process to capture/find out where problem exist.
- Turn on 'Level 8' EIM logging.
- Turn on SQL Profiler for the run.
- Run an EIM batch.
- Load the EIM log into Excel. Sort the log on execution time to find what is the longest execution time. Find this event In the unsorted EIM log.
- Load the SQL Profile trace into Excel. Sort on the longest duration, then on reads. These queries should match those in the EIM log.
- Review the execution plans. Isolate the problem. Determine how the problem can be fixed. Keep in mind that a combination of solutions may bring about the most improvement.
Optimization TIPs.
Here are the few factors to optimize EIM performance.
- The loading strategy
- Indexes
- Turn off optimizer hints
- Fragmentation
Index:
- Consider dropping all non-clustered indexes on the EIM_ tables. EIM performance usually improves when there is only a clustered index on the EIM_ table.
- You may be able to drop indexes on base tables and put the indexes back selectively.
- Try to optimize indexes using tools comes with your DBMS.
Syntax:
USEINDEXHINTS,FALSE
USEESSENTIALHINTS,FALSE
Avoid updates: Ensure configuration (.IFB) file that no updates are performed (if not required).
Syntax:
INSERT ROWS=S_CONTACT,TRUE
UPDATE ROWS=S_CONTACT,FALSE
Fragmentation: During database load; data can be fragmented resulting poor performance because of more data pages must be read by SQL. To avoid fragmentation try to use index options FILLFACTOR and PAD_INDEX reduce fragmentation. The FILLFACTOR option reserves space on each leaf page of an index, while the PAD_INDEX option reserves space in the intermediate index pages.
Note: I have written above after reading technical notes from www.siebelonmicrosoft.com and EIM Administration Guide from Siebel bookshelf.