Question
TD
CA
Last activity: 16 Nov 2020 4:18 EST
How to insert 1000s of record in database table minimizing the database operation?
Hi,
I have a pageList that has 1000s of page that needs to be insert in database. The only way i know is to iterate through the list and do obj-save for every page. But to mu knowledge that will impact the performance as there will be 1000s of database operations.
How can i do it without making 1000s of database operation to minimize the impact. Basically is there any way to bulk insert all of the records?
If your system accesses the PegaRULES database using an updated JDBC 2.0 driver, enabling an optional driver capability for batched updates may improve database performance.This benefit also applies to external databases when they are accessed as external classes.