What it is
The logs show statement timeouts (SQLSTATE 57014) or a cluster of slow queries.
Why it matters
Queries are exceeding their time limit, so those requests fail outright. It usually means a query that was fine at a smaller table size has crossed the point where its plan stopped working — a missing index most of the time.
How to fix it
Identify the statements timing out and run EXPLAIN ANALYZE on them. Look for sequential scans on large tables and add the missing index; check the Supabase performance advisors, which often name it directly.
Run them all on your app
Connect your repo and your live services with read-only scopes. The first scan is free, and nothing changes without your approval.