we_are_coded.by CODE · The world, decoded
БГ
Concept

What is a database

The BasicsUpdated on 16 August 2026we are coded

The database doesn't lie. The AI model can.

Checked on16 August 2026
In short: a database is an ordered place where every fact sits in its own cell. Customer, order, price, everything at its exact address. The software doesn't guess - it opens the right drawer and reads what's written there. The AI model has no drawers. That's why the database doesn't lie, and the model can.

Open your last order from an online store. You see the exact date, the exact address, the exact price you paid. That's not the computer's memory. Somewhere there's a filing cabinet with drawers, and in one of them, labeled with your name, sits exactly that record. The software simply opens it and shows it to you.

That's how every serious system works - the bank, the hospital, the shop. Everything gets written into a drawer with a label: your name, order number, date. Ask for something, and the program doesn't invent an answer. It goes to the right drawer and reads what's written inside. If it's not there, it says so. It doesn't make it up.

The AI model is a different animal. It has no filing cabinet, no drawers of facts. It has something like a feel for language, gathered from millions of texts. Ask it something specific, and it doesn't open a drawer - it composes an answer that sounds right, because it has seen thousands of similar sentences. Sometimes what it composes matches the truth. Sometimes it doesn't.

That's why the same sentence from a computer can mean two different things. If it comes from a database, it's a fact. If it comes from an AI model with no database behind it, it's a good-sounding possibility. The difference doesn't show on the screen. The sentences look equally confident.

The database remembers. The model guesses.

Prove it to me

My first question, while building a system, is what has to be a database and what can be AI. The price, the address, who paid, who didn't - all of it goes into a drawer, never into a guess.

AI is left for something else - writing the text, explaining in human language, connecting the dots. The two together work well. AI-only, with no drawers underneath, is a building with no foundation. It looks like it's standing, until you ask it something that matters.

The visual is generated code art. No third-party images.
Official primary sources
→PostgreSQL: About (official page of the most widespread open database)