{"id":22870927,"url":"https://github.com/percona-lab/sysbench-mongodb-lua","last_synced_at":"2025-08-26T07:13:33.765Z","repository":{"id":68884193,"uuid":"103666488","full_name":"Percona-Lab/sysbench-mongodb-lua","owner":"Percona-Lab","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-05T09:57:51.000Z","size":21,"stargazers_count":16,"open_issues_count":6,"forks_count":14,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-05T22:17:55.955Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Percona-Lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-09-15T14:29:37.000Z","updated_at":"2025-02-03T04:18:47.000Z","dependencies_parsed_at":"2025-05-05T22:17:48.369Z","dependency_job_id":"ef03929f-db08-478d-adbf-9416cf97f157","html_url":"https://github.com/Percona-Lab/sysbench-mongodb-lua","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Percona-Lab/sysbench-mongodb-lua","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Percona-Lab%2Fsysbench-mongodb-lua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Percona-Lab%2Fsysbench-mongodb-lua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Percona-Lab%2Fsysbench-mongodb-lua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Percona-Lab%2Fsysbench-mongodb-lua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Percona-Lab","download_url":"https://codeload.github.com/Percona-Lab/sysbench-mongodb-lua/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Percona-Lab%2Fsysbench-mongodb-lua/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272187888,"owners_count":24888687,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-13T13:16:36.920Z","updated_at":"2025-08-26T07:13:33.758Z","avatar_url":"https://github.com/Percona-Lab.png","language":"Lua","readme":"# sysbench-mongodb-lua\n\n\n \u003ch2\u003eHow to setup enviroment\u003c/h2\u003e\n \n  \u003ch3\u003eUbuntu Xenial(16.04)\u003c/h3\u003e\n \n * install the latest sysbench\n   https://github.com/akopytov/sysbench\n   \n   !!! That important that you use the latest available version of sysbench !!!\n    \n * install prerequisites for mongorover driver\n   \u003cpre\u003ebash# apt-get install libmongoc-dev libbson-dev luarocks\u003c/pre\u003e\n  \n * install mongorover driver\n   \u003cpre\u003ebash# luarocks install mongorover --local\u003c/pre\u003e\n  \n \u003ch2\u003eHow to run test\u003c/h2\u003e\n \n = MongoDB specific options\n \u003cpre\u003e\n  --mongodb_host=STRING         MongoDB: hostname [localhost]\n  --mongodb_port=STRING         MongoDB: port [27017]\n  --mongodb_db=STRING           MongoDB: database name [sbtest_test]\n\u003c/pre\u003e\n* prepare\n \n\u003cpre\u003e./sysbench  oltp-mongo.lua --tables=10 --threads=10 --table-size=100 --mongodb-db=sbtest --mongodb-host=localhost --mongodb-port=27017  --rand-type=pareto prepare\u003c/pre\u003e\n \n* run oltp_rw\n\u003cpre\u003e./sysbench  oltp-mongo.lua --tables=10 --threads=10 --table-size=100 --mongodb-db=sbtest --mongodb-host=localhost --mongodb-port=27017 --time=120 --report-interval=1 --rand-type=pareto run\u003c/pre\u003e\n\u003cpre\u003e\n\nRunning the test with following options:\nNumber of threads: 10\nInitializing random number generator from current time\n\n\nInitializing worker threads...\n\nThreads started!\n\n\nGeneral statistics:\n    total time:                          120.0106s\n    total number of events:              100774\n\nLatency (ms):\n         min:                                 10.30\n         avg:                                 11.91\n         max:                                 25.85\n         95th percentile:                     14.21\n         sum:                            1199874.10\n\nThreads fairness:\n    events (avg/stddev):           10077.4000/30.69\n    execution time (avg/stddev):   119.9874/0.00\n\n \u003c/pre\u003e\n\nThe metric is number of events(queries/transactions) per second: 100774/120 ~ 840 events per second\n\n* run oltp_ro test\n\u003cpre\u003e./sysbench  oltp-mongo.lua --tables=10 --threads=10 --table-size=100 --mongodb-db=sbtest --mongodb-host=localhost --mongodb-port=27017 --time=120 --read_only=on --report-interval=1 --rand-type=pareto run\u003c/pre\u003e\n\n* run point_select only query\n\u003cpre\u003e./sysbench  oltp-mongo.lua --tables=10 --threads=10 --table-size=100 --mongodb-db=sbtest --mongodb-host=localhost --mongodb-port=27017 --time=120  --point_selects=1 --simple_ranges=0 --sum_ranges=0 --order_ranges=0 --distinct_ranges=0 --index_updates=0 --non_index_updates=0  --delete_inserts=0  --report-interval=1 --rand-type=pareto run\n\u003c/pre\u003e\n \n* cleanup\n \u003cpre\u003e./sysbench  oltp-mongo.lua --tables=10 --threads=10 --table-size=100 --mongodb-db=sbtest --mongodb-host=localhost --mongodb-port=27017 cleanup\u003c/pre\u003e\n \n \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpercona-lab%2Fsysbench-mongodb-lua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpercona-lab%2Fsysbench-mongodb-lua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpercona-lab%2Fsysbench-mongodb-lua/lists"}