using an index worst performances - Mailing list pgsql-performance

From Gaetano Mendola
Subject using an index worst performances
Date
Msg-id cg2nrf$sc1$1@floppy.pyrenet.fr
Whole thread Raw
Responses Re: using an index worst performances  (Richard Huxton <dev@archonet.com>)
List 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 by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Help specifying new machine
Next
From: Richard Huxton
Date:
Subject: Re: using an index worst performances