Explicitly pass 0 as number of dead tuples to pgstat when vacuuming AO tables.
An argument can be made that hidden tuples in AO tables are similar to dead tuples for regular tables. However, the use of this information with regards to pgstats seems to be semantically distinct and consequently should not be exposed. As example after a VACUUM (FULL, ANALYZE) of an AO table, hidden tuples will remain if AO compaction thresholds are not met. It seems preferable to explicitly pass 0 instead of the already zero'd LVRelStats member for clarity. Reviewed-by: NDaniel Gustafsson <dgustafsson@pivotal.io> Reviewed-by: NHeikki Linnakangas <hlinnakangas@pivotal.io>
Showing
想要评论请 注册 或 登录