Re: [GENERAL] Plan changes from index scan to seq scan after 5 executions - Mailing list pgsql-general

From Alexander Kukushkin
Subject Re: [GENERAL] Plan changes from index scan to seq scan after 5 executions
Date
Msg-id CAFh8B=k7mLxu1Nx5Ev_A38=yzZQo9Lp=V3nwCJcqRmnN3kvBqQ@mail.gmail.com
Whole thread Raw
In response to Re: [GENERAL] Plan changes from index scan to seq scan after 5 executions  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: [GENERAL] Plan changes from index scan to seq scan after 5 executions
List pgsql-general
Hi David,

sorry, absolutely forgot about important stuff like version.
Original problem has been found on 9.4.9, but I was able to reproduce it on 10rc1.

localhost/postgres=# select version();
                                                     version                                                    
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 PostgreSQL 10rc1 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609, 64-bit
(1 row)

pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: [GENERAL] Plan changes from index scan to seq scan after 5 executions
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] Plan changes from index scan to seq scan after 5 executions