Re: Performance regression between 8.3 and 8.4 on heavy text indexing

Поиск
Список
Период
Сортировка
От Guillaume Smet
Тема Re: Performance regression between 8.3 and 8.4 on heavy text indexing
Дата
Msg-id 1d4e0c10908271520q65450977yc7ddac8760079c68@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Performance regression between 8.3 and 8.4 on heavy text indexing  (gael@pilotsystems.net (Gaël Le Mignot))
Список pgsql-performance
2009/8/27 Gaël Le Mignot <gael@pilotsystems.net>:
> The  weird thing  was  that with  the  default of  100 for  statistics
> target, it was  worse than when we  moved back to 10. So  I didn't try
> with 1000, but I should have.

When you have so much data and a statistics target so low, you can't
expect the sample taken to be representative :between different runs
of ANALYZE, you can have totally different estimates and so totally
different plans. You just were lucky at 10 and unlucky at 100.

Thanks for your feedback and it's nice to see your problem solved.

--
Guillaume

В списке pgsql-performance по дате отправления:

Предыдущее
От: gael@pilotsystems.net (Gaël Le Mignot)
Дата:
Сообщение: Re: Performance regression between 8.3 and 8.4 on heavy text indexing
Следующее
От: Jean-Michel Pouré
Дата:
Сообщение: Re: PostgreSQL does CAST implicitely between int and a domain derived from int