Re: Guarantees/Semantics of pg_stats

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: "Baziotis, Stefanos" <sb54(at)illinois(dot)edu>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Guarantees/Semantics of pg_stats
Date: 2024-03-04 04:14:23
Message-ID: d2692cc1a58e04884e0df32ac74790a5d05d4e1c.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, 2024-03-02 at 22:29 +0000, Baziotis, Stefanos wrote:
> Can I maybe get accurate information if the column has an index? In other words,
> are there any type of indexes through which I can get the number of distinct
> values or the values themselves, without needing to scan the column?

No.

Yours,
Laurenz Albe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2024-03-04 04:31:11 Re: When manual analyze is needed
Previous Message Laurenz Albe 2024-03-04 04:12:09 Re: When manual analyze is needed