Subject | Re: [firebird-support] SMP+HT PART TWO |
---|---|
Author | Aage Johansen |
Post date | 2004-12-11T16:19:53Z |
Tanovic' Branko wrote:
the statistics and look for "max dups".
If this is the case (and you need these indexes) you need to redefine
them. Drop your old index and create a new one where you include the PK
(or some other highly selective field) as the last field. This should
speed up deletes (and updates).
--
Aage J.
> ...You probably have one or more indexes with many duplicates. You can run
> On more thing I work with 120MB database curently.
> I run delete rows it need more than 4 hours to complete.
> with only 22 % usage for all cpus.
the statistics and look for "max dups".
If this is the case (and you need these indexes) you need to redefine
them. Drop your old index and create a new one where you include the PK
(or some other highly selective field) as the last field. This should
speed up deletes (and updates).
--
Aage J.