Reading Large BLOB Data Using OCI API Fails With ORA-24345
Last updated on APRIL 06, 2017
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 and later
Information in this document applies to any platform.
When using OCIStmtGetPieceInfo/OCIStmtSetPieceInfo, writing a blob value of approximately 5 billion bytes works fine. But, when reading the BLOB value it stops at about 2147548723 (this varies with the piece size but its always close to this) with the following error:
Reading BLOB Using OCI.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms