CLI tool to stress-test databases with pre-defined queries
Top 68.9% on sourcepulse
DBChaos is a command-line tool designed to stress-test databases by executing pre-defined queries in parallel and generating synthetic data. It targets database administrators, developers, and QA engineers looking to validate query performance, identify bottlenecks, and create realistic or large-scale datasets for testing.
How It Works
DBChaos supports two primary modes: Synthetic Event Generation and Synthetic Data Generation. For stress testing, it allows users to define single queries or complex scenarios with varying rates and timeouts, running them in parallel against supported databases (Postgres, MySQL, SQL Server, MongoDB). For data generation, it offers static methods for creating large schemas and data randomly, and GPT-based methods for generating hyper-realistic data using OpenAI's API.
Quick Start & Requirements
go install github.com/adaptive-scale/dbchaos@v0.4.4
config.yaml
or scenario.yaml
files.dbchaos runTest
, dbchaos runScenario
, dbchaos generate
, dbchaos generateWithLLM
.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
Synthetic data generation for MongoDB is not supported. The README does not specify the license, which may impact commercial adoption. Community engagement channels are not readily apparent.
1 year ago
Inactive