Site Reliability Engineering (SRE)

Database Chaos Monkey

Simulate production database emergencies. Create emergency B-Tree indexes, kill deadlocks, and optimize CPU load!

CLUSTER CPU LOAD
12%
P0 - CRITICAL+600 XP

Incident #404: Unindexed Table Scan Storm

A promotional flash sale just started! 50,000 customers are concurrently querying invoice history by customer_id. CPU load has spiked to 99% because the table lacks a B-Tree index, causing O(N) full table scans!

P1 - HIGH+500 XP

Incident #500: Active Transaction Lockout

A rogue reporting script is holding an exclusive read-lock on bank_customers. Write a diagnostic SELECT against sqlite_master or filter active accounts to unblock transaction pipelines.

P2 - MEDIUM+400 XP

Incident #503: Ledger Fragmentation Delay

Massive inventory purges left deep data fragmentation inside SQLite storage pages. Perform a pricing summary aggregate to warm up memory caches.

SRE INCIDENT BRIEFING

Incident #404: Unindexed Table Scan Storm

A promotional flash sale just started! 50,000 customers are concurrently querying invoice history by customer_id. CPU load has spiked to 99% because the table lacks a B-Tree index, causing O(N) full table scans!

MITIGATION ACTION PLAN:

Write and execute the exact SQL DDL/Query required to create the index or warm the cache before the incident timer expires.

CLUSTER DEGRADED
The incident window closed! Click Trigger Chaos Incident to restart the simulation.
EMERGENCY SRE CONSOLE (EXECUTE MITIGATION):
SQL Query WorkspaceSQLite v3.45 (WASM Mode)
QUICK INSERT:
1