Subject | Re: [IBO] is it my ib_query or ib_grid is slow? |
---|---|
Author | james_027 |
Post date | 2003-08-06T03:06:51Z |
Can anyone address to this issue?
thanks
-- In IBObjects@yahoogroups.com, "james_027" <james_027@y...> wrote:
thanks
-- In IBObjects@yahoogroups.com, "james_027" <james_027@y...> wrote:
> Recently I made made a test. Using ibx with db_grid vs ibo withon
> ib_grid. Scrolling from first to last record(on the first instance)
> ibx is about 400% faster. It took about 1 sec compare to 4 seconds
> ibx. I have about 50,000 records. I have my second testing whichuses
> this code both on ibo and ibx.15sec
>
> table.first;
> while not table.eof do
> begin
> table.edit;
> table.fieldbyname('fielda').asinteger:=table.fieldbyname
> ('fielda').asinteger+100;
> table.post;
> table.next;
>
> end
> table.ib_transaction.commitretaining; // for ibo
> table.transaction.commitretainning; // for ibx
>
> Sad to say that the result is not favor to ibo. It took 4mins
> on ibx and 10 min 23 secs on ibo.