pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: avinash varma <avinashvarma443@gmail.com>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Subject: Re: Planning time is high in Postgres 11.5 Compared with Postgres 10.11
Date: Tue, 17 Dec 2019 13:07:51 +0100
Message-ID: <20191217120751.34fmwkshfanjqws2@development> (raw)
In-Reply-To: <CADaHE9Hw=rXF-bciEFKxzpwdAZUFnT1sofw-kPAUn6WXUF1LUA@mail.gmail.com>
References: <ac25d46b-07a0-1e54-0386-2cfed6941119@iki.fi>
	<CADaHE9F1UKPwPeNvrkw_a-a7mkse_U3nVxRwwRfLekzaLj1ESw@mail.gmail.com>
	<24176.1576509007@sss.pgh.pa.us>
	<CADaHE9GP8knYanAZS5-Z_KqsMHrZ+_4v5wvvBLc7NJSSzqBFWw@mail.gmail.com>
	<12053.1576513014@sss.pgh.pa.us>
	<CADaHE9GgZa7AeWX=6vaV_m-4GCHiVdoVD68VUHk5uXS6LxVXdg@mail.gmail.com>
	<CAFj8pRCZLZ-vVrQRjYUd63vO9y_DTeWLLxp6pRzQ+o1RMXX70w@mail.gmail.com>
	<CADaHE9EZabirJ6yqTCB7j7ZPJ-waXWSidX7qsO+BCCD+aDbCCQ@mail.gmail.com>
	<CAFj8pRBA12DHHNb=S5rK6YW5kSGhpSxQp6xh0AKpY036J36DCg@mail.gmail.com>
	<CADaHE9Hw=rXF-bciEFKxzpwdAZUFnT1sofw-kPAUn6WXUF1LUA@mail.gmail.com>

On Tue, Dec 17, 2019 at 05:04:18PM +0530, avinash varma wrote:
>>> b) can you compare size of databases, indexes?
>I used the same backup  to restore on V10 and V11 . So the no: of indexes
>and size of databases are same.
>
>One observation is that after pg_restore, we are doing vacuum full analyze
>on both V10 and V11.
>
>This is causing the slowness on V11 . Before vacuum analyze , same query is
>performing well on V11.
>
>Is there any changes in the analyze script in V11 when compared to V10.
>

You've been asked (at least) twice to check size of statistics stored in
pg_stats. It's really hard to help you when you don't provide important
information like this.

regards

-- 
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services 





view thread (13+ messages)  latest in thread

Message-ID: <20191217120751.34fmwkshfanjqws2@development>
Permalink:  ../20191217120751.34fmwkshfanjqws2@development/
Also on:    postgresql.org/message-id/20191217120751.34fmwkshfanjqws2@development

 · 

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-bugs@postgresql.org
  Cc: tomas.vondra@2ndquadrant.com, avinashvarma443@gmail.com, pavel.stehule@gmail.com, tgl@sss.pgh.pa.us, hlinnaka@iki.fi
  Subject: Re: Planning time is high in Postgres 11.5 Compared with Postgres 10.11
  In-Reply-To: <20191217120751.34fmwkshfanjqws2@development>
  References: <ac25d46b-07a0-1e54-0386-2cfed6941119@iki.fi> <CADaHE9F1UKPwPeNvrkw_a-a7mkse_U3nVxRwwRfLekzaLj1ESw@mail.gmail.com> <24176.1576509007@sss.pgh.pa.us> <CADaHE9GP8knYanAZS5-Z_KqsMHrZ+_4v5wvvBLc7NJSSzqBFWw@mail.gmail.com> <12053.1576513014@sss.pgh.pa.us> <CADaHE9GgZa7AeWX=6vaV_m-4GCHiVdoVD68VUHk5uXS6LxVXdg@mail.gmail.com> <CAFj8pRCZLZ-vVrQRjYUd63vO9y_DTeWLLxp6pRzQ+o1RMXX70w@mail.gmail.com> <CADaHE9EZabirJ6yqTCB7j7ZPJ-waXWSidX7qsO+BCCD+aDbCCQ@mail.gmail.com> <CAFj8pRBA12DHHNb=S5rK6YW5kSGhpSxQp6xh0AKpY036J36DCg@mail.gmail.com> <CADaHE9Hw=rXF-bciEFKxzpwdAZUFnT1sofw-kPAUn6WXUF1LUA@mail.gmail.com> <20191217120751.34fmwkshfanjqws2@development>

* 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