Hello, my backstage instance has recently started consuming a large amount of database CPU on our Postgres instance. I am working to troubleshoot what direct change may have caused this.
Particularly when monitoring the pg_stat_activity table, I see a cycle of transactions being opened, some selects, and some updates which seems to also trigger autovaccuum on the refresh_state and refresh_state_references table. At the surface this cycle could seem to be the cause: these both appear to be relatively large tables so I could imagine auto vacuum and those queries at such frequency could drive up CPU usage.
Does anyone have insight on the cause of this or potential mitigation?