I have an Azure PostgreSQL (version 12) flexible server that has been running at 100% CPU utilization for the last 4 days and the server is currently using 70% of the storage. The Compute core is Standard B1ms (1 vCPU and 2GB Memory)
I have checked SELECT max(now() - xact_start) FROM pg_stat_activity WHERE state IN ('idle in transaction', 'active');
and the response is 00:00:00
I have also checked the command SELECT * FROM pg_stat_activity;
and the only applications runnings are autovacuum launcher, pgms_stats_background_worker, pg_qs_background_worker, logical replication launcher, background writer, checkpointer and walwriter
Since there is no query or active background process running, I am out of ideas on what the actual issue could be. Any assistance for this is appreciated.