sql - Oracle query performance degrades when inserting many rows in a single transaction -
In a transaction I am inserting rows into a table, before joining the line to see that The query is already a row with which I am about to insert
What I see is that the query becomes very slow within my transaction to check the key, but it is faster with another transaction, and the next transaction is faster.
I can not break this work into small transactions because as I am processing, there is a need to be in a transaction.
Can anyone do this to do the selected question fast in this transaction?
Therefore, please add the constraint / primary key it will allow you to remove all your selections Or add index for the column you selected.
Comments
Post a Comment