COURSES
MBAData Science & AnalyticsDoctorate Software & Tech AI | ML MarketingManagement
Professional Certificate Programme in HR Management and AnalyticsPost Graduate Certificate in Product ManagementExecutive Post Graduate Program in Healthcare ManagementExecutive PG Programme in Human Resource ManagementMBA in International Finance (integrated with ACCA, UK)Global Master Certificate in Integrated Supply Chain ManagementAdvanced General Management ProgramManagement EssentialsLeadership and Management in New Age BusinessProduct Management Online Certificate ProgramStrategic Human Resources Leadership Cornell Certificate ProgramHuman Resources Management Certificate Program for Indian ExecutivesGlobal Professional Certificate in Effective Leadership and ManagementCSM® Certification TrainingCSPO® Certification TrainingLeading SAFe® 5.1 Training (SAFe® Agilist Certification)SAFe® 5.1 POPM CertificationSAFe® 5.1 Scrum Master Certification (SSM)Implementing SAFe® 5.1 with SPC CertificationSAFe® 5 Release Train Engineer (RTE) CertificationPMP® Certification TrainingPRINCE2® Foundation and Practitioner Certification
Law
Job Linked
Bootcamps
Study Abroad
MS in Data AnalyticsMS in Project ManagementMS in Information TechnologyMasters Degree in Data Analytics and VisualizationMasters Degree in Artificial IntelligenceMBS in Entrepreneurship and MarketingMSc in Data AnalyticsMS in Data AnalyticsMS in Computer ScienceMaster of Science in Business AnalyticsMaster of Business Administration MS in Data ScienceMS in Information TechnologyMaster of Business AdministrationMS in Applied Data ScienceMaster of Business Administration | STEMMS in Data AnalyticsM.Sc. Data Science (60 ECTS)Master of Business AdministrationMS in Information Technology and Administrative Management MS in Computer Science Master of Business Administration MBA General Management-90 ECTSMSc International Business ManagementMS Data Science Master of Business Administration MSc Business Intelligence and Data ScienceMS Data Analytics MS in Management Information SystemsMSc International Business and ManagementMS Engineering ManagementMS in Machine Learning EngineeringMS in Engineering ManagementMSc Data EngineeringMSc Artificial Intelligence EngineeringMPS in InformaticsMPS in Applied Machine IntelligenceMS in Project ManagementMPS in AnalyticsMS in Project ManagementMS in Organizational LeadershipMPS in Analytics - NEU CanadaMBA with specializationMPS in Informatics - NEU Canada Master in Business AdministrationMS in Digital Marketing and MediaMSc Sustainable Tourism and Event ManagementMSc in Circular Economy and Sustainable InnovationMSc in Impact Finance and Fintech ManagementMS Computer ScienceMS in Applied StatisticsMaster in Computer Information SystemsMBA in Technology, Innovation and EntrepreneurshipMSc Data Science with Work PlacementMSc Global Business Management with Work Placement MBA with Work PlacementMS in Robotics and Autonomous SystemsMS in Civil EngineeringMS in Internet of ThingsMSc International Logistics and Supply Chain ManagementMBA- Business InformaticsMSc International ManagementMBA in Strategic Data Driven ManagementMSc Digital MarketingMBA Business and MarketingMaster of Business AdministrationMSc in Sustainable Global Supply Chain ManagementMSc Digital Business Analytics MSc in International HospitalityMSc Luxury and Innovation ManagementMaster of Business Administration-International Business ManagementMS in Computer EngineeringMS in Industrial and Systems EngineeringMSc International Business ManagementMaster in ManagementMSc MarketingMSc Business ManagementMSc Global Supply Chain ManagementMS in Information Systems and Technology with Business Intelligence and Analytics ConcentrationMSc Corporate FinanceMSc Data Analytics for BusinessMaster of Business AdministrationMaster of Business AdministrationMaster of Business AdministrationMSc in International FinanceMSc in International Management and Global LeadershipMaster of Business AdministrationBachelor of BusinessMaster of Business Administration 60 ECTSMaster of Business Administration 90 ECTSMaster of Business Administration 90 ECTSBachelor of Business AnalyticsBachelor of Information TechnologyMaster of Business AdministrationMBA Business AnalyticsMSc in Marketing Analytics and Data IntelligenceMS Biotechnology Management and EntrepreneurshipMSc in Luxury and Fashion ManagementMaster of Business Administration (90 ECTS)Bachelor of Business Administration (180 ECTS)B.Sc. Computer Science (180 ECTS) MSc in International Corporate Finance MSc in Sustainable Luxury and Creative IndustriesMSc Digital Marketing
For College Students

Comparison of Database Systems in Blockchain

$$/$$

Before we move onto understanding the current structure followed for transactions over various organisations, let's first have a quick look at various types of database systems which currently exist. A database is nothing but a structured set of information which can be accessed, updated and modified in an efficient and simple way.

We classify databases into three types — centralised, decentralised and distributed.

In the next video, Jeeven explains them with an industry example. Let’s have a look at it.

$$/$$

