Skip to content
Learn

Databases

Postgres, MySQL, SQLite and the rest of the data layer.

15 pages
beginner

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...

3 min read
beginner

What is a database schema?

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...

3 min read
beginner

What is a database transaction?

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...

3 min read
beginner

What is a foreign key?

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...

3 min read
beginner

What is a primary key?

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...

3 min read
beginner

What is an ORM?

An ORM, or object-relational mapper, is a library that lets you work with database rows as ordinary objects in your programming language. Yo...

3 min read
beginner

What is MongoDB?

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...

3 min read
beginner

What is MySQL?

MySQL is a database management system, a program that stores, organizes and retrieves data for other applications. It is open source, widely...

3 min read
intermediate

How do ACID properties work?

ACID is a set of four promises a database makes about transactions: Atomicity, Consistency, Isolation and Durability. Together they keep dat...

3 min read
intermediate

How do database isolation levels work?

Isolation levels control how much a database transaction can see of other transactions running at the same time. Stricter levels prevent mor...

3 min read
intermediate

How does database replication work?

Database replication keeps copies of the same data on several database servers. One server accepts writes, and the others receive every chan...

3 min read
intermediate

What is a database connection pool?

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...

3 min read
intermediate

What is a query execution plan?

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...

3 min read
intermediate

What is database sharding?

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...

4 min read
intermediate

What is Valkey?

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...

3 min read
blozhikDeveloper news from across the web, explained. Every story links to its original sources.