Re: Performance weirdness with/without vacuum analyze - Mailing list pgsql-performance

From Josh Berkus
Subject Re: Performance weirdness with/without vacuum analyze
Date
Msg-id 200310201028.00146.josh@agliodbs.com
Whole thread Raw
In response to Performance weirdness with/without vacuum analyze  (Harry Broomhall <harry.broomhall@uk.easynet.net>)
Responses Re: Performance weirdness with/without vacuum analyze
List pgsql-performance
Harry,

>    It has been suggested to me that I resubmit this question to this list,
> rather than the GENERAL list it was originaly sent to.
>
>    I asked earlier about ways of doing an UPDATE involving a left outer
> join and got some very useful feedback.

The query you posted will always be somewhat slow due to the forced join
order, which is unavodable with a left outer join.

However, regarding your peculiar behaviour, please post:

1) Your random_page_cost and effective_cache_size settings
2) The EXPLAIN ANALYZE of each query instead of just the EXPLAIN

Thanks!

--
Josh Berkus
Aglio Database Solutions
San Francisco

pgsql-performance by date:

Previous
From: Harry Broomhall
Date:
Subject: Performance weirdness with/without vacuum analyze
Next
From: "scott.marlowe"
Date:
Subject: Re: PostgreSQL data on a NAS device ?