Thread: Question about autovacuum function autovac_balance_cost()

Question about autovacuum function autovac_balance_cost()

From
CNG L
Date:
I am new to the autovacuum. After reading its code, I am still confusing what is the autovac_balance_cost() and how the cost logic works to make the autovacuum workers consume the I/O equially. Can anyone share some light on it?

Thanks