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.
Blockchain
A shared record book. Many computers keep a copy, so no one can fake it.
A blockchain is a shared list of records that many computers keep at once. New records are packed into blocks, and each block is added to the end. Every block holds a short code made from the block before it. So changing an old block breaks every block after it. No single owner runs the list, and every copy is checked against the others.
Database
A store of data that programs save to. They can search it fast.
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.
In one line
- Blockchain
- A shared record book. Many computers keep a copy, so no one can fake it.
- Database
- A store of data that programs save to. They can search it fast.