How relational databases power blockchain innovation

in #news5 years ago

CHROMIA-LOGOTYPE-Rounded-RGB-1.png

photo-1495741545814-2d7f4d75ea09.jpg

The relational database is a powerful tool. But what is it and how does something invented 50 years ago power the latest innovations? Let’s find out.

Technological progression never happens in a vacuum. Innovation happens in stages, with improvements on advances that have come before. The relational database is not a new concept, but you can apply it to make new breakthroughs. In this article, we’re going to look at what relational databases are, their history and their benefits. We’re also going to explain the latest application for relational databases in blockchain technology. Let’s dive in.

Screenshot_1.jpg

Early databases

The first computers were invented to perform calculations quickly and easily. Their next function was to store information, making large amounts of data easily accessible. The database would emerge as the way to input, store and read information.

The first computer databases were long text files, known as tab-delimited files. They were flat, with all the information stored in one long line of information, separated by a character or bar. For example, here’s what a tab-delimited file of a company’s payroll might look like.

Surname, FName, Location, Salary|Fell, Hannah, London, €500K|Kidd, David, Bristol, €650|Lefevre, Daniel, Paris, €250

You can see that data presented in this way is challenging to search. It takes a long time to find the information you need. It’s virtually impossible to create reports using specific parts of the data.

Enter relational databases.

Screenshot_2.jpg

What are relational databases?

Relational databases were devised in 1970 by E.F. Codd, a researcher at IBM who wrote a paper on how information storage could be improved. Codd saw the limitations of the tab-delimited file system. As well as being hard to search, these early, flat databases were inconsistent, beset with typos and other errors.

Codd proposed a database system that arranges the data in tables, with columns and rows. Fields would be columns and records would be rows. When you lay out information in this way, information is easy to sort and search. Plus, each field would be assigned to an integer which would make data easier to enter without making errors. You could also create new tables out of the existing data, as well as add new tables with further relevant information.

The relational database, as it became known, became the industry standard. Relational database management systems (RDBMS) were created. Eventually, it led to the creation of programming languages like SQL.

Advantages of relational databases

photo-1559107749-09d30cc1d9bd.jpg

Relational databases were a massive improvement on what came before for many reasons:

Easier to search for information

Ability sort tables by any criteria, such as alphabetical or numerical order

Greater accuracy – fewer errors and inconsistencies

Data is independent of its storage system

Less chance of duplication of information

Ability to extract information for easy comparison

For speed, versatility and performance, the relational database devised in the 1970s has yet to be improved upon. Nearly all the functions of databases that we use and take for granted today, from simple Excel sheets to complex scientific applications, come from the relational database.

Screenshot_3.jpg

Relational blockchain

Now we are in the age of blockchain. Blockchain is a new, decentralised way of holding data. It brings enormous advantages around securely and quickly validating information.

However, like tab-delimited files, once the information is in the blockchain, it can be hard to get it out again. Like tab-delimited files, there is the potential for duplication and inconsistency when new information is added to a blockchain. If blockchain is to become accepted for use in the mainstream, for example, in banking, the way it presents information needs to improve.

Again, enter the relational database.

Postchain is a new type of blockchain built around the principles of the relational database. A transaction on a relational blockchain achieves the goal of absolute integrity, where there is only one source of truth.

On Postchain:

A transaction is executed or it fails. There is no mixed state halfway house

The database is instantly updated after a transaction to ensure consistency

If the service is interrupted, committed transactions will still go through

For flexibility, reliability, scalability and performance, relational blockchain is a significant improvement on the key value pair blockchain system. It’s hard to believe an advancement made 50 years ago can be used to improve something as cutting-edge as blockchain, but that’s how progress works.

Screenshot_4.jpg

Meet Chromia

Chromia offers its users the benefits of scalable, flexible relational blockchain, making it the top choice for dapp developers.

If this sounds like the kind of platform you’ve been waiting for, it’s time to try Chromia for yourself. Visit our site to find out more.

https://chromia.com

https://twitter.com/teamchromia https://www.reddit.com/r/Teamchromia https://www.youtube.com/channel/UCM_FvcRzwoZUmc60fYFj.. https://www.instagram.com/teamchromia https://t.me/hellochromia https://www.linkedin.com/company/chromia
https://www.facebook.com/teamchromia
https://t.me/hellochromia
https://t.me/ChromiaRu