What is a database migration?
A database migration is a saved, versioned set of instructions that changes a database's structure, such as adding a column or a table. Deve...
Postgres, MySQL, SQLite and the rest of the data layer.
15 pagesA database migration is a saved, versioned set of instructions that changes a database's structure, such as adding a column or a table. Deve...
A database schema is a named group inside a database that holds tables and other objects such as functions and data types. It helps keep rel...
A database transaction is a group of database operations that succeed or fail together as one unit. If any step fails, the database undoes t...
A foreign key is a column, or group of columns, in one table that points to a row in another table. It links related data together and lets...
A primary key is a column, or a group of columns, that uniquely identifies each row in a database table. No two rows can share the same prim...
An ORM, or object-relational mapper, is a library that lets you work with database rows as ordinary objects in your programming language. Yo...
MongoDB is a document database. It stores data as flexible, JSON-like documents instead of rigid rows and tables, which makes it easy to mat...
MySQL is a database management system, a program that stores, organizes and retrieves data for other applications. It is open source, widely...
ACID is a set of four promises a database makes about transactions: Atomicity, Consistency, Isolation and Durability. Together they keep dat...
Isolation levels control how much a database transaction can see of other transactions running at the same time. Stricter levels prevent mor...
Database replication keeps copies of the same data on several database servers. One server accepts writes, and the others receive every chan...
A database connection pool is a set of open connections to a database that an application keeps ready and reuses. Instead of opening a new c...
A query execution plan is the step-by-step method a database picks to run your SQL query. The planner builds several candidate plans, estima...
Database sharding is a way to split one large database across several machines, so each machine stores and handles only part of the data. It...
Valkey is an open source, in-memory data store that keeps data in RAM and lets applications read and write it very quickly. It works as a ke...