5

EOS storage seems to support mongoDB out of the box, will it support other SQL and noSQL databases? If so, how do we go about installing postgresSQL on our testnet?

| improve this question | | | | |
3

I might be wrong but, as far as I know, mongo is just a plugin that you initialize with your node. It listens for all the activities of the chain like block productions, actions, transactions, accounts creation and simply stores it on a mongodb.

This plugin serves as an example and encourage us to build other ones that fits our necessities. So, yes, based on it, you can always adapt to any other dbs, filesystems etc. it's up to you.

I'm still changing the mongo_plugin for my application, to add filter options, because I want to register only my contracts actions and users, but for now I'm just deleting everything else from mongo each hour, which works fine :)

| improve this answer | | | | |
  • MongoDB was deprecated later on, and sql_db_plugin is still not working after June 2ed 2018. I'm curious how you're managing this for now. – Ripley Jun 3 '18 at 2:00
  • Deprecated only as a required plugin. This was done to reduce dependencies on external tools. But it is still useful. – Ami Heines Jun 14 '18 at 7:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.