Skip to content
/ YCSB-Gen Public

Generating YCSB workloads from user-defined key set

Notifications You must be signed in to change notification settings

ypluo/YCSB-Gen

Repository files navigation

YCSB-Gen

This is a YCSB workload generator. It is modified from project YCSB-C.

We strip functionalities other than generating dataset and query workload from default key space. Besides, we add support for user-defined key space, which is very helpful in testing dataset-sensitive indices or key value stores.

Usage

  • To build YCSB-Gen on ubuntu, for example:

    mkdir build
    cd build & make
  • To generate a dataset and workload file from default key space.

    ./ycsbc -P workloads/workloada.spec

    This command will generate two files, dataset.dat and query.dat. The dataset.dat contains insert queries to load initial data against your DB, and the latter contains workloads to benchmark your DB.

  • To generate a dataset and workload file from given key space. You should provide a key set file that contains sufficient lines of keys that you want to draw from.

    ./ycsbc -P workloads/workloada.spec -F <your keyset file>

About

Generating YCSB workloads from user-defined key set

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published