{% if tables %} {% for t in tables %} {% set needs_vacuum = t.dead_tuples > 1000 or t.bloat_ratio > 20 %}