Hello All, If autovacuum of a large PostgreSQL table is in progress, and I start a manual vacuum on the table, is there likely to be a conflict (locking etc.) between the two vacuums? I did the following tests: - ALTER TABLE <table_name> SET (autovacuum_vacuum_scale_factor = 0.0); ALTER TABLE <table_name> SET (autovacuum_vacuum_threshold = 1); The deleted a few rows from table <table_name>. This triggered an autovacuum in a minute or two. While this autovacuum was in progress I started a manual vacuum from another session while monitoring pg_stat_activity.
- My tests showed two conflicting results, one of which I am not able to repeat:
Thanks, Mahesh |