Subject | Re: [firebird-support] very slow commit |
---|---|
Author | Milan Tomeš - Position |
Post date | 2010-02-09T12:40:14Z |
Dne 09.02.2010 13:26, svanderclock napsal(a):
You can do these steps:
1. Before a bulk load of a lot of records it's recommended to deactivate
indexes and activate them after loading is done
2. Reduce index count
Milan
> hello,AFAIK Indexes are updated during commit.
>
> I update one row in 10 tables with a lot of index. (around 300 index
> to update)
>
> to insert or Update the data it is very fast (around 100ms)
>
> but, when i commit the SQL, it is very slow (around 3 to 6 seconds!).
> i see also that my hardrive is use a lot in the commit.
>
> how to speed up the commit ? is it a normal behavior ?
>
> thank you by advance
> stephane
You can do these steps:
1. Before a bulk load of a lot of records it's recommended to deactivate
indexes and activate them after loading is done
2. Reduce index count
Milan