Re: A slow query - Mailing list pgsql-general

From Alban Hertroys
Subject Re: A slow query
Date
Msg-id 448EBEAE.1080200@magproductions.nl
Whole thread Raw
In response to A slow query  (Alban Hertroys <alban@magproductions.nl>)
List pgsql-general
Alban Hertroys wrote:
> Hi all,
>
> We're using some 3rd party product that uses inheritence, and the
> following query is rather slow on PostgreSQL 7.4.7 (debian stable). Any
> suggestions how to speed it up?

A few more datapoints:
- Database was vacuum full analyzed just before the query.
- The same query on mm_insrel takes just over 11s.
- The actual and estimated row numbers are accurate.

--
Alban Hertroys
alban@magproductions.nl

magproductions b.v.

T: ++31(0)534346874
F: ++31(0)534346876
M:
I: www.magproductions.nl
A: Postbus 416
    7500 AK Enschede

// Integrate Your World //

pgsql-general by date:

Previous
From: "surabhi.ahuja"
Date:
Subject: Re: delete seems to be getting blocked
Next
From: "jqpx37"
Date:
Subject: Re: Password for postgresql superuser?