using an index worst performances

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема using an index worst performances
Дата
Msg-id cg2nrf$sc1$1@floppy.pyrenet.fr
обсуждение исходный текст
Ответы Re: using an index worst performances
Список pgsql-performance
Hi all,
I'm tring to optimize the following query:

http://rafb.net/paste/results/YdO9vM69.html

as you can see from the explain after defining the
index the performance is worst.

If I raise the default_statistic_target to 200
then the performance are worst then before:


Without index: 1.140 ms
With index: 1.400 ms
With default_statistic_targer = 200:   1.800 ms


tought anyone ?



Regards
Gaetano Mendola





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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Help specifying new machine
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: using an index worst performances