What is a DBMS?
A database management system is the software that stores data, answers queries about it and keeps it correct while many users read and write at once.
What does a DBMS do that files cannot?
It lets many programs share data safely and efficiently. With plain files, two processes writing at once can corrupt each other's changes, a crash halfway through an update leaves half-written records, and every program has to write its own search code. A DBMS handles concurrent access, guarantees that changes are applied completely or not at all, recovers after crashes, enforces rules about the data and answers questions in a declarative language so programs do not need to know how data is laid out.
Which components make up a DBMS?
| Component | Job |
|---|---|
| Query parser and planner | Turns a query into the cheapest execution plan it can find |
| Execution engine | Runs the plan: scans, joins, sorts, aggregates |
| Storage engine | Lays out rows or documents on disk, builds indexes |
| Buffer manager | Keeps hot pages in memory and writes dirty ones back |
| Transaction manager | Provides atomicity, isolation and concurrency control |
| Log and recovery | Write-ahead log so committed work survives crashes |
| Access control | Users, roles and privileges on objects |
What does ACID mean?
Four guarantees of a transaction. Atomicity: all of its changes apply, or none do. Consistency: it moves the database from one valid state to another, respecting constraints. Isolation: concurrent transactions do not see each other's half-finished work. Durability: once committed, changes survive a crash or power loss. Durability is where hardware matters: the DBMS writes its log and calls fsync, and the drive must truly persist the data. Enterprise NVMe drives with power-loss protection make those flushes both safe and fast.
How does a DBMS handle many users at once?
With locking, multi-version concurrency control or both. Most current relational systems use MVCC, where a reader sees a snapshot of the data as of its start and writers create new versions instead of overwriting in place, so reads and writes rarely block each other. Isolation levels let applications trade strictness for speed; serialisable is safest, read committed is a common default. Our MySQL or PostgreSQL article compares two MVCC designs.
What are the main families of DBMS?
Relational systems organise data in tables with a fixed schema and SQL; examples include PostgreSQL, MySQL, MariaDB and SQLite. Non-relational systems cover several models: document stores such as MongoDB, key-value stores such as Redis and Valkey, wide-column stores such as Cassandra, graph databases and time-series engines. Analytical column stores such as ClickHouse are optimised for scanning billions of rows. Our Relational or non-relational article compares the two broad families.
How do I see what the planner decided?
Ask it to explain the plan. Every serious DBMS has an explain command, and reading it is the most useful tuning skill:
EXPLAIN (ANALYZE, BUFFERS) SELECT c.name, sum(o.total) FROM customers c JOIN orders o ON o.customer_id = c.id WHERE o.placed_at >= now() - interval '30 days' GROUP BY c.name;
Look for sequential scans on large tables where an index was expected, row estimates far from actual counts, and sorts spilling to disk.
What hardware does a DBMS want?
Memory for the working set, fast storage for the log and random reads, and enough cores for concurrent queries. Memory comes first because every page served from the buffer pool avoids a disk read. BUSINESS-3 2024 pairs 12 with 64 GB DDR5 and two NVMe drives, a balanced base for a busy transactional database at $141.60 a month. Analytical systems scanning large tables benefit from more cores, and very large data sets suit the Storage line with NVMe for hot data and hard disks for history. Our Database server article goes through sizing.
Do you provide a managed DBMS?
No. You install and run the database on your own server, with full root access and the distribution packages or vendor repositories of your choice. That gives you every configuration option and no per-instance fees, while the operational work stays with you. Licensed commercial systems such as SQL Server are not sold here; open-source systems need no licence at all. Our Database servers page lists sizing for common engines.
Machines for a database engine
| Model | Processor | Cores | Memory | Drives | Port | Per month |
|---|---|---|---|---|---|---|
| ESSENTIAL-3 | AMD Ryzen 9 5900X | 12 | 32 GB | 2x 512 GB SSD NVMe | 1 Gbps unmetered | $61.20 |
| BUSINESS-3 2024 | AMD EPYC 4464P | 12 | 64 GB | 2x 960 GB SSD NVMe | 3 Gbps unmetered | $141.60 |
| BUSINESS-4 2026 | AMD EPYC 4585PX | 16 | 64 GB | 2x 960 GB SSD NVMe | 3 Gbps unmetered | $212.40 |
| ENTERPRISE-a3 2026 | AMD EPYC TURIN 9355 | 32 | 128 GB | 2x 1.92 TB SSD NVMe | 5 Gbps unmetered | $481.80 |
Related pages
Database server
A machine dedicated to running a database: why separating it pays off, how to size memory, disks and cores, and how to keep it safe.
Read moreMySQL
The open-source relational database behind countless web applications: InnoDB, replication, versions, MariaDB, tuning and running it on bare metal.
Read moreDatabase servers
NVMe machines with large memory for PostgreSQL, MySQL, MariaDB and MongoDB, from a single primary to replicated pairs.
Read moreMySQL or PostgreSQL
Choosing between the two most popular open-source databases: SQL features, replication, extensions, operations and the hardware each wants on a dedicated server.
Read moreQuestions and answers
Is a database the same thing as a DBMS?
No. The database is the stored data; the DBMS is the software that manages it, answers queries and enforces transactions and access rules.
Is MySQL a DBMS?
Yes. MySQL is a relational database management system, as are PostgreSQL, MariaDB and SQLite.
What does ACID stand for?
Atomicity, consistency, isolation and durability: the four guarantees that make database transactions reliable.
Do you offer managed databases?
No. You install and manage the database yourself on a dedicated server with full root access. Open-source engines need no licence.
What matters most in database server hardware?
Enough memory to cache the working set, then fast NVMe storage for the log and random reads, then enough cores for concurrent queries.