com.splout.db.benchmark
Class BenchmarkTool

java.lang.Object
  extended by com.splout.db.benchmark.BenchmarkTool

public class BenchmarkTool
extends java.lang.Object

This tool can be used for benchmarking a Splout server. It will perform a series of queries using an int key range. It can use threads. The tablespace is expected to be of the same kind than the one that is generated by BenchmarkStoreTool.


Nested Class Summary
static class BenchmarkTool.BenchmarkToolStressThreadImpl
          Performs queries like "SELECT * FROM splout_benchmark WHERE key = X;"
 
Field Summary
static java.lang.String KEY_SELECTION_RANDOM
           
static java.lang.String KEY_SELECTION_ZIPFIAN
           
 
Constructor Summary
BenchmarkTool()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_SELECTION_RANDOM

public static final java.lang.String KEY_SELECTION_RANDOM
See Also:
Constant Field Values

KEY_SELECTION_ZIPFIAN

public static final java.lang.String KEY_SELECTION_ZIPFIAN
See Also:
Constant Field Values
Constructor Detail

BenchmarkTool

public BenchmarkTool()
Method Detail

start

public void start()
           throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

main

public static void main(java.lang.String[] args)
                 throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException


Copyright © 2012-2013 Datasalt Systems S.L.. All Rights Reserved.