Manage autovacuum process in postgres
Autovacuum methods automates the executions vacuum,freeze and analyze commands.
postgresql configurationintermediate
by PostgreSQL
14 views
Autovacuum methods automates the executions vacuum,freeze and analyze commands.
1234567891011121314
Autovacuum methods automates the executions vacuum,freeze and analyze commands.
dbaclass=#
select name,setting,short_desc,boot_val,pending_restart from pg_settings where name in ('autovacuum','track_counts');
name. | setting | short_desc | boot_val | pending_restart
--------------+---------+-------------------------------------------+----------+-----------------
autovacuum | on | Starts the autovacuum subprocess. | on | f
track_counts | on | Collects statistics on database activity. | on | f
(2 rows)
dbaclass=#
alter system set autovacuum_max_workers=10 ;
ALTER SYSTEM
Now restart :
pg_ctl stop
pg_ctl startPlease to add comments
No comments yet. Be the first to comment!