Re: Misestimate when applying condition like id = id

From: Michael Lewis <mlewis(at)entrata(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL General <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Misestimate when applying condition like id = id
Date: 2020-08-20 21:38:16
Message-ID: CAHOFxGq6EbYTBCXKPL7sO2jBZxXT1FXUdZQJkP-VnknJiTtO-g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks very much. I tested with a much bigger table and it seems that it is
using the default .005 selectivity for this integer column. Cool. Nice to
understand even if it was just a typo that had things going off the rails.

And thanks for your work 3 years ago for that commit.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2020-08-20 21:46:35 Re: Orphaned relations after crash/sigkill during CREATE TABLE
Previous Message David Rowley 2020-08-20 21:13:46 Re: Understanding EXPLAIN ANALYZE estimates when loops != 1