Re: extended statistics n-distinct on multiple columns not used when join two tables

David Rowley <dgrowleyml@gmail.com>

From: David Rowley <dgrowleyml@gmail.com>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>, "James Pang (chaolpan)" <chaolpan@cisco.com>
Date: 2023-06-22T00:53:10Z
Lists: pgsql-hackers, pgsql-performance
On Tue, 13 Jun 2023 at 23:29, Pavel Stehule <pavel.stehule@gmail.com> wrote:
>> I think it's probably worth adjusting the docs to mention this. It
>> seems like it might be something that could surprise someone.
>>
>> Something like the attached, maybe?
>
> +1

Ok, I pushed that patch.  Thanks.

David



Commits

  1. Doc: mention that extended stats aren't used for joins