Sidekiq lento y Postmaster usando más del 95% de CPU (32 núcleos) después de la actualización de la versión de Postgresql

Maybe try running:

VACUUM FULL VERBOSE;

and (assuming your db name is ‘discourse’ which is default):

REINDEX DATABASE discourse;

This might be better than normal reindex, but I haven’t tested it: PostgreSQL 12 update