I am using a firebird db with IBDAC on a server via TCP. The db has 20000 records. With IBDAC a sql select and a jump to the last record has a duration of 67 seconds. With IBX (included with delphi) it only takes 4 seconds.
I am using TIBCQuery, TIBCConnection, TDataSource, TDBGrid. Just drop the components from the component palette to the form. No settings are changed (except dbname and serverIP)
Code: Select all
DB.Connect;
IBCQuery1.SQL.Text := 'select * from mytable;
IBCQuery1.Prepare;
IBCQuery1.Open;
then IBDAC has the same speed. Why? Is this a bug?
If I set only DeferredBlobRead to True then IBDAC has the same speed too. What does DeferredBlobRead do?
Which solution is better? CacheArray+CacheBlobs or DeferredBlobRead? What are the pros and cons of each solution?
Thanks!