Web Basics Intermediate

What Is a Database?

A database is where apps and websites store and organize information.

Download the poster

When a website remembers your account, your messages, or your high score, it keeps all of that in a database.

A database is like a smart, tidy storage room where apps and websites keep their information so they can find it again, fast.

Most databases organize information into tables, with rows and columns, a lot like a neat spreadsheet. Each row is one record, like one player and their score.

When an app needs something, it asks the database, "Find this, please," and the database looks it up and sends it back, almost instantly.

Things can go wrong if a database is not cared for: data can get lost, or slow, or fall into the wrong hands.

So people protect databases carefully, with backups, strong passwords, encryption, and regular updates. Store it neatly, find it quickly, keep it safe.

What to remember

  • A database is where apps and websites store information.
  • It keeps things organized so they can be found fast.
  • Information lives in tables, like tidy spreadsheets.
  • Good security and backups keep that data safe.

Words to know

Database
An organized place where data is stored and managed.
Table
A set of data arranged in rows and columns.
Record
A single row in a table, like one person's info.
Backup
A spare copy of the data, in case something goes wrong.

For grown-ups

A database stores and organizes data so applications can query it quickly and reliably. Relational databases use tables of rows and columns; each row is a record. Real systems care about access controls, encryption, backups, and updates, because the database is usually where the most sensitive information lives.

Want the full story? These go deeper: