Tagged articles
4 articles
Page 1 of 1
macrozheng
macrozheng
Apr 16, 2025 · Databases

Why Enterprises Shun Foreign Keys: Performance Risks and Alternatives

Although foreign keys enforce referential integrity, many enterprises avoid them because they can slow inserts, cause blocking cascade updates, trigger database update storms in high‑concurrency environments, and complicate sharding, leading developers to prefer redundant fields and handle relationships at the application layer.

Database PerformanceForeign Keymysql
0 likes · 6 min read
Why Enterprises Shun Foreign Keys: Performance Risks and Alternatives
21CTO
21CTO
Sep 28, 2023 · Databases

8 Common Database Design Mistakes and How to Fix Them

This article outlines eight frequent database design pitfalls—ignoring data purpose, poor normalization, redundancy, weak referential integrity, underusing engine features, composite primary keys, bad indexing, and confusing naming conventions—and provides practical guidance on how to avoid or correct each issue.

best practicesindexingnormalization
0 likes · 10 min read
8 Common Database Design Mistakes and How to Fix Them
ITPUB
ITPUB
Jun 10, 2020 · Databases

When Should You Use Foreign Keys? Benefits, Risks, and Performance Impact

This article explains what foreign keys are, how they enforce referential integrity in relational databases, the different actions (RESTRICT, CASCADE, SET NULL), their performance overhead demonstrated by benchmarks, and practical guidelines for simulating or using foreign keys in high‑concurrency applications.

CascadingDatabase designForeign Key
0 likes · 14 min read
When Should You Use Foreign Keys? Benefits, Risks, and Performance Impact