Clerk

Postmortem: Clerk System Outage (February 19, 2026)

Answers How can Postgres statistics take down a whole service?

A routine automatic ANALYZE sampled too few rows, concluded a column was 100% NULL and flipped Postgres to a plan that traversed over 17,000 rows. Slow queries queued up until more than 95% of requests got 429s…

The problem
An automatic ANALYZE misread a column as 100% NULL and Postgres switched to a much slower query plan.
What they did
Clerk enabled a new session-token failover, then re-ran ANALYZE manually to restore the previous plan.
The result
Service recovered about 90 minutes in; Clerk raised the statistics target and refactored the query.

Why read it A statistics sample, not a deploy, took down an auth provider, and a customer’s retries looked like the cause.

Summarised from the original source by Informa AI. The full story, and every claim in it, belongs to the publisher.

Explore all Curiosity Cards →