Git Product home page Git Product logo

dbbench's Introduction

Benchmark toolbox

Reporter

The reporter can help you generate some charts from the benchmark results. It can help you compare the performance of different databases, or check the performance changes of different versions for one database.

ycsb

sysbenc

Install

# Enter dbbench root directory

make 

# The reporter is installed in the dbbench/bin directory

Support benchmark tool

Usage

Please notice that you must use the same workload to do the benchmark, and save the benchmark result to a unique directory for later comparision. For example, if you want to compare the performance of TiKV 2.1 and 3.0 throught go-ycsb, you can use like below:

# Load data into TiKV 2.1 
OUTPUT=./2.1 dbbench/ycsb/bench.sh load raw -p tikv.pd=pd_2.1

# Load data into TiKV 3.0
OUTPUT=./3.0 dbbench/ycsb/bench.sh load raw -p tikv.pd=pd_3.0

# You must use different directories for benchmarking the same database, the reporter will use 
# `raw-3.0` and `raw-2.1` (the name format is db-parentDir) to distinguish the results in the output charts. 
reporter ycsb -p 2.1 -p 3.0 -o var 

If you want to compare different databases, you can save all data in one directory, e.g:

# Benchmark TiKV with Raw mode
dbbench/ycsb/bench.sh load raw
# Benchmark TiKV with TiKV mode
dbbench/ycsb/bench.sh load tivk

# Passing -i here to tell reporter to use db name only (no need to include the parent directory) as identification in the chart, 
reporter ycsb -p ./logs -o var -i

If you only want to care some workloads or some databases, you can do:

# Only care tikv and raw
reporter ycsb -p ./logs -o var -d tikv -d raw

# Only care load
reporter ycsb -p ./logs -o var -w load

# Only care raw and load
reporter ycsb -p ./logs -o var -d raw -w load

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.