Difference between Blockchain and a Database

Generally a database is a data structure which is used for storing information. It is a organised collection or storage of data which is able to store a new data or access a existing data. The data stored in a database can be organized using a database management system. The database administrator can modify the data stored in the database. A database is implemented using the client-server network architecture.

A blockchain is a growing list of records, called blocks, that are linked using cryptography. Each block contains a cryptographic hash of the previous block, a timestamp, and transaction data. Here, modification of data is not permissible by design. It allows decentralized control and eliminates the risks of modification of data by other parties with sufficient access to the system.

Key differences between Blockchain and a Database are:

Database Blockchain
Database uses centralized storage of data. Blockchain uses decentralized storage of data.
Database needs a Database admin or Database administrator to manage the stored data. There is no administrator in Blockchain.
Modifying data requires permission from database admin. Modifying data does not require permission. Users have a copy of data and by modifying the copies does not affect the master copy of the data as Blockchain is irresistible to modification of data.
Centralized databases keep information that is up-to-date at a particular moment Blockchain keeps the present information as well as the past information that has been stored before.
Centralized databases are used as databases for a really long time and have a good performance record, but are slow for ertain functionalities. Blockchain is ideal for transaction platform but it slows down when used as databases, specially with large collection of data.

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

Article Tags :
Practice Tags :

Be the First to upvote.

Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.