Search Postgresql Archives

Re: Centos 6.9 and centos 7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On 4 Dec 2017, at 16:57, Nicola Contu <nicola.contu@xxxxxxxxx> 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 that off or anything, did you?). Bad statistics result in non-optimal query plans and therefore could very well cause your timing differences.

An easy way to verify, since you still have access to both versions of the database, is to compare the statistics of the relevant 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.






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux