Schema
The shape of the data: which tables exist, which columns each has and what type of data goes where.
Example
The schema says the users table has 3 columns and 'age' is a number: the database rejects 'twenty'.
Test yourself: Schema
Databases
The schema defines what type of data goes in each column.
If 'age' is a number, the database accepts 20 and rejects the text 'twenty'.
SQL or NoSQL
You want to add a 'nickname' field to only some users. Where is it easier?
In NoSQL, 10 users can have 'nickname' and 990 not, without touching anything else.
0/2
â–¶ PlayLessons that use it
Databases
Where data is kept
SQL databases
Tables that relate
NoSQL databases
Beyond tables
SQL or NoSQL
Picking the right database
Sharding
Splitting the database into pieces
Database federation
Several databases that look like one
Microservices done right
Microservices without traps
GraphQL and gRPC
Other ways to talk to an API
The design steps
From data to bottlenecks
