What'd be the best database to store data on blockchain?

+1 vote
i want create a healthcare system using hyperledger Composer for fast processing. I don't want to store the healthcare records on the blockchain as it takes a lot of space.  Instead, I want to store the hash of the record on the blockchain and storing the actual records on the database.

What could be the best choice of databae for this purpose??
Apr 25, 2018 in Blockchain by Shashank
• 10,350 points
163 views

1 answer to this question.

+1 vote
Best answer

To read and add data you can just use Composer's Rest Server functionality. The exposed RESTfulm endpoint can be called from the datalayer of your application.

For the database, you can use SQL , however the choice of database depends on the kind of development environment you are using. If your data is not that big you can consider AWS RDS cloud databases.

You can store the location if your data on the blockchain. By defining an asset in the Composer CTO and giving it a String property with a location. You can use the playground codes examples for reading and writing autogenerated Asset Registry. Use RESTful endpoint to read and write the data.

answered Apr 25, 2018 by Christine
• 15,790 points

selected Aug 10, 2018 by Omkar

Related Questions In Blockchain

+1 vote
3 answers

Is it possible to store data about arbitrary objects on the blockchain using smart contracts?

Consider following tutorial from Hyperledger Fabric "Getting Started" pages. Basically ...READ MORE

answered Aug 30, 2018 in Blockchain by Artem
133 views
0 votes
2 answers
0 votes
1 answer

Can a blockchain be used to verify or store a document on the blockchain?

Bitcoin is decentralized payment syatem. It was ...READ MORE

answered May 10, 2018 in Blockchain by Johnathon
• 9,080 points
57 views
+1 vote
1 answer

Is it possible to store blockchain in a sql or no-sql database?

Currently, following are the options to store ...READ MORE

answered Apr 20, 2018 in Blockchain by Perry
• 17,020 points

edited Aug 9, 2018 by Omkar 69 views
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 26,550 points
83 views
0 votes
1 answer

Any security issues in migrating sensitive data in CouchDB to hyperledger composer

Hyperledger Composer and the underlying Hyperledger Fabric ...READ MORE

answered Aug 3, 2018 in Blockchain by Johnathon
• 9,080 points
135 views
0 votes
1 answer
0 votes
1 answer

How to explore and analyze the data inside a Hyperledger Blockchain network?

In Hyperledger Composer, you have all the ...READ MORE

answered Aug 10, 2018 in Blockchain by Christine
• 15,790 points
134 views
0 votes
1 answer

How to create a new wallet on a blockchain?

Firstly, you need to have a clear ...READ MORE

answered Apr 4, 2018 in Blockchain by Christine
• 15,790 points
88 views