Re: Massive performance issues - Mailing list pgsql-performance

From Michael Fuhr
Subject Re: Massive performance issues
Date
Msg-id 20050901223436.GA44175@winnie.fuhr.org
Whole thread Raw
In response to Massive performance issues  (Matthew Sackman <matthew@lshift.net>)
List pgsql-performance
On Thu, Sep 01, 2005 at 06:42:31PM +0100, Matthew Sackman wrote:
>
>     "address_pc_top_index" btree (postcode_top)
>     "address_pc_top_middle_bottom_index" btree (postcode_top,
>                              postcode_middle, postcode_bottom)
>     "address_pc_top_middle_index" btree (postcode_top, postcode_middle)

This doesn't address the query performance problem, but isn't only
one of these indexes necessary?  The second one, on all three
columns, because searches involving only postcode_top or only
postcode_top and postcode_middle could use it, making the indexes
on only those columns superfluous.  Or am I missing something?

--
Michael Fuhr

pgsql-performance by date:

Previous
From: Matthew Sackman
Date:
Subject: Re: Massive performance issues
Next
From: Dan Harris
Date:
Subject: Re: Poor performance on HP Package Cluster