Database Schemas

Complete Guide to Database Schema Design

What Is a Database Schema?

Simply put, a database schema is a formal description of the structure or organization of a particular database (DB). The term database schema is most commonly used for relational databases, which organize information in tables and use the SQL query language. Non-relational (or “NoSQL”) databases come in several different formats and don't have a “schema” in the same way that relational databases do (although they do have an underlying structure).

Related Reading: SQL vs. NoSQL: 5 Critical Differences

There are two fundamental components of any database schema:

The definition of physical tables in the schema comes from the logical data model. Entities become tables, entity attributes become table fields, etc.

6 Types of Database Schemas

Learn more about the six most common database schema types below:

#database