Firebird-Blob-Value over 30MB could not loaded
Posted: Fri 17 Mar 2017 10:22
Hello,
I have following enviroment:
Delphi 10.1 Berlin, IBDAC Version 5.7.27, SQL-Firebird 2.5.6
The Firebird-Database has: 2073 Tables, 2214 Views, 6111 Procedure, 6465 Triggers and a size of 12 GB
One small Table in the database has this structure:
CREATE TABLE TBLOB ( ID INTEGER NOT NULL, TEXT BLOB SUB_TYPE 0 SEGMENT SIZE 80);
In this table I have one record. The blobfield value ist a XML-file with a size of 58MB.
Now I have a TDBMemo-Field in a Delphiform to display the record, but IBDAC could not load the blob.
If i make the blobvalue less than 30 MB, it works fine.
Also the same without TDBMemo, wenn I try to copy the Blobstream from IBDAC-field to a other memorystream or filestream.
I try all Optionssettings inTIBCQuery: CacheBlobs (on/off), DefferedBlobRead (on/off), StreamedBlobs (on/off) and all combination of this settings. Nothing happend.
One important info about this topic.
When I take the same Firebirddatabase, make it empty, put only the blob-record into the database, then it works. The full database is not corrupt. Before testing I make Backup/Restore.
I tested with different firebird-databases, different computers and different networks and differnent firebirbservices.
Has anyone a idee?
Best regards
AsterixBT
(Germany)
I have following enviroment:
Delphi 10.1 Berlin, IBDAC Version 5.7.27, SQL-Firebird 2.5.6
The Firebird-Database has: 2073 Tables, 2214 Views, 6111 Procedure, 6465 Triggers and a size of 12 GB
One small Table in the database has this structure:
CREATE TABLE TBLOB ( ID INTEGER NOT NULL, TEXT BLOB SUB_TYPE 0 SEGMENT SIZE 80);
In this table I have one record. The blobfield value ist a XML-file with a size of 58MB.
Now I have a TDBMemo-Field in a Delphiform to display the record, but IBDAC could not load the blob.
If i make the blobvalue less than 30 MB, it works fine.
Also the same without TDBMemo, wenn I try to copy the Blobstream from IBDAC-field to a other memorystream or filestream.
I try all Optionssettings inTIBCQuery: CacheBlobs (on/off), DefferedBlobRead (on/off), StreamedBlobs (on/off) and all combination of this settings. Nothing happend.
One important info about this topic.
When I take the same Firebirddatabase, make it empty, put only the blob-record into the database, then it works. The full database is not corrupt. Before testing I make Backup/Restore.
I tested with different firebird-databases, different computers and different networks and differnent firebirbservices.
Has anyone a idee?
Best regards
AsterixBT
(Germany)