Technopedia

The technologist’s encyclopedia

Database Theory

Database theory studies how to store, query, and maintain collections of structured records (tuples) with guarantees of correctness and performance. It is relevant whenever an application must persist data, enforce constraints, and answer multi-table queries. It builds on key-value stores (B-tree indexes, hash indexes) and list structures (posting lists, sorted runs) but adds the dimension of relational algebra: predicates over multiple attributes, joins, and transactional consistency.

Utility

Details

The five classes partition database theory by the fundamental question each answers: structure (what data exists), semantics (what operations mean), execution (how operations run efficiently), concurrency (how parallel access stays safe), and evolution (how the structure changes over time). Each builds on the previous: you must define a schema before you can write algebra over it, you must define algebra before you can compile it to a plan, you must have a plan before you can reason about concurrent execution, and you must have all of the above before you can safely evolve the schema.

History

Classes

PageAspectKey questionCore guarantee
SchemaStructureWhat tables, columns, and keys exist?Referential integrity, normalization
Relational AlgebraSemanticsWhat does a query compute?Set-theoretic correctness of joins, selections, projections
SQL & Query PlanningExecutionHow is a query compiled and run cheaply?Cost-optimal plan, index usage
TransactionsConcurrencyHow do parallel operations stay consistent?ACID, serializability, MVCC
MigrationsEvolutionHow does the schema change over time?Ordered, idempotent, reversible schema changes

Authoritative sources