A lightweight and local time-series database
x86_64- Linux (x86_64-v3), macOSaarch64- Linux, macOSriscv64- Linux (rv64gc)
Cloning with submodules is required:
git clone --recurse-submodules https://github.com/tachyontsdb/tachyon.git
cargo build --locked --release
Note: Generated C/C++ headers will be placed in the output (
./target/include) directory.
cargo run --locked --release --bin tachyon_cli -- <commands>
The documentation for the CLI is available at tachyon_cli/README.md.
cargo run --locked --release --bin tachyon_web_backend
The documentation for the web backend is available at tachyon_web_backend/README.md.
cargo fmt --all --check
cargo clippy --all-targets --all-features --locked --release -- -D warnings
First, unzip the ./data.zip file. This should create a ./data directory.
unzip data.zip
cargo test --locked --release
cargo bench --locked --bench <bench-name>
cargo bench --locked --bench <bench-name> -- --profile-time=20
Run the following before running the timescaledb or db_benchmark_framework benchmarks:
docker run -d --name timescaledb -p 5432:5432 -e POSTGRES_PASSWORD=password timescale/timescaledb-ha:pg16