On Tue, 2008-06-10 at 08:51 -0700, Nathan Boley wrote:
> >> > One more problem with low ndistinct values is that the condition might very well
> >> > hit no rows at all. But Idea 1 will largely overestimate the number of hits.
>
> Thats a good point, but I don't see a clear solution. Maybe we could
I think that MCVs are the solution, right? A low ndistinct means that
those values will likely be MCVs.
Since you brought up a different process for choosing MCVs, maybe a
better name might be "Most Interesting Values".
Regards,
Jeff Davis