Poor performance in comparision to FIBPlus.
Posted: Wed 15 Oct 2014 15:05
Hi guys,
My company thinks about switching from FIBPlus to IBDAC. The thing is that performance achieved by IBDAC is not so good comparing to FIBPlus.
My tests shows that:
a) IBDAC is slower in selecting data by 4-6% percent.
b) IBDAC is slower about 290% when inserting data.
My results for records per second are:
IBDAC FIBPLUS
SELECT 11500 12000
INSERT 5900 17000
I've created a test application for inserting and selecting tests. So you could check this on your own and give me some advice how to speed up IBDAC. This forum does not have an opption for attaching files so how could I send you the application?
Application includes 2 databases. Its zipped size is around 200 MB. It would be nice if you could take a look at it. Performance is crucial for our type of application and we switch to IBDAC only if it matches the speed of FIBPlus.
I think that the problem is that we do not need the overhead which TIBCQuery brings by using dataset design.
We do not want to load data to grid and allow user to edit this data and then save it back. For such solutions dataset works nicely but we have two different scenerios:
1. We want to load as quickly as possible all data from database to our own memory structures or to a detached dataset (if you offer something like that). For example ADOQuery allows to detach from database after loading data.
2. We want to save a lot of data by performing direct inserts to database.
I think that TpFIBQuery component has the advantage over TIBCQuery because it does not inherit after some dataset class. Thanks to this it is more lightweight.
Anyway, I have a test application and I would like to give it to you so you could tweak the settings for it and improve its performance.
If performance will be at par with FIBPlus we will buy a few licenses for the component (we've already bought dbExpress component a few years ago from you).
Thanks for you time.
My company thinks about switching from FIBPlus to IBDAC. The thing is that performance achieved by IBDAC is not so good comparing to FIBPlus.
My tests shows that:
a) IBDAC is slower in selecting data by 4-6% percent.
b) IBDAC is slower about 290% when inserting data.
My results for records per second are:
IBDAC FIBPLUS
SELECT 11500 12000
INSERT 5900 17000
I've created a test application for inserting and selecting tests. So you could check this on your own and give me some advice how to speed up IBDAC. This forum does not have an opption for attaching files so how could I send you the application?
Application includes 2 databases. Its zipped size is around 200 MB. It would be nice if you could take a look at it. Performance is crucial for our type of application and we switch to IBDAC only if it matches the speed of FIBPlus.
I think that the problem is that we do not need the overhead which TIBCQuery brings by using dataset design.
We do not want to load data to grid and allow user to edit this data and then save it back. For such solutions dataset works nicely but we have two different scenerios:
1. We want to load as quickly as possible all data from database to our own memory structures or to a detached dataset (if you offer something like that). For example ADOQuery allows to detach from database after loading data.
2. We want to save a lot of data by performing direct inserts to database.
I think that TpFIBQuery component has the advantage over TIBCQuery because it does not inherit after some dataset class. Thanks to this it is more lightweight.
Anyway, I have a test application and I would like to give it to you so you could tweak the settings for it and improve its performance.
If performance will be at par with FIBPlus we will buy a few licenses for the component (we've already bought dbExpress component a few years ago from you).
Thanks for you time.