citus/src
Jelte Fennema f508898c8d Use pg_total_relation_size in citus_shards (#6748)
DESCRIPTION: Correctly report shard size in citus_shards view

When looking at citus_shards, people are interested in the actual size
that all the data related to the shard takes up on disk.
`pg_total_relation_size` is the function to use for that purpose. The
previously used `pg_relation_size` does not include indexes or TOAST.
Especially the missing toast can have enormous impact on the size of the
shown data.

(cherry picked from commit b489d763e1)
2023-03-06 11:56:05 +01:00
..
backend Use pg_total_relation_size in citus_shards (#6748) 2023-03-06 11:56:05 +01:00
include [Columnar] Bugfix for Columnar: options ignored during ALTER TABLE rewrite (#6337) 2022-10-11 15:03:47 +03:00
test Use pg_total_relation_size in citus_shards (#6748) 2023-03-06 11:56:05 +01:00