EOSTracker-API icon indicating copy to clipboard operation
EOSTracker-API copied to clipboard

Support for MongoDB

Open trungtt198x opened this issue 6 years ago • 7 comments

@kesar I'd very like to ask if you plan to add again support for MongoDB as the mongo_db_plugin has been re-enabled in EOSIO software.

Many thanks and cheers

trungtt198x avatar Jul 17 '18 14:07 trungtt198x

I also urgently need MongoDB support.

cppfuns avatar Jul 24 '18 02:07 cppfuns

see https://www.bcskill.com/index.php/archives/329.html

cppfuns avatar Jul 31 '18 09:07 cppfuns

@kesar A question please. I've seen that in the file app/config/parameters.yml.dist, there is:

env(MONGO_URL): 'mongodb://localhost:27017/EOS'
env(REDIS_URL): 'redis://root@localhost:423432'

May I ask if your eostracker now supports both MySQL and MongoDB?

Thanks

trungtt198x avatar Aug 04 '18 13:08 trungtt198x

I've been testing the possibility to add mongodb, still a wip, but I added it temporary.

kesar avatar Aug 04 '18 13:08 kesar

@kesar Why did you choose Mysql first because of the advantages of MySql over Mongo? There is currently no support for Mongo. Is there any problem that is difficult to solve?

cppfuns avatar Aug 08 '18 02:08 cppfuns

Why did you choose Mysql first because of the advantages of MySql over Mongo? There is currently no support for Mongo. Is there any problem that is difficult to solve?

Because I know how to perform queries better in MySQL.

Problem is about time, I can't allocate enough time to re-do all backend queries into mongodb as I am not an expert in mongo. But if someone wants to help, I could guide and support the migration 👍

kesar avatar Aug 08 '18 07:08 kesar

+1 sql_db_plugin had been removed since EOSIO version 1.2.x https://github.com/EOSIO/eos/commit/5e57797f86b7c00e7ac252694511a21f5960534a

bezalel avatar Aug 22 '18 07:08 bezalel