Car lease demo database location in IBM blockchain

+1 vote

I deployed car-lease-demo sample on a Linux system while working on IBM blockchain. I want to understand about the database storage and how hyperledger fabric uses the database to store key-value pairs. Also, where is the location of the database where all the data is stored?

I would also like to know if we can use a different db configuration like NOSQL databases like Neo4j, MongoDB.

Jun 7, 2018 in Blockchain by anonymous
1,288 views

1 answer to this question.

+1 vote
Best answer

Firstly, yes you can change the default DB to any other NoSQL DB.

Though the default implementation uses LevelDB as the backend store for data and is present on all peer nodes. To see it for yourself, you can enter the docker container in cli mode. The database is hosted in a separate container linked to the peer node via an open port.You can do the same for any other NoSQL DB and use the correct PUT and GET APIs in chain code to access them. But make sure that data gets replicated in all the DBs in time to maintain the consistency of the Blockchain network

answered Jun 7, 2018 by Christine
• 15,790 points

selected Aug 16, 2018 by Omkar

Related Questions In Blockchain

+1 vote
1 answer

How do i change the names of validating peers in IBM Bluemix blockchain?

IBM Bluemix Blockchain service Hyperledger Fabric v0.6 will ...READ MORE

answered Apr 11, 2018 in Blockchain by Perry
738 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 21, 2018 in Blockchain by Perry
• 17,100 points

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

IBM BLUEMIX BLOCKCHAIN SDK-DEMO failing

These types of intermittent issues are usually ...READ MORE

answered Aug 3, 2018 in Blockchain by charlie_brown
• 7,720 points
519 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,215 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
708 views
+1 vote
1 answer
+1 vote
1 answer

Error while deploying chaincode in IBM Blockchain. Please help.

Try stripping out the 'tree/master' portion of ...READ MORE

answered Apr 26, 2018 in Blockchain by Christine
• 15,790 points
637 views
0 votes
1 answer

How to make sure transactions take no fee in a private Ethereum blockchain?

In a private ethereum network you have ...READ MORE

answered Mar 26, 2018 in Blockchain by Christine
• 15,790 points

edited Mar 26, 2018 by Christine 1,354 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