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 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.|