Online Transaction Processing - OLTP

Expectations:

Traditional Monolithic Stack

Section What is there
Application Your application
SQL Compiler, Optimizer, Query Processing
Transaction Transaction manager, locking, undo manager
Caching Buffer Cache
Logging Redo logging, crash recovery, backup
Storage Durable Storage

Scaling Options

State of the Art DBaaS Architectures

  1. Non Partitioned shared nothing log replicated state machine (Microsoft HADR SQL Server)
  2. Non Partitioned shared data (Aurora, Socrates, Taurus)
  3. Partitioned shared nothing log replicated state machine (Spanner, CockroachDB)
    1. Requires distributed transactions
  4. Tightly coupled nodes over fast interconnect (Oracle RAC, Exadata)