Subject | Re: Very Slow Update Query |
---|---|
Author | karolbieniaszewski |
Post date | 2011-05-22T14:45:37Z |
--- In firebird-support@yahoogroups.com, "millsjack14" <millsjack14@...> wrote:
the best is do backup and restore and then check if time is the same
2. fragmentation on hard disk
Karol Bieniaszewski
>1. record versions - use sweep on both and update index statistics
> Hi
>
> I have identical tables in separate databases. when I run an update query on the table in one DB it takes 1 sec, on the other DB it takes 90 sec.
>
> Query
> update disc set area_code = LTrim(area_code)
>
> Table disc has approx 62000 records
> using firebird 1.5.6 on Windows XP
>
> Used IBExpert to check table data are identical & Indices are identical.
>
> Has anyone any idea why there is such a time difference .
>
> Thanks for any help
>
> Jack
>
the best is do backup and restore and then check if time is the same
2. fragmentation on hard disk
Karol Bieniaszewski