Re: Difference in execution plans pg12 vs pg14 - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Difference in execution plans pg12 vs pg14
Date
Msg-id c5ee3acc-5ee8-1b42-7053-c927af5b6572@aklaver.com
Whole thread Raw
In response to Re: Difference in execution plans pg12 vs pg14  (Дмитрий Иванов <firstdismay@gmail.com>)
Responses Re: Difference in execution plans pg12 vs pg14
List pgsql-general
On 12/10/21 17:51, Дмитрий Иванов wrote:
> Yes, I did.
> I reset table statistics, did (VACUUM) ANALYZE, recreated index. Nothing 
> changes.
> I've deleted the database many times, dozens of times. Maybe something 
> is broken?

How did you do the upgrade?

> --
> Regards, Dmitry!
> 
> 
> сб, 11 дек. 2021 г. в 06:13, Adrian Klaver <adrian.klaver@aklaver.com 
> <mailto:adrian.klaver@aklaver.com>>:
> 
>     On 12/10/21 17:00, Дмитрий Иванов wrote:
>      > Afternoon. I was able to make the necessary changes to my base
>     needed to
>      > migrate win_pg12 to debian pg14.
>      > But there is a new problem, which was not there at the initial
>     stage so
>      > I checked:
>      >
>      > win_pg12:
>      > ->  Index Scan using index_class_tree_full on class c
>       (cost=0.28..2.50
>      > rows=1 width=235) (actual time=0.030..0.032 rows=1 loops=1)
>      >                       Index Cond: (id = 650)
>      > debian_pg14:
>      > ->  Index Scan using index_class_tree_full on class c
>       (cost=0.28..2.50
>      > rows=1 width=235) (actual time=842.795..842.796 rows=1 loops=1)
>      >                       Index Cond: (id = 650)
>      >
>      > I'm wondering where to dig next...
> 
>     Did you run ANALYZE(updates table stats) on the 14 instance after doing
>     the upgrade?
> 
>      > --
>      > Best regards, Dmitry!
> 
> 
>     -- 
>     Adrian Klaver
>     adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Дмитрий Иванов
Date:
Subject: Re: Difference in execution plans pg12 vs pg14
Next
From: Lucas
Date:
Subject: PostgreSQL 14 Slaves setup - Question about WAL Files recovery