SQL

Relational database management system (RDBMS)

Why SQL

ACID

Methods of scale

Replication

Master-slave replication

Disadvantages

Master-master replication

Disadvantages

Federation

Advantages
Disadvantages

Sharding

Advantages
Disadvantages

Denormalisation

Disadvantage(s):

SQL tuning

Important to benchmark and profile to simulate and uncover bottlenecks

Optimisations
Tighten up the schema
Use good indices
Avoid expensive joins
Tune the query cache