Schema Weakness Enumeration
A comprehensive catalog of database schema anti-patterns learned from real-world data integrity failures
26+
SWE Patterns
57
Real Incidents
8
Years of Data
15+
Industries
SWE Impact Landscape
Visualizing schema weaknesses by Cantorian magnitude and incident frequency
X-axis: Incident Frequency - How often this pattern causes failures in production systems
Bubble Size: Estimated remediation complexity
Security
Integrity
Performance
Availability
Understanding the Cantorian Scale
This scale reveals that some problems are not just larger in scale, but entirely different types of problems.
ℵ₀ (Countable) - Known and manageable complexity. Debt you can enumerate and systematically address.
- A non-atomic schema migration causing a brief outage during a rolling deployment (e.g., Deno Deploy, 2021).
- A single missing index causing performance degradation, which is fixable by adding the index back (e.g., Auth0, 2018).
ℵ₁ (Systemic) - Uncountable complexity emerges. Fixing one problem reveals unknown issues.
- For example, a monolithic database cluster becoming a bottleneck for numerous services, requiring functional partitioning to alleviate (e.g., GitHub `mysql1`, 2020).
- Outages caused by complex interactions between caching layers, database load, and maintenance activities (e.g., Slack, 2022; Honeycomb, 2023).
2^ℵ₀ (Chaotic) - Explosive chaos. The system becomes an unknown machine where fixes change behavior unpredictably.
- For example, decades-old, inadequate crew scheduling systems unable to cope with modern operational scale and disruption complexity, requiring complete replacement (e.g., Southwest Airlines, 2022).
- An architecture allowing broad, unconsented friend-of-friend data access via an API, leading to mass data harvesting with significant societal implications (e.g., Facebook/Cambridge Analytica, 2018).
Recent High-Impact Weaknesses
Browse by Cantorian Magnitude
Filter patterns by their technical debt complexity level
Explore by Category
Technology Focus
Browse by database technology and paradigm
RelationalNoSQLDistributedGraphAPIDesign+18 more
Application Type
Weaknesses common to specific industries
UniversalIoT, ApplicationType:SocialMediaFintechDataWarehousingMultiTenantSaaS+16 more
Primary Impact
Find patterns by their main consequence
PerformanceReliabilityDataIntegrityComplexityMaintainability+8 more
Weakness Pattern
Specific schema design anti-patterns
MissingIndexesDataTypeMisuseMissingConstraintsOverNormalizationUnderNormalization+38 more