{"id":18494951,"url":"https://github.com/qaware/mysql-benchmark-tool","last_synced_at":"2026-03-04T02:31:57.974Z","repository":{"id":13676688,"uuid":"16370399","full_name":"qaware/mysql-benchmark-tool","owner":"qaware","description":"MySQL Benchmark Tool","archived":false,"fork":false,"pushed_at":"2022-06-21T00:46:16.000Z","size":2110,"stargazers_count":9,"open_issues_count":1,"forks_count":7,"subscribers_count":63,"default_branch":"master","last_synced_at":"2025-04-09T17:05:41.229Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qaware.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}},"created_at":"2014-01-30T06:49:47.000Z","updated_at":"2021-05-16T04:41:10.000Z","dependencies_parsed_at":"2022-09-23T14:00:38.830Z","dependency_job_id":null,"html_url":"https://github.com/qaware/mysql-benchmark-tool","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/qaware/mysql-benchmark-tool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qaware%2Fmysql-benchmark-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qaware%2Fmysql-benchmark-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qaware%2Fmysql-benchmark-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qaware%2Fmysql-benchmark-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qaware","download_url":"https://codeload.github.com/qaware/mysql-benchmark-tool/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qaware%2Fmysql-benchmark-tool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30070083,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T01:03:42.280Z","status":"online","status_checked_at":"2026-03-04T02:00:07.464Z","response_time":59,"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-11-06T13:22:50.500Z","updated_at":"2026-03-04T02:31:57.955Z","avatar_url":"https://github.com/qaware.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MySQL Benchmark Tool\nMySQL Benchmark Tool is a lightweight commandline tool for repeatedly executing SQL-Statements from a previously written MySQL-Log.\n\n## Download\nYou can find precompiled jars in the bin folder: https://github.com/qaware/mysql-benchmark-tool/tree/master/bin\n\n## What it does and how to use it\nThere's a blog post with more detailed explanation at: http://qaware.blogspot.de/2014/12/sql-benchmarking-tool-for-java.html\n\nHere's a small abstract:\n\nThis article describes a simple java tool for recording and replaying MySQL queries while measuring their execution times. The replay mechanism makes the measurements comparable across different environments.\n\nWhy do we need another benchmarking tool? What's so special about this one?\n* It's capable of reading and replaying MySQL's 'general query logs', not 'slow query logs' and not tcpdumps. Percona Playback in version 0.3 doesn't supports 'general query logs'.\n* It's measuring execution times of all queries and aggregating identical executions. pt-query-digest supports general query log, but only without measuring execution times.\n* It's written in pure Java, making it the most realistic way of running queries against the server if you're developing a Java application.\n* It's small and easy to use, not a full blown full featured benchmarking suite.\n* It does not offer advanced filtering methods, just restriction to connection ids and prefix matchings.\n* Measurements can be exported in either CSV for easy Excel import or in JETM-Style.\n\n## Usage\n    Usage: MySQL Benckmark Tool [options]\n      Options:\n        -db\n           The database name. eg.: -db test_db\n           Default: test_db\n        -f\n           The result can be in default JETM style or CSV. JETM is default.\n           Default: JETM\n        -help, -h\n           Execute mysql query benchmark based on mysql logs\n           Default: false\n        -id\n           Only execute queries from the log with this connection id. This parameter\n           is optional.\n        -ignore\n           Ignore statements which start with these prefixes, case insensitive.\n           Enter a comma separated list of prefixes.\n           Default: []\n        -log\n           Location of the logfile which contains the mysql queries to execute\n           Default: benchmarking-queries.sql\n        -o\n           Location of the output file to write the results to\n           Default: results.txt\n      * -p\n           mysql password\n        -s\n           The connection string to the mysql server (without database name). eg.:\n           -c jdbc:mysql://localhost:3306/\n           Default: jdbc:mysql://localhost:3306/\n      * -u\n           mysql username\n        -verbose, -v\n           Print all results to console\n           Default: false\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqaware%2Fmysql-benchmark-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqaware%2Fmysql-benchmark-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqaware%2Fmysql-benchmark-tool/lists"}