In the previous video, you saw three types of database systems: Centralised, Decentralised and Distributed
Let's try to understand them further with an example. Suppose Phil is an entrepreneur who starts a business of house furniture. He set up various showrooms in the city for selling the furniture. He created a warehouse to store all the furniture there and supply it as per requirements by the showrooms. You can map this scenario to the centralised database system. Similar to the single warehouse storing all the furniture, a central database stores all the data. 

 

As his business expanded, he ventured out to multiple cities by setting up various showrooms. Now, Phil realised that having one warehouse will not suffice his requirements, so he set up warehouses in all the cities. He created one warehouse in each city he ventured in. All his furniture was stored there and distributed from there to the showroom in one city. Here this can be mapped to the decentralised database system. Multiple warehouses hold the merchandise, and all the showrooms fetch the furniture from these warehouses. Similarly, in a decentralised database system all the information is not stored in one place but multiple places or databases.

 

Further, as the demand increased, Phil set up one warehouse for each showroom taking into account the cost of transportation and nature of the market. Now every showroom has its own warehouse to store and retrieve the furniture. You can map this scenario to the distributed database systems. In a distributed database system, the data is shared across the entire network.

$$/$$

Thus, any database can be classified as a centralised, decentralised or distributed database.

 

A distributed database can be summed up as a stretched version of a decentralised database. The mode of decision-making determines the main difference between the two systems:

  • where or how is the decision made

  • how the information is shared across the participating nodes

 

In the decentralised database, there is no single point where the overall decision is made. Every node in the system makes its own decision, and the system behaviour is the sum of those responses. Also, a single node may or may not have the complete information about the system as a whole depending on the architecture. 

 

Distributed databases are best described as a system where data processing is shared across all the nodes, but the system decision might still be centralised, based on the complete system knowledge.

 

Consider an example where you have 100 nodes or participants in a network.

If we consider these participants in a centralised system, there will be 1 central server and 99 nodes all communicating individually with the central server. Total no. of connections in this setup will be 99. Information to the other nodes will be routed through the central server.

 

If the same example were used for a decentralised system, let’s assume there might be 10 decentralised servers and 90 nodes split between these 10 servers such that each server is communicating to its subnet of 9 nodes and is also connected to the other 9 peer servers. The total number of connections for each server will be 9 + 9 = 18. Here, the direction of the connections is not important meaning that a connection for instance from server 1 to server 2 if counted once, doesn't have to be counted again while connecting Server 2 to server 1. So, the total number of connectivities in the entire system will be 90 (9 sub-nodes * 10 servers) + 45 (10C2 connections among the servers) = 135. Information from one node to any other node will be routed through the network of decentralised servers.

 

When we consider a distributed system for the above example, every node in the system will be connected to every other node. Thus, the total number of connections for the entire network will be 100C2 = 4950. Thus, a node can directly communicate with any other node in the network without relying on any server. One important thing to note here is that for a distributed database there is no limit to the incoming connections on a node (meaning as many nodes as possible can receive data/information from as many as nodes possible at a time). However, the outgoing connections are limited (meaning a node can only send information to a certain number of nodes at one time).

 

Now let’s consider what happens when a server fails in each of the above systems. In a centralised system, if the server fails, the entire network is affected, i.e. 100% of the system fails. In a decentralised system, if 1 server collapses, 10% of the network is affected. The remaining 90% of the network continues to operate although at a reduced level. Considering a distributed database with no server, if 1 node fails only 1% of the network fails. The remaining 99% of the system is unaffected and continues to function efficiently

 

Listed below are the critical points of differentiation between the three types of systems we encountered so far.

FeatureCentralisedDecentralisedDistributed
SecurityLow; Most vulnerable to data security issues

Moderate; Data can be rebuilt from parallel

servers if backed up

Highest; Very difficult to lose data completely

Response Speed

(*Applicable in case the networks having large amounts of data)

 

 

Bottlenecks can cause response speed to reduce significantly

Quick response speed depending on the distribution of dataFastest response rates
Overheads and CostsLow; Redundancy is minimized

Substantial processing overheads to ensure

proper coordination

among servers

Massive overheads to ensure appropriate coordination among multiple nodes
Points of Failure / MaintenanceSingle point of failure; Easy to maintainA limited number of points of failure; Maintenance more complex than centralised systemsMultiple points of failure; Difficult to maintain
StabilityHighly unstable; if the central server fails, entire network collapses

Stability better than  centralised systems; the network can continue to operate at a reduced level

if any one server fails

The highest level of stability; single node failure doesn’t affect the network
ScalabilityLow scalabilityModerately scalableInfinitely scalable
Ease of SetupEasy to set upDifficult to set upDifficult to set up
$$/$$

Additional Readings:

  1. Kindly go through this link which provides an explanation on ACID properties, an introduction of CAP theorem followed by BASE properties.

  2. This link gives you a detailed explanation of the various types of NoSQL databases and compares it with a relational database. You can also refer to this link to have an overview of the pros and cons of relational and non-relational databases.

  3. You can watch this video to further your understanding of centralised, decentralised and distributed computing.