Re: good experience with performance in 8.2 for multi column indexes - Mailing list pgsql-general

From Tom Lane
Subject Re: good experience with performance in 8.2 for multi column indexes
Date
Msg-id 9717.1208529839@sss.pgh.pa.us
Whole thread Raw
In response to good experience with performance in 8.2 for multi column indexes  (Michael Enke <michael.enke@wincor-nixdorf.com>)
Responses Re: good experience with performance in 8.2 for multi column indexes  (Michael Enke <michael.enke@wincor-nixdorf.com>)
List pgsql-general
Michael Enke <michael.enke@wincor-nixdorf.com> writes:
> For my setup, in 8.1 a delete query which deletes 200000 entries depending on rows in another table
> runs about 7h, in 8.2 (and later) it runs 9s!

If those rowcount estimates are even close to accurate, there's no
reason for the hash plan to be so much faster than the indexscan.
I think the real issue is somewhere else.  Do you have any triggers
or foreign keys on this table?

            regards, tom lane

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: How do I measure user disk usage on Postgresql table?
Next
From: Keaton Adams
Date:
Subject: How to tell if 64 bit vs 32 bit engine?