Skip to content
BENIBIX Learn

Database

Development🗃️ DatabasesDatabase Basics

Also known as DB, Database System, DBMS

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

Think of it like

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

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.

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.

Common mistake

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

Key takeaways

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

Compare