The VoltDB Tutorial

The VoltDB tutorial familiarizes you with the features and capabilities of VoltDB step by step, starting with its roots in SQL and walking through the individual features that help VoltDB excel in both flexibility and performance, including:

How to Use This Tutorial

The data files used for the tutorial are freely available from public web sites; links are provided in the text. However, the initial data is quite large. So we have created a subset of source files and pre-processed data files that is available from the VoltDB web site at the following address for those who wish to try it themselves:

http://voltdb.com/downloads/technologies/other/tutorial_files.zip

For each section of the tutorial, there is a subfolder containing the necessary source files, plus one subfolder, data, containing the data files. To follow along with the tutorial, do the following:

  1. Create a folder to work in.
  2. Unpack the tutorial files into the folder.
  3. At the beginning of each section of the tutorial:
    1. Set default to your tutorial folder.
    2. Copy the sources for that current tutorial into the your working directory, like so:
$ cp tutorial1/* ./

The tutorial also uses the VoltDB command line commands. Be sure to set up your environment so the commands are available to you, as described in the installation chapter of Using VoltDB.