Re: Plan changes from index scan to seq scan after 5 executions

From: Alexander Kukushkin <cyberdemn(at)gmail(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Plan changes from index scan to seq scan after 5 executions
Date: 2017-09-30 18:15:35
Message-ID: CAFh8B=k7mLxu1Nx5Ev_A38=yzZQo9Lp=V3nwCJcqRmnN3kvBqQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2017-09-30 18:43:39 Re: Plan changes from index scan to seq scan after 5 executions
Previous Message David G. Johnston 2017-09-30 18:03:32 Re: Plan changes from index scan to seq scan after 5 executions