This is shell script for simple benchmark test of MySQL and MongoDB. It is assumed only CentOS and MySQL5.7 !
please don't set password for MongoDB.
2. install dummy-json command (ref. https://github.com/webroo/dummy-json)
# curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -
# yum -y install nodejs
# npm install dummy-json
# mv ./json-templete.hbs /tmp/
# ./mysql_mongodb_simple_bench
test data is created by dummy-json command under /tmp/ directory.
"1" mean MySQL, "2" mean MongoDB.