Search Postgresql Archives

RE: Issues on 9.5 to 9.6 Upgrade.

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

 



Ok, this seemed to solve it:

> vacuumdb -zv ; reindexdb -v

And we are back to full speed ....

Thanks for pointing out the ANALYZE ...

Ben Duncan - Business Network Solutions, Inc. 336 Elton Road Jackson MS, 39212
"Never attribute to malice, that which can be adequately explained by stupidity"
- Hanlon's Razor


-------- Original Message --------
Subject: Re: Issues on 9.5 to 9.6 Upgrade.
From: Adrian Klaver <adrian.klaver@xxxxxxxxxxx>
Date: Wed, June 13, 2018 11:45 am
To: bend@xxxxxxxxxxxx, Postgres General <pgsql-general@xxxxxxxxxxxxxx>

On 06/13/2018 09:44 AM, bend@xxxxxxxxxxxx wrote:
> Analyze the DB exactly how?

https://www.postgresql.org/docs/10/static/sql-analyze.html

>
> I did run a reindexdb after migration to no affect.
>
> Yeah the PLANS are a big difference ....
>
> Ben Duncan - Business Network Solutions, Inc. 336 Elton Road Jackson MS,
> 39212
> "Never attribute to malice, that which can be adequately explained by
> stupidity"
> - Hanlon's Razor
>
>
> -------- Original Message --------
> Subject: Re: Issues on 9.5 to 9.6 Upgrade.
> From: Don Seiler <don@xxxxxxxxx ><mailto:don@xxxxxxxxx>>
> Date: Wed, June 13, 2018 11:24 am
> To: bend@xxxxxxxxxxxx <mailto:bend@xxxxxxxxxxxx>
> Cc: Postgres General <pgsql-general@xxxxxxxxxxxxxx
> <mailto:pgsql-general@xxxxxxxxxxxxxx>>
>
> On Wed, Jun 13, 2018 at 11:16 AM, <bend@xxxxxxxxxxxx
> <mailto:bend@xxxxxxxxxxxx>> wrote:
>
>
> Can anyoen explain WHY there is such a big difference? Is it the
> SQL statement or a bug in the pgdump ?
>
>
> Did you analyze the database after upgrading? Or at least the tables
> in question? Those are very different plans.
>
> --
> Don Seiler
> www.seiler.us <http://www.seiler.us>
>


--
Adrian Klaver
adrian.klaver@xxxxxxxxxxx


[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