Skip to content

Commit

Permalink
Merge pull request #7 from ongres/fixvacuumcandidates
Browse files Browse the repository at this point in the history
fix sql/AutoVacuum/candidates-for-vacuum-freeze.sql to skip very smal…
  • Loading branch information
DiegoDAF committed Jun 22, 2023
2 parents df320ce + f28471e commit ec77671
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sql/AutoVacuum/candidates-for-vacuum-freeze.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ WITH per_table_stats AS (
WHERE
relkind IN ('r', 't', 'm')
AND n.nspname NOT IN ('pg_toast')
and pg_total_relation_size(c.oid) > 1000000 /* Skip small objects */
ORDER BY
oldest_current_xid DESC
)
Expand Down

0 comments on commit ec77671

Please sign in to comment.