pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter J. Holzer <hjp-pgsql@hjp.at>
To: pgsql-general@lists.postgresql.org
Subject: Re: Performance Issue after upgrade from 9 to 11
Date: Wed, 29 Jan 2020 23:33:38 +0100
Message-ID: <20200129223338.GA24207@hjp.at> (raw)
In-Reply-To: <CALvqh4rB4a71Cw+YiJ42PKaCrw7gDKzjyOgbZ4eMWTQmmVtoog@mail.gmail.com>
References: <CALvqh4rB4a71Cw+YiJ42PKaCrw7gDKzjyOgbZ4eMWTQmmVtoog@mail.gmail.com>

On 2020-01-29 09:39:03 -0800, Perumal Raj wrote:
> We have recently upgraded postgres from 9.2 to 11.6 and started seeing
> performance issue immediately and  able to fix the performance issue after
> disabling parameter: enable_seqscan.

How did you upgrade?

If your upgrade involved a dump and restore, you should invoke ANALYZE
for each database (I think autovacuum will analyze all tables
eventually, but takes its time).

        hp

-- 
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (8+ messages)  latest in thread

Message-ID: <20200129223338.GA24207@hjp.at>
Permalink:  ../20200129223338.GA24207@hjp.at/
Also on:    postgresql.org/message-id/20200129223338.GA24207@hjp.at

 · 

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 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-general@postgresql.org
  Cc: hjp-pgsql@hjp.at
  Subject: Re: Performance Issue after upgrade from 9 to 11
  In-Reply-To: <20200129223338.GA24207@hjp.at>
  References: <CALvqh4rB4a71Cw+YiJ42PKaCrw7gDKzjyOgbZ4eMWTQmmVtoog@mail.gmail.com> <20200129223338.GA24207@hjp.at>

* 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