Re: Centos 6.9 and centos 7 - Mailing list pgsql-general

From Alban Hertroys
Subject Re: Centos 6.9 and centos 7
Date
Msg-id CE3C09E1-A7ED-44CE-B88A-57E0401A4424@gmail.com
Whole thread Raw
In response to Re: Centos 6.9 and centos 7  (Nicola Contu <nicola.contu@gmail.com>)
List pgsql-general
> On 4 Dec 2017, at 16:57, Nicola Contu <nicola.contu@gmail.com> wrote:
>
> No I did not run a vacuum analyze. Do you want me to try with that first?

That means your statistics may not be up to date, although by now autovacuum should have done the job (you didn't turn
thatoff or anything, did you?). Bad statistics result in non-optimal query plans and therefore could very well cause
yourtiming differences. 

An easy way to verify, since you still have access to both versions of the database, is to compare the statistics of
therelevant tables between the two. They should be similar. 

Alban Hertroys
--
If you can't see the forest for the trees,
cut the trees and you'll find there is no forest.



pgsql-general by date:

Previous
From: Andres Freund
Date:
Subject: Re: [GENERAL] postmaster deadlock while logging after sysloggerexited
Next
From: sql2pg
Date:
Subject: Re: WAL reducing size