Giter Club home page Giter Club logo

tpch-mariadb's Introduction

Toolbox for TPC-H on MariaDB
============================

This repository is a toolbox for TPC-H benchmark[1] execution on MariaDB.  The
tools help modifying, building, and running TPC-H kit source code for MariaDB.


Pre-requisites
==============

You should get TPC-H kit source code before using the tools.  You can
download it from TPC website[2] as a tar ball after agree to their license.


Versions
========

This toolbox is tested for TPC-H tools v2.17.2 and MariaDB 10.2.8, the latest
version as of this writing.


Quick Start
===========

This section describes simple steps for TPC-H test setup and execution.  Every
example assumes that your current working directory is this repository.


Get TPC-H kit
-------------

```
$ unzip xxx-tpch-tool.zip
$ mv 2.17.2/ tpch-kit/
```


Modify TPC-H kit Code
---------------------

```
$ ./modify_src.sh
```


Build TPC-H Kit
---------------

```
$ ./build.sh
```


Generate Data
-------------

```
$ ./dbgen.sh <scale factor>
```


Execute Load Test
-----------------

Before next command, you should start mysqld daemon.  Next command assumes that
your mysqld has user `root` without password.  In other words, it should be
able to use `$ mysql -u root` to connect to MariaDB prompt.
```
$ ./loadtest.sh
```


Execute Power Test
------------------

```
$ ./mkqueries.sh <scale factor>
$ ./powertest.sh
```


Execute Query 2 Only
--------------------

```
$ ./mkqueries.sh <scale factor>
$ ./runquery.sh 2
```


Author
======

SeongJae Park <[email protected]>


References
==========

[1] http://www.tpc.org/tpch/  
[2] http://www.tpc.org/tpc_documents_current_versions/download_programs/tools-download-request.asp?bm_type=TPC-H&bm_vers=2.17.2&mode=CURRENT-ONLY

tpch-mariadb's People

Contributors

sjp38 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.