Subject | Re: [firebird-support] Re: Should updates be this slow? |
---|---|
Author | Vlad Khorsun |
Post date | 2007-09-08T18:45:58Z |
""inoffensive_2006"" ...
run your updates with _active_ indices.
Regards,
Vlad
>> 2) Do you commit each update or (whole) batch?Any DDL in Firebird performed on commit. Therefore you
>
> The transaction is started. A SELECT is run for each
> row's key and user's full name columns, these are placed in
> an STL vector and sorted, and the gap between each row's
> sort order is calclated. All of the indexes for the table
> are altered to inactive, the updates of the sort order are
> run on each row. All of the indexes are altered back to
> active, and the transaction is committed.
run your updates with _active_ indices.
Regards,
Vlad