{"repo":"sj14/dbbench","free":true,"listed":false,"github":"https://github.com/sj14/dbbench","clone":"git clone https://github.com/sj14/dbbench.git","description":"🏋️ dbbench is a simple database benchmarking tool which supports several databases and own scripts","language":"Go","stars":118,"topics":["database","benchmark","stress-testing","mysql","mariadb","postgresql","sqlite","cassandra","scylladb","cockroachdb"],"license":"MIT","category":"databases-storage","readme_excerpt":"dbbench Table of Contents - Description - Example - Installation - Supported Databases - Usage - Custom Scripts - Troubeshooting - Development - Acknowledgements Description dbbench is a simple tool to benchmark or stress test databases. You can use the simple built-in benchmarks or run your own queries. Attention : This tool comes with no warranty. Don't run it on production databases. Example Installation Precompiled Binaries Binaries are available for all major platforms. See the releases page. Homebrew Using the Homebrew package manager for macOS: Manually It's also possible to install the current development snapshot with go install (not recommended): Docker Check here for available images. Supported Databases / Driver Databases Driver ---------- ----------- Cassandra and compatible databases (e.g. ScyllaDB) github.com/gocql/gocql MS SQL and compatible databases (no built-in benchmarks yet) github.com/denisenkom/go-mssqldb MySQL and compatible databases (e.g. MariaDB and TiDB) github.com/go-sql-driver/mysql PostgreSQL and compatible databases (e.g. CockroachDB) github.com/lib/pq SQLite3 and compatible databases modernc.org/sqlite Usage Custom Scripts You can run your own SQL statements with the --script flag. You can use the auto-generate tables. Beware the file size as it will be completely loaded into memory. The script must contain valid SQL statements for your database. There are some built-in variables and functions which can be used in the script. It's using the go","default_branch":null,"files":null,"tree":[],"storefront":"/r/sj14","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sj14/dbbench/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}