PostgreSQL index size and value number
pg_table_size(‘index_name’) for individual index – but it only shows you the size on disk, not the number of entries. count(*) to get the exact current number of rows sum(pg_column_size(column_name)) from table_name for estimations on column data size. You can try something like: t=# \di+ tbl* List of relations Schema | Name | Type | Owner … Read more