Alena Rybakina writes:
> On 23.06.2023 14:28, Andrey Lepikhov wrote:
>> On 2/5/2012 20:34, Tom Lane wrote:
>>> On reflection I think that the idea of clamping ndistinct beforehand is
>>> just wrong, and what we ought to do instead is apply a multiplier to the
>>> selectivity estimate afterwards.
On 23.06.2023 14:28, Andrey Lepikhov wrote:
On 2/5/2012 20:34, Tom Lane wrote:
On reflection I think that the idea of clamping ndistinct beforehand is
just wrong, and what we ought to do instead is apply a multiplier to the
selectivity estimate afterwards. In the case of a base rel we could
jus
On 2/5/2012 20:34, Tom Lane wrote:
On reflection I think that the idea of clamping ndistinct beforehand is
just wrong, and what we ought to do instead is apply a multiplier to the
selectivity estimate afterwards. In the case of a base rel we could
just multiply by the selectivity of its baserest