# Database

> A store of data that programs save to. They can search it fast.

**Field:** Software Development  
**Category:** Databases  
**Also known as:** DB, Database System, DBMS

## Think of it like

Think of it like a big box of cards. It can find any card in a blink.

## Definition

A database is an organised store of data that a program can save to and search. It keeps data safe on disk, even when the app restarts. It can find one record among millions in a moment. Many users can read and write at the same time without mixing things up. Almost every app with accounts, orders or messages keeps them in a database.

## Example

Lucy's shop keeps 50,000 orders in a database. When a customer calls, she finds their order by email in under a second.

## Why it matters

Data is what most apps are really about. The database keeps it safe, correct and quick to find.

## Common mistake

Saving app data in plain files. It works for ten records and breaks once two users write at once.

## Three principles

- **Kept safe.** Data survives a restart.
- **Fast to search.** One record among millions in a moment.
- **Many users at once.** Writes do not clash.

## Related terms

- [Structured Query Language (SQL)](https://learn.benibix.com/term/development/sql)
- [Database Table](https://learn.benibix.com/term/development/database-table)
- [Database Query](https://learn.benibix.com/term/development/query)
- [Relational Database](https://learn.benibix.com/term/development/relational-database)
- [Blockchain](https://learn.benibix.com/term/development/blockchain)

## Told apart from

- [Blockchain vs Database](https://learn.benibix.com/compare/blockchain-vs-database): People think a blockchain is just a better database, and it is not. A database is run by one owner, who can fix a mistake or delete a row. A blockchain is copied on many computers, and no one can change an old record. That makes it slower and dearer. Use one only when strangers must share a record and trust no single keeper.

---

Source: https://learn.benibix.com/term/development/database
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
