0

I use ODP.net parameter arrays to achieve batch insert of records. This way performs very well when the records don't contain BLOB column - typically about 10,000 records can be inserted in one second.

If a record contains BLOB column, it has a poor performance - about 1,000 records need 8 ssconds.

Is there any method to batch insert records with BLOB column efficiently.

1 Answer 1

1

I find I use odp to insert record with blob column uncorrectly.

when insert record with blob column, I use byte array to store the blob value. this way will have a poor performance. I replace another way, use OracleBlob type to store the blob value. In this way, batch insert records will have a high performance.

Sign up to request clarification or add additional context in comments.

1 Comment

You have the same results when reading a Blob column or only when inserting? Comparing inserting as byte array vs OracleBlob

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.