Skip to main content



This page lists general steps to build TAOBench, an end-to-end benchmark for social network workloads. This guide will explain how to run TAOBench and how to add new DB adapter layers for running requests.


To build TAOBench, install:

  • a C++17 compiler
  • CMake (version 3.7 or higher)
Example: Ubuntu 18.04
apt-get update
apt-get install -y software-properties-common
add-apt-repository -y ppa:ubuntu-toolchain-r/test
apt-get install -y build-essential cmake g++-11

To use TAOBench, you will need to additionally install database-specific libraries. Details can be found in each driver's documentation.


Clone TAOBench's Git repository and build with the following:

git clone
cmake . -DWITH_<dbname>=ON

Supply any of the following CMake flags: WITH_CRDB, WITH_MYSQL, WITH_SPANNER, WITH_YUGABYTE to build the respective drivers.

You should now have the taobench executable.