lujiajing1126 / banyandb-billy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Billy Benchmark for BanyanDB

Load data

First, start banyandb. And create resources,

$ bydbctl group create -f ./scripts/group.yaml
$ bydbctl measure create -f ./scripts/measure.yaml
$ go run ./scripts/create_topn.go

After schema are setup,

$ ./scripts/load_data_5K_client.sh

which will load 5K measure per minute (24 hours in total) into the BanyanDB.

Run query tests

For a simple verification that the data has been written successfully, use the following script,

$ bydbctl measure query -f ./query/measure_query.yaml

Then run query job,

$ time go run ./query/query.go

Acknowledgement

About

License:Apache License 2.0


Languages

Language:Go 87.7%Language:Makefile 11.4%Language:Shell 0.8%