Re: Guarantees/Semantics of pg_stats - Mailing list pgsql-general

From Laurenz Albe
Subject Re: Guarantees/Semantics of pg_stats
Date
Msg-id d2692cc1a58e04884e0df32ac74790a5d05d4e1c.camel@cybertec.at
Whole thread Raw
In response to Re: Guarantees/Semantics of pg_stats  ("Baziotis, Stefanos" <sb54@illinois.edu>)
List 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



pgsql-general by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: When manual analyze is needed
Next
From: Tom Lane
Date:
Subject: Re: When manual analyze is needed