A
ahjiang
Hi all,
I post this question here as there are not much activity over at the
database group.
I'm updating 5000 records to the Oracle database with 8 fields. It
took around 1min to finish updating.
My flow of program is as follows
I have set connection autocommit to false.
ResultSet cursor set to FORWARD_ONLY
Fire a query to the database and retrive the resultset of the record.
All primary keys are indexes in the table.
After some investigation using a profiler, the method executeUpdate()
is taking the longest time.
How can i further improve the performance?
Appreciate any advices
I post this question here as there are not much activity over at the
database group.
I'm updating 5000 records to the Oracle database with 8 fields. It
took around 1min to finish updating.
My flow of program is as follows
I have set connection autocommit to false.
ResultSet cursor set to FORWARD_ONLY
Fire a query to the database and retrive the resultset of the record.
update and finally rs.updateRow().From the resultset, i do the
All primary keys are indexes in the table.
After some investigation using a profiler, the method executeUpdate()
is taking the longest time.
How can i further improve the performance?
Appreciate any advices