Efficiently inserting multiple records in oracle db using Oracle client
I've C#-WCF/Winforms application.It inserts 450,000 plus records in a staging table in Oracle database using Oracle Client API and a stored proc having a simple insert query. Its taking about 15 minutes to insert records in db and sometimes the records dont get inserted too..giving all sorts of timeout errors at the wcf side. Is there any efficient way of doing these inserts? Thanks for reading. Here's my code which does the batch insert: OracleTransaction tran = null; UpdateRowSource oldURS = this.cmd.UpdatedRowSource; OracleCommand oldCmd = this.dbAdapter.InsertCommand; int oldUBS = this.dbA
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.