Skip to content

kakuka4430/mysql_mongodb_simple_bench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mysql_mongodb_simple_bench

This is shell script for simple benchmark test of MySQL and MongoDB. It is assumed only CentOS and MySQL5.7 !

How to use

1. install MongoDB and MySQL5.7 by yum repository

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

3. move "json-templete.hbs" under /tmp/

# mv ./json-templete.hbs /tmp/

4. execute "mysql_mongodb_simple_bench"

# ./mysql_mongodb_simple_bench

5. create test data -> input "1" (it mean "yes")

test data is created by dummy-json command under /tmp/ directory.

6. select the target to do benchmark -> input "1" or "2"

"1" mean MySQL, "2" mean MongoDB.

7. test result is created under /tmp/

About

This is shell script for simple benchmark test of MySQL and MongoDB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published