Backfill Overwhelms Production
- Category
- Databases & Storage
- Difficulty
- Senior Staff
- Est. time
- ~25 min
A historical backfill competes with live traffic for one shared database, and the tempting fixes are either to flood it or to kill it forever — neither is the safe answer.
Database ContentionBatch vs. OLTPCapacity BudgetingPressure TransferHistorical DamageRecovery Lag
Primary Database Failover
- Category
- Databases & Storage
- Difficulty
- Staff
- Est. time
- ~15 min
The primary database is failing and a replica must be promoted — but promoting it too aggressively risks stale writes or two nodes accepting writes at once.
PostgreSQLFailoverReplicationHigh AvailabilityData Integrity
URL Shortener: Short-Code Collision Storm
- Category
- Databases & Storage
- Difficulty
- Senior
- Est. time
- ~14 min
A write-volume surge causes rising short-code collisions, and scaling allocator throughput looks like progress without fixing the undersized code space.
ID GenerationKeyspace SizingCapacity PlanningSystem Design
Connection Pool Starvation
🔒 Paid
- Category
- Databases & Storage
- Difficulty
- Intermediate
- Est. time
- ~12 min
- Access
- $9.99/mo with Pro
A deploy quietly shrinks the DB connection pool's max size — normal traffic alone is enough to exhaust it.
PostgresConnection PoolingConfiguration RegressionDeploysCapacity Planning
Database Connection Saturation
🔒 Paid
- Category
- Databases & Storage
- Difficulty
- Senior
- Est. time
- ~15 min
- Access
- $9.99/mo with Pro
A traffic spike exhausts the database connection pool while a batch job competes for the same capacity.
PostgresConnection PoolingReplicationCapacity PlanningBackpressure
Database Lock Contention
🔒 Paid
- Category
- Databases & Storage
- Difficulty
- Senior
- Est. time
- ~14 min
- Access
- $9.99/mo with Pro
A batch job's long-held row locks on a hot table block normal writes behind it, piling up blocked transactions.
PostgresLockingConcurrencyBatch ProcessingCapacity Planning
- Category
- Databases & Storage
- Difficulty
- Senior
- Est. time
- ~16 min
- Access
- $9.99/mo with Pro
Two services acquiring database locks in inconsistent order are deadlocking each other on every concurrent checkout.
PostgreSQLDeadlocksTransactionsLockingConcurrency
Hot Database Partition
🔒 Paid
- Category
- Databases & Storage
- Difficulty
- Staff
- Est. time
- ~20 min
- Access
- $9.99/mo with Pro
A handful of high-volume tenants are overloading one database partition while the rest of the cluster sits idle, and scaling broadly only makes it worse.
ShardingPartitioningMulti-TenancyRoutingCapacity
Missing Database Index
🔒 Paid
- Category
- Databases & Storage
- Difficulty
- Intermediate
- Est. time
- ~12 min
- Access
- $9.99/mo with Pro
A recently deployed query path is scanning the entire orders table as traffic climbs, and scaling the API layer alone only makes it worse.
PostgreSQLIndexingQuery PerformanceCapacityConnection Pooling
Multi-AZ Storage Failure During Live Migration
🔒 Paid
- Category
- Databases & Storage
- Difficulty
- Staff
- Est. time
- ~20 min
- Access
- $9.99/mo with Pro
AZ-A's volumes degrade mid-migration, and the migration controller's own retries cascade the overload onto the one AZ that was still healthy.
Multi-AZStorage MigrationCascading FailureRetry StormsCapacity
- Category
- Databases & Storage
- Difficulty
- Senior
- Est. time
- ~14 min
- Access
- $9.99/mo with Pro
A write-heavy batch job pushes read replica lag into a critical backlog, serving stale data to consistency-sensitive consumers.
ReplicationConsistencyPostgresRead ScalingIdempotency
Schema Migration Under Live Traffic
🔒 Paid
- Category
- Databases & Storage
- Difficulty
- Principal
- Est. time
- ~20 min
- Access
- $9.99/mo with Pro
Old and new app versions are writing incompatible row shapes to one shared database mid-migration, and rollback is not automatically safe.
Schema MigrationExpand/ContractRollbackBackfillData Integrity
Slow Query Regression
🔒 Paid
- Category
- Databases & Storage
- Difficulty
- Senior
- Est. time
- ~14 min
- Access
- $9.99/mo with Pro
A deploy-induced query plan regression drops a hot query's index usage, pushing database CPU into a critical full-table-scan spiral.
PostgresQuery PlanningIndexingPerformanceCapacity Planning
Storage IOPS Saturation
🔒 Paid
- Category
- Databases & Storage
- Difficulty
- Senior
- Est. time
- ~12 min
- Access
- $9.99/mo with Pro
A background compaction job is saturating storage IOPS, and the fastest customer-facing relief comes at the direct cost of the batch job's own progress.
StorageIOPSCapacityCheckpointingBatch Processing
Write Amplification from Misconfigured Storage Compaction
🔒 Paid
- Category
- Databases & Storage
- Difficulty
- Senior Staff
- Est. time
- ~20 min
- Access
- $9.99/mo with Pro
Disk IOPS saturate under routine traffic — but the real cause is a compaction setting misconfigured three weeks earlier, not the traffic itself.
Storage EngineCompactionWrite AmplificationLSM TreeIOPSConfiguration Drift