Update performance of OracleDataTable

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
hansjoergp
Posts: 39
Joined: Wed 31 May 2017 14:33

Update performance of OracleDataTable

Post by hansjoergp » Tue 17 Mar 2020 07:45

Hello,

I would like to use the OracleDataTable class to select some columns of a table and update them.
Now for the Update statements is used always as where every column of the select and not the primary key (this happens also for an "select * from table_name").
For this the Update is less performant as it could be

Therefore the "Update" command has a much worse performance than it could have.
How can you influence this behaviour?

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Update performance of OracleDataTable

Post by Shalex » Fri 27 Mar 2020 16:38

Try setting OracleDataTable.ConflictOption=ConflictOption.OverwriteChanges.

Refer to https://www.devart.com/dotconnect/oracl ... ption.html.

Post Reply