Subject | Re: [ib-support] optimizer question |
---|---|
Author | Ann W. Harrison |
Post date | 2001-05-25T21:40:19Z |
At 11:50 AM 5/25/2001 +0700, Sindu wrote:
cost based logic left in the optimizer.
one wants to restore a large database regularly. SET STATISTIC INDEX
is faster than DE/ACTIVATE, but the latter has some additional benefits.
It's not a bad idea to do it once every month or so.
Regards,
Ann
www.ibphoenix.com
We have answers.
>Basically Jim said the optimizer is broken, and now we're mostly usingJim tends to paint things in black and white - there's a lot of
>rule-based. CMIIW. So does it actually help if we calculate the index
>statistics for cost-based optimizer?
cost based logic left in the optimizer.
>Ann, please help me to understand it a bit more. Does backup (gbak) willBackup does not update the index statistics. Restore does, but no
>automatically update the statistic? Or should I run "SET STATISTICS INDEX
>..." or "ACTIVATE/DEACTIVATE" after my daily backup?
one wants to restore a large database regularly. SET STATISTIC INDEX
is faster than DE/ACTIVATE, but the latter has some additional benefits.
It's not a bad idea to do it once every month or so.
Regards,
Ann
www.ibphoenix.com
We have answers.