pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Dutcher <dave@tridecap.com>
To: vincent.moreau@leroymerlin.fr
Cc: pgsql-performance@postgresql.org
Subject: Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3
Date: Tue, 13 Mar 2007 09:48:41 -0500
Message-ID: <011c01c7657e$b16e77c0$2e00a8c0@tridecap.com> (raw)
In-Reply-To: <45F6AF81.80201@leroymerlin.fr>

> From: pgsql-performance-owner@postgresql.org 
> [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of 
> vincent.moreau@leroymerlin.fr
> Subject: Re: [PERFORM] Execution plan changed after upgrade 
> from 7.3.9 to 8.2.3
> 
> 
> Increasing the default_statistics_target to 1000 did not help.
> It just make the vacuum full analyze to take longer to complete.

Just FYI when you change statistics you only need to run ANALYZE, not VACUUM
ANALYZE, and definetly not VACUUM FULL ANALYZE.

I don't know what else to suggest for this query since you can't change the
SQL.  I would talk to the vendor and ask them to add indexes if you know
that helps.

Dave




view thread (15+ messages)  latest in thread

Message-ID: <011c01c7657e$b16e77c0$2e00a8c0@tridecap.com>
Permalink:  ../011c01c7657e$b16e77c0$2e00a8c0@tridecap.com/
Also on:    postgresql.org/message-id/011c01c7657e$b16e77c0$2e00a8c0@tridecap.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: dave@tridecap.com, vincent.moreau@leroymerlin.fr
  Subject: Re: Execution plan changed after upgrade from 7.3.9 to 8.2.3
  In-Reply-To: <011c01c7657e$b16e77c0$2e00a8c0@tridecap.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