apps/docs/content/troubleshooting/high-cpu-usage.mdx
Learn what high CPU usage could mean for your Supabase instance and what could have caused it.
Every Supabase project runs in its dedicated virtual machine. Your instance will have a different set of hardware provisioned depending on your compute add-on. Your hardware may not be suitable for the intended workload and may experience high CPU usage.
High CPU usage could come with a range of issues:
Moreover, your instance might not be able to handle future traffic spikes if it already has a high CPU usage.
You can check your CPU usage directly on the Supabase Platform. For this go to database health in the Observability section and select your project.
It is also possible to monitor your resources and set up alerts using Prometheus/Grafana. You can find a guide for this here.
Everything you do with your Supabase project requires compute. Hence, there can be many reasons for high CPU usage. Here are some common ones:
There are two ways to solve high CPU: