Subject | Re: [ib-support] Understand Statistics |
---|---|
Author | Svein Erling Tysvaer |
Post date | 2003-01-22T08:55:25Z |
Philippe,
I read two potentially important things from your statistics:
1) You keep (at least) one transaction open.
your database is pretty new the gap isn't very big yet, but you have to
commit occationally. Just something to be aware of.
2) Most of your indexes contain lots of duplicates
the primary key to the end of the index.
HTH,
Set
- I support Firebird, I am a FirebirdSQL Foundation member.
- Join today at http://www.firebirdsql.org/ff/foundation
I read two potentially important things from your statistics:
1) You keep (at least) one transaction open.
> Oldest active 2The gap between oldest active and next transaction ought to be small. Since
> Next transaction 231
your database is pretty new the gap isn't very big yet, but you have to
commit occationally. Just something to be aware of.
2) Most of your indexes contain lots of duplicates
> Depth: 2, leaf buckets: 367, nodes: 487329This will make updates and deletes slow. Either drop such indexes or add
> Average data length: 0.00, total dup: 487327, max dup: 32730
the primary key to the end of the index.
HTH,
Set
- I support Firebird, I am a FirebirdSQL Foundation member.
- Join today at http://www.firebirdsql.org/ff/foundation