Menu

Why Modern Databases Never Break When You Add Columns: The Three-Schema Architecture Explained
📰

Why Modern Databases Never Break When You Add Columns: The Three-Schema Architecture Explained

DEV Community: sql·Binary Dose·3 days ago
#bjIJY1Pf
#devtosql#devto#dev#schema#database
Reading 0:00
15s threshold

In early file processing systems, whenever an engineer altered a data record format on tape, every single software application reading that file had to be recompiled and rewritten.

The ANSI/SPARC framework solved this fatal coupling in 1975 by defining the Three-Schema Database Architecture .

1. The Three Schema Tiers

External Schema (View Level) : Describes the subset of the database relevant to a specific user group or application. A database typically hosts many external schemas, each masking sensitive columns.

Conceptual Schema (Logical Level) : Describes the entire logical structure of the database—all entity types, attributes, relationships, user operations, and integrity constraints. There is strictly one conceptual schema per database.

Internal Schema (Physical Level) : Describes the physical storage structure—record formats, block allocation, page sizes, B-Tree indices, hashing paths, and compression.

2.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.