The High Percentage of Queries Waiting" alarm in PostgreSQL is currently calculated by analyzing all of the backends (processes) that are in a waiting condition and compares them to the number that are NULL.
In a database with little activity, a number of background processes will add weight to the total number of processes, causing the alarm to fire.
Is it possible to filter out some of the system processes such as these?
- LogicalLauncherMain
- AutoVacuumMain
- WalSenderMain
- BgWriterHibernate
- CheckpointerMain
- WalWriterMain