Forum Post: Speeding up database inserts

  • Thread starter Thread starter hendrige
  • Start date Start date
Status
Not open for further replies.
H

hendrige

Guest
Hi all, We use Corticon Studio and Server version 5.4.1. We are building a batch process for a monthly run. Because of EDC-limitations we are forced to read data from various sources (SQL Server tables and views, with no associations/ join expressions possible), and do matching within Corticon. This is a less efficient and a little more time-consuming, yet acceptable option. With around 33.000 instances in one specific flow, a matching- and calculation process takes up to around 32 seconds. The major drawback comes from the data-writing. After walking through the flow with separate rulesheets for reading data, creating non-persistent entity-copies of every read record, and doing calculations on these non-persistent entities, every created CDO is then persisted to the database via the final rulesheet via a persistent entity. With 33.000 records, Hibernate generates 33.000 separate SQL-inserts (one for each CDO), which is very time-consuming. This can take up to 55 minutes, where we only need 32 seconds for calculating and matching. Is there any way to speed up the database insert process in this situation? Will for instance the High Performance Batch Processor help us with this? Thank you!

Continue reading...
 
Status
Not open for further replies.
Back
Top