Обсуждение: does indexes need statistics?

Поиск
Список
Период
Сортировка

does indexes need statistics?

От
"Mauricio Fernandez A."
Дата:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello everybody,

Is it necesary the statistics be enabled when I create indexes or to
use them?

thanks

Mauricio Fernández A.
Ingeniero de Sistemas
U. Autónoma de Manizales
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.0.2i

iQA/AwUBQ4X7u84irmZP1c6WEQLdzgCfS0S7kfz6DOdv1pPd9w9iBvKpYaYAn3bL
efk9bmafKvgTFjUxWZV1jGR/
=I7D6
-----END PGP SIGNATURE-----



Re: does indexes need statistics?

От
Andrew Sullivan
Дата:
On Thu, Nov 24, 2005 at 07:43:28PM +0100, Mauricio Fernandez A. wrote:
> Is it necesary the statistics be enabled when I create indexes or to
> use them?

Uh, yes, but you can't turn them off.  I suspect I don't understand
your question.  Do you mean the "runtime statistics" section of the
configuration file?  If that's what you mean, then no.  Those aren't
the same thing as the statistical data used by the planner; the
latter is updated when you run "analyse".

A

-- 
Andrew Sullivan  | ajs@crankycanuck.ca
"The year's penultimate month" is not in truth a good way of saying
November.    --H.W. Fowler