---
title: "Delayed Start Compute Operations – Triggering Event"
description: "Neon's 2025-05-16 us-east-1 outage was triggered when the Postgres planner for the control plane database switched to a suboptimal index for the Activity Monitor query that finds idle Computes to suspend."
url: "https://swe.quest/articles/delayed-start-compute-operations-triggering-event-db99144a3f6489a4"
canonical: "https://neon.com/blog/delayed-start-compute-operations-triggering-event"
source: "Neon"
published: "2025-05-30"
difficulty: "medium"
kind: "Incident"
reading_minutes: 4
tags: ["postgres","incident-response","query-engines","serverless","performance"]
---

# Delayed Start Compute Operations – Triggering Event

A post on [Neon](https://swe.quest/sources/neon.md), published 2025-05-30, 4 min read, Incident. Original: [https://neon.com/blog/delayed-start-compute-operations-triggering-event](https://neon.com/blog/delayed-start-compute-operations-triggering-event)

## Summary

Neon's 2025-05-16 us-east-1 outage was triggered when the Postgres planner for the control plane database switched to a suboptimal index for the Activity Monitor query that finds idle Computes to suspend. The resulting broad scan of the tens-of-millions-row computes table saturated CPU and pushed fetchEndpointWithCompute latency from hundreds of milliseconds to over 100 seconds. With suspensions stalled, running VMs grew past the planned 6,000 and IP allocation failed. Neon fixed it by running ANALYZE and wrapping the expensive subquery in a materialized CTE as an optimization fence. Planned follow-ups include more aggressive garbage collection to shrink the table and moving historical data to an OLAP system.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [Incidents & postmortems](https://swe.quest/tags/incident-response.md) (Reliability & operations)
- [Query engines](https://swe.quest/tags/query-engines.md) (Data & databases)
- [Serverless](https://swe.quest/tags/serverless.md) (Backend & APIs)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)

## Prerequisites

- Postgres query planner basics ([easy posts on PostgreSQL](https://swe.quest/tags/postgres.md?difficulty=easy))
- database indexes ([easy posts on Databases](https://swe.quest/tags/databases.md?difficulty=easy))
- SQL CTEs ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))

## Keywords

Neon, PostgreSQL, Activity Monitor, materialized CTE, ANALYZE, AWS us-east-1

## Related posts

- [Postmortem: Delayed Start Compute Operations](https://swe.quest/articles/postmortem-delayed-start-compute-operations-703bb5a68f31485c.md): Neon · 2025-05-21 · Medium · 4 min read · Incidents & postmortems, Kubernetes, Networking, Cloud platforms, Scaling
  A query plan change overloaded Neon's control plane database in AWS us-east-1, which stopped it from suspending idle databases.
- [Cold starts just got hot](https://swe.quest/articles/cold-starts-just-got-hot-2fb157f3acc4ca83.md): Neon · 2023-07-25 · Medium · 7 min read · Serverless, PostgreSQL, Performance engineering, System design
  Neon cut serverless Postgres compute cold starts from 3-6 seconds to roughly 500 ms by skipping work and reframing the problem.
- [Monitor These Key Neon Metrics Via Datadog](https://swe.quest/articles/monitor-these-key-neon-metrics-via-datadog-4c621c1afdac4161.md): Neon · 2024-11-12 · Medium · 5 min read · PostgreSQL, Observability, Caching, Performance engineering
  Neon now exports database metrics to Datadog via an API-key integration covering all computes in a project.
- [Incident Review: Pageserver outage in us-east-1](https://swe.quest/articles/incident-review-pageserver-outage-in-us-east-1-0597b32138c02b21.md): Neon · 2024-08-21 · Medium · 6 min read · Incidents & postmortems, Resilience, Distributed databases, PostgreSQL, Scheduling
  A sudden EC2 instance failure took down a Neon pageserver in us-east-1, leaving about 0.4% of projects unable to read uncached pages for 30 minutes to 2 hours.
- [A Recap on May/June Stability](https://swe.quest/articles/a-recap-on-may-june-stability-4b12711289993df6.md): Neon · 2025-07-16 · Medium · 6 min read · Incidents & postmortems, Scaling, Kubernetes, PostgreSQL, Serverless
  Neon's May and June 2025 incidents were caused by a load surge from agentic AI platforms.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
