Обсуждение: pgstattuple - can it/does it provide stats by partition?

Поиск
Список
Период
Сортировка

pgstattuple - can it/does it provide stats by partition?

От
Dragam
Дата:
Hi all,

As the title says - does (and/or can) pgstattuple provide a breakdown by partition?

Any further info needed, please let me know.

TIA and rgs,

Dragam



Envoyé avec la messagerie sécurisée Proton Mail.

Re: pgstattuple - can it/does it provide stats by partition?

От
Ron Johnson
Дата:
On Sat, Jun 15, 2024 at 9:47 AM Dragam <dragam@protonmail.com> wrote:
Hi all,

As the title says - does (and/or can) pgstattuple provide a breakdown by partition?

Partitions are tables, created via CREATE TABLE.  I know from experience that it works on inheritance tables; what happens when you try pgstattuple() on a small test partition?