From: Tom Lane <tgl@sss.pgh.pa.us>
To: Perumal Raj <perucinci@gmail.com>
Cc: Peter J. Holzer <hjp-pgsql@hjp.at>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Performance Issue after upgrade from 9 to 11
Date: Wed, 29 Jan 2020 18:54:12 -0500
Message-ID: <4057.1580342052@sss.pgh.pa.us> (raw)
In-Reply-To: <CALvqh4qaQCgyMtKDXa_1xfodXwZtV_oYYLLJ+Cay5bq=SQd6Gw@mail.gmail.com>
References: <CALvqh4rB4a71Cw+YiJ42PKaCrw7gDKzjyOgbZ4eMWTQmmVtoog@mail.gmail.com>
<20200129223338.GA24207@hjp.at>
<CALvqh4qaQCgyMtKDXa_1xfodXwZtV_oYYLLJ+Cay5bq=SQd6Gw@mail.gmail.com>
Perumal Raj <perucinci@gmail.com> writes:
> I have used pg_upgrade which runs "analyze_new_cluster.sh" as post upgrade
> activity across all DB on cluster.
pg_upgrade itself won't run that script, it only creates it for you
to run.
> Also, I have executed manual vacuum on all individual tables. However the
> behavior is same until i disable the above said parameter.
Did those manual vacuums include an "analyze" option?
If you in fact haven't got analyze results on your tables, that might
explain your problems. autovacuum would eventually rectify the situation
for larger tables, but it might never get around to small seldom-updated
tables.
If that's not it, I again direct your attention to the
Slow_Query_Questions wiki page. That summarizes a lot of past experience
with solving performance problems, and you're not endearing yourself to
potential helpers by refusing to follow the process.
regards, tom lane
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: tgl@sss.pgh.pa.us, perucinci@gmail.com, hjp-pgsql@hjp.at
Subject: Re: Performance Issue after upgrade from 9 to 11
In-Reply-To: <4057.1580342052@sss.pgh.pa.us>
References: <CALvqh4rB4a71Cw+YiJ42PKaCrw7gDKzjyOgbZ4eMWTQmmVtoog@mail.gmail.com> <20200129223338.GA24207@hjp.at> <CALvqh4qaQCgyMtKDXa_1xfodXwZtV_oYYLLJ+Cay5bq=SQd6Gw@mail.gmail.com> <4057.1580342052@sss.pgh.pa.us>
* 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