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,400 points
1,327 views

1 answer to this question.

+2 votes
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

0 votes
1 answer

Best database type to store data that will be used with a blockchain?

Storing just the hash on the blockchain ...READ MORE

answered Apr 7, 2022 in Blockchain by Aditya
• 7,680 points
853 views
+1 vote
3 answers

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

Basically you implement requested logic on by ...READ MORE

answered Aug 30, 2018 in Blockchain by Artem
1,281 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,090 points
673 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,740 points
771 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,090 points
623 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,263 views
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
1,064 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
1,144 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP