Skip to main content
Back to Tags

Data Modeling

19 items tagged with "data-modeling"

Filter by type:

Anti-Patterns11

Anti-Pattern

God Table

A single table accumulating dozens or hundreds of unrelated columns for many concepts, becoming a contention and maintenance bottleneck.

Anti-Pattern

Entity-Attribute-Value (EAV) Abuse

Storing arbitrary attributes as rows of name/value pairs to fake a schemaless model, sacrificing type safety, integrity, and query performance.

Anti-Pattern

One True Lookup Table (OTLT)

Cramming every reference list into one generic lookup table keyed by category, defeating foreign keys and mixing unrelated domains.

Anti-Pattern

Premature Denormalization

Duplicating data across tables for speed before any measured need, creating update anomalies and integrity bugs to solve a problem you may not have.

Anti-Pattern

Over-Normalization

Splitting data into so many tables that every read requires a sprawl of joins, hurting performance and readability with no integrity benefit.

Anti-Pattern

Storing Everything as JSON Blobs

Dumping structured data into opaque JSON text columns by default, abandoning constraints, indexing, and queryability the database would provide.

Anti-Pattern

Natural Primary Keys Misuse

Using mutable, business-meaningful values like email or SSN as primary keys, so a real-world change cascades breakage through every referencing row.

Anti-Pattern

Soft Delete Everywhere

Adding an is_deleted flag to every table by default, so all queries must filter it, integrity decays, and tables bloat with dead rows.

Anti-Pattern

Timestamp Without Time Zone

Storing instants in local time without zone information, so values are ambiguous across regions and DST shifts, corrupting ordering and reporting.

Anti-Pattern

Floating-Point for Money

Storing monetary amounts in binary floating point, so rounding errors accumulate and totals fail to reconcile to the cent.

Anti-Pattern

Schemaless Sprawl

Treating a schemaless store as license to skip data design, so documents drift into inconsistent shapes that no consumer can reliably read.