OpsLabs Book a call
In plain English›Database

What is a database?

Often Postgres, MySQL or SQL Server

A database is software for storing information with rules attached: what may be stored, how records relate to each other, who may read them, and what happens when two people change the same thing at once. Storage is the easy part. The rules are what you are actually getting.

The difference that matters day to day: a shared file lets two people overwrite each other silently. A database notices. Everything else follows from taking that seriously.

The problem it solves

Two people, one record, same moment.

A database is not just a place to keep things. Storage is the easy part, and a spreadsheet does that. What a database adds is rules about what may be stored and what happens when two people reach for the same row at once.

The clearest way to see the difference is to watch both handle a completely ordinary Tuesday.

Priya and Marcus both edit the same client eleven seconds apart idle
This exact sequence happens in every company with a shared file. Most never find out.
What you are actually getting

Four things a file cannot do.

  • Refuse bad data. A column can be told that a date is a date, that an amount cannot be negative, and that this client must exist before you can attach an invoice to them. Wrong data never gets in rather than being cleaned up later.
  • Answer questions across millions of rows in milliseconds. Not by being faster at reading, but by keeping indexes designed for the questions you ask.
  • Say who changed what, and when. A history you can query, rather than a filename with FINAL in it.
  • Enforce who sees what, at the data itself. So a mistake in an application cannot return a row that person was never allowed to see.
What it sits at the centre of

Everything else reads from it.

A database earns its keep when it stops being one more place data is kept and becomes the place data is kept. Every tool writes into it, every interface reads from it, and nothing holds its own private version of the truth.

This is the shape we build toward. The tools around the outside change from company to company. The thing in the middle does not.

One database, everything else around it tools vary, the centre does not live

Two of those tables are marked VEC. Those hold vector embeddings, which is what lets an AI assistant search by meaning rather than by exact words. Same database, same permissions, no separate system to keep in step.

The ownership question

Your own database, or space inside someone's product.

Almost every tool you pay for has a database inside it. The question is not whether one exists, it is whose it is.

 Inside a product you rentYour own
Getting everything out An export, if they offer one It is already yours
Asking an unusual question Only what their reports allow Anything you can express
Connecting other systems Through their API, within their limits Directly
Cost as you grow Rises per seat or per record Mostly flat
Right when The tool is the job and the data is incidental The data is the business
What we built with it

Databases our clients own.

Two and a half million records, and thirty-one million

BrokerStaffer's agent database is built to hold two and a half million people, one row per agent per listing service, with the matching rules that keep re-collecting a market from creating duplicates. Renaissance holds thirty-one million lead records that were previously unsearchable.

Both live in the client's own accounts, with written operating documents, so the question of what happens if we disappear has a boring answer.

2.5Mrecords, one build
31Mrows, filterable in under a second, another
Theirsboth, in their own accounts
See the Renaissance build
Related terms

Words that turn up next to this one.

Common questions

Still unclear?

What is a database?

A database is software for storing information with rules attached: what may be stored, how records relate to each other, who may read them, and what happens when two people change the same thing at once. Storage is the easy part. The rules are what you are actually getting.

What is the difference between a database and a spreadsheet?

A spreadsheet lets anything be typed anywhere and silently loses a change when two people save at once. A database refuses invalid data, records who changed what and when, and detects conflicting edits rather than quietly discarding one. Below a few thousand rows and one editor, the difference rarely bites. Above that it always does.

Do we need our own database if our tools already store our data?

Only if the data is the business rather than a by-product of a tool. If it lives in one product, that product decides what questions you can ask, what you can connect, and what you keep if you leave. When the answer to those matters, the data belongs somewhere you control.

What happens when two people edit the same record?

In a shared file the second save usually wins and the first change disappears with no warning. In a properly built database the second write is checked against the version that was read, and if the row changed underneath, the person is told rather than silently overwriting somebody.

Which database should we use?

For almost every business system, Postgres, and the reasons are boring and good: it is free, it is everywhere, it handles far more than most companies will ever need, and hiring someone who knows it is easy. The interesting decisions are about schema and access rules, not the engine.

Working together

Wondering what this would look like on your stack?

Thirty minutes. We will tell you whether it is worth building and what it would take. No deck.

Book a 30-minute call

OpsLabs builds custom operational systems for growing companies. This page is part of a plain-English glossary of the terms that appear in our proposals and on this site.