From: Josh Berkus <josh@agliodbs.com>
To: Harry Broomhall <harry.broomhall@uk.easynet.net>
To: pgsql-performance@postgresql.org
Subject: Re: Performance weirdness with/without vacuum analyze
Date: Mon, 20 Oct 2003 10:28:00 -0700
Message-ID: <200310201028.00146.josh@agliodbs.com> (raw)
In-Reply-To: <200310201650.RAA12431@haeb.noc.uk.easynet.net>
References: <200310201650.RAA12431@haeb.noc.uk.easynet.net>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: josh@agliodbs.com, harry.broomhall@uk.easynet.net
Subject: Re: Performance weirdness with/without vacuum analyze
In-Reply-To: <200310201028.00146.josh@agliodbs.com>
References: <200310201650.RAA12431@haeb.noc.uk.easynet.net> <200310201028.00146.josh@agliodbs.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox