Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
MemSQL Benchmark Tools
branch: master
Failed to load latest commit information.
.gitignore Added gitignore and tuned for distributed Added licenses and README added MongoDB shard test option added MongoDB shard test option Added gitignore and tuned for distributed

MemSQL Benchmark Tools

This tool is a set of scripts that let you benchmark MemSQL, MySQL, and MongoDB as described in Reading Between the Benchmarks. It simulates a multiplayer game by running queries against a database.

The benchmark is easy to get up and running, and we encourage you to both run it on your own and extend it to test your favorite database/configuration.


We've only tested it on Linux, but there should be nothing preventing it from running on similar *nix systems.

You'll need to install a few Python packages (through easy_install or pip):

  • pymongo
  • MySQL-python (requires libmysqlclient-dev and python-dev)


The benchmark configuration is in The fields are explained inline, and you should visit this file to adjust things like:

  • Which database to connect to and where
  • How many worker processes to use
  • Whether or not to enable printing statistics
  • How long the simulation runs


After you've tweaked the configuration options in, just run benchmark with

Something went wrong with that request. Please try again.