Inspect PostgreSQL 19 Autovacuum Priority Scores and Parallel Index Vacuum from a Desktop GUI
PostgreSQL 19 adds autovacuum prioritization and parallel index vacuum. In HiDataLinker, inspect pg_stat_autovacuum_scores and SHOW autovacuum_max_parallel_workers in the SQL editor — the app does not edit postgresql.conf, raise that setting, or run autovacuum.
正文目前为英文。
On 19 November 2026 the PostgreSQL Global Development Group announced PostgreSQL 19. The 19.0 release notes headline parallel autovacuum of table indexes and autovacuum prioritization through a new scoring system. The same release adds pg_stat_autovacuum_scores, so you can see how the server currently ranks tables.
This guide shows how to inspect those scores — and whether parallel index vacuum is even enabled — from HiDataLinker, a free MIT PostgreSQL desktop GUI (MySQL in the same client): local-first credentials, URL paste, Dump / same-engine migrate, and no seat, connection, or tab freemium wall.
These statements require a PostgreSQL 19+ server (SELECT version();).
What HiDataLinker actually ships
HiDataLinker v1.3.0 includes a SQL editor and a result grid. Paste a postgresql:// URL or DATABASE_URL, keep the profile on your machine, and run SHOW autovacuum_max_parallel_workers and SELECT from pg_stat_autovacuum_scores yourself.
It does not ship an autovacuum dashboard, a postgresql.conf or GUC editor, or a control that raises autovacuum_max_parallel_workers. It does not start, stop, or schedule vacuum. The PostgreSQL 19 server computes the scores and, if configured, launches parallel index-vacuum workers; the desktop client only sends the SQL and displays the result.
1. Connect to a PostgreSQL 19 server
- Install from hidatalinker.onesolo.app.
- Open New Connection — paste the URI or fill host, port, user, password, and database. See paste a DATABASE_URL.
- Test, then connect. Profiles stay on your machine — local-first, no hosted workspace.
- In the SQL editor, run
SELECT version();and confirm you are on PostgreSQL 19 or newer.
2. Check whether parallel index vacuum is enabled
The official announcement says autovacuum can now vacuum indexes with parallel workers, controlled by autovacuum_max_parallel_workers. In the SQL editor (⌘/Ctrl+Enter):
SHOW autovacuum_max_parallel_workers;
SHOW max_parallel_workers;
The documented default is 0, which disables parallel vacuum during autovacuum. Official docs say the limit applies to the index vacuuming and index cleanup phases of a single autovacuum worker, and that the actual worker count is also limited by max_parallel_workers. The parameter can only be set in postgresql.conf or on the server command line; a table's autovacuum_parallel_workers storage parameter can reduce it, not raise the cluster cap. HiDataLinker cannot edit the config file or restart the instance.
Parallel vacuum launches workers only when a table has at least two indexes that are large enough (min_parallel_index_scan_size), and the server does not guarantee it will use the calculated number of workers. If SHOW returns 0, parallel autovacuum of indexes is off — a server configuration fact, not something the desktop client can flip.
3. Inspect pg_stat_autovacuum_scores
The autovacuum prioritization docs describe a two-step choice: the launcher picks a database (wraparound risk first, otherwise the database processed least recently), then a worker scores tables and sorts them. Each table's overall score is the maximum of several component scores (transaction ID age, multixact age, vacuum, vacuum-insert, and analyze).
The pg_stat_autovacuum_scores view has one row per table in the current database, including TOAST tables. Official docs warn that it is not a completely reliable indicator of which tables autovacuum will process and in what order, because it uses current source information that may differ from what a worker saw when it built its list.
SELECT schemaname, relname, score,
xid_score, mxid_score, vacuum_score,
vacuum_insert_score, analyze_score,
do_vacuum, do_analyze, for_wraparound
FROM pg_stat_autovacuum_scores
WHERE schemaname NOT IN ('pg_catalog', 'information_schema')
ORDER BY score DESC
LIMIT 100;
HiDataLinker's result grid caps unsized queries at about 500 rows, with a hard cap of about 5,000.
Per the official column descriptions, score is the sort key autovacuum would use; do_vacuum / do_analyze can still be false if autovacuum is disabled; and for_wraparound marks a wraparound-prevention vacuum. This query only inspects scores — it does not start vacuum.
Official limits
- These objects are PostgreSQL 19+; they will not exist as documented on 18 and earlier.
autovacuum_max_parallel_workersdefaults to0and can only be set inpostgresql.confor on the server command line.- The scores view covers the current database only, includes TOAST tables, and is not a completely reliable predictor of worker order.
- HiDataLinker does not edit GUCs or run autovacuum for you, and has no vacuum-progress dashboard. A manual
VACUUM(orVACUUM (PARALLEL n)) in the SQL editor is ordinary SQL, not an in-app maintenance wizard.
HiDataLinker is a thin Tauri desktop app for PostgreSQL and MySQL — paste DATABASE_URL, keep creds local, and avoid seat / connection / tab freemium walls. Honest v1: MySQL + PostgreSQL as marketed; not an autovacuum console or GUC editor. Overview: /db-client.
Soft next step
Need a desktop GUI that can run SHOW autovacuum_max_parallel_workers and query pg_stat_autovacuum_scores on PostgreSQL 19, without a freemium wall?
- Download: https://hidatalinker.onesolo.app/
- Source: https://github.com/henrybit/HiDataLinker