All Projects → gregrahn → Tpcds Kit

gregrahn / Tpcds Kit

TPC-DS benchmark kit with some modifications/fixes

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Tpcds Kit

Web Database Analytics
Web scrapping and related analytics using Python tools
Stars: ✭ 175 (-0.57%)
Mutual labels:  sql, database
Norm
Access a database in one line of code.
Stars: ✭ 152 (-13.64%)
Mutual labels:  sql, database
Querybuilder
SQL query builder, written in c#, helps you build complex queries easily, supports SqlServer, MySql, PostgreSql, Oracle, Sqlite and Firebird
Stars: ✭ 2,111 (+1099.43%)
Mutual labels:  sql, database
Wyxdbms
用Java实现了一个关系型数据库,DBMS数据库管理系统,可使用常用增删改查的SQL语句,具有数据字典,数据索引文件,并且实现了启发式查询优化
Stars: ✭ 173 (-1.7%)
Mutual labels:  sql, database
Ohmysql
Easy direct access to your database 🎯 http://oleghnidets.github.io/OHMySQL/
Stars: ✭ 166 (-5.68%)
Mutual labels:  sql, database
Laravel Db Profiler
Database Profiler for Laravel Web and Console Applications.
Stars: ✭ 141 (-19.89%)
Mutual labels:  sql, database
Bats
面向 OLTP、OLAP、批处理、流处理场景的大一统 SQL 引擎
Stars: ✭ 152 (-13.64%)
Mutual labels:  sql, database
Reactive record
Generate ActiveRecord models for a pre-existing Postgres db
Stars: ✭ 132 (-25%)
Mutual labels:  sql, database
Sqldb Logger
A logger for Go SQL database driver without modify existing *sql.DB stdlib usage.
Stars: ✭ 160 (-9.09%)
Mutual labels:  sql, database
Sqlservice
The missing SQLAlchemy ORM interface.
Stars: ✭ 159 (-9.66%)
Mutual labels:  sql, database
Stratosdb
☄️ ☁️ An All-in-One GUI for Cloud SQL that can help users design and test their AWS RDS Instances
Stars: ✭ 140 (-20.45%)
Mutual labels:  sql, database
Query Exporter
Export Prometheus metrics from SQL queries
Stars: ✭ 166 (-5.68%)
Mutual labels:  sql, database
Php Login System
Embeddable and Secure PHP Authentication System with Login, Signup, User Profiles, Profile Editing, Account Verification via Email, Password Reset System, Remember-Me Feature and more.
Stars: ✭ 135 (-23.3%)
Mutual labels:  sql, database
Sequelize Ui
Browser-based GUI for previewing and generating Sequelize project files.
Stars: ✭ 142 (-19.32%)
Mutual labels:  sql, database
Mysql
Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package
Stars: ✭ 11,735 (+6567.61%)
Mutual labels:  sql, database
Spark With Python
Fundamentals of Spark with Python (using PySpark), code examples
Stars: ✭ 150 (-14.77%)
Mutual labels:  sql, database
Db Tutorial
💾 db-tutorial 是一个数据库教程。
Stars: ✭ 128 (-27.27%)
Mutual labels:  sql, database
Goose
A database migration tool. Supports SQL migrations and Go functions.
Stars: ✭ 2,112 (+1100%)
Mutual labels:  sql, database
Myproxy
A sharding proxy for MYSQL databases
Stars: ✭ 153 (-13.07%)
Mutual labels:  sql, database
Sqlcheck
Automatically identify anti-patterns in SQL queries
Stars: ✭ 2,062 (+1071.59%)
Mutual labels:  sql, database

tpcds-kit

The official TPC-DS tools can be found at tpc.org.

This version is based on v2.10.0 and has been modified to:

  • Allow compilation under macOS (commit 2ec45c5)
  • Address obvious query template bugs like
  • Rename s_web_returns column wret_web_site_id to wret_web_page_id to match specification. See #22 & #42.

To see all modifications, diff the files in the master branch to the version branch. Eg: master vs v2.10.0.

Setup

Linux

Make sure the required development tools are installed:

Ubuntu:

sudo apt-get install gcc make flex bison byacc git

CentOS/RHEL:

sudo yum install gcc make flex bison byacc git

Then run the following commands to clone the repo and build the tools:

git clone https://github.com/gregrahn/tpcds-kit.git
cd tpcds-kit/tools
make OS=LINUX

macOS

Make sure the required development tools are installed:

xcode-select --install

Then run the following commands to clone the repo and build the tools:

git clone https://github.com/gregrahn/tpcds-kit.git
cd tpcds-kit/tools
make OS=MACOS

Using the TPC-DS tools

Data generation

Data generation is done via dsdgen. See dsdgen -help for all options. If you do not run dsdgen from the tools/ directory then you will need to use the option -DISTRIBUTIONS /.../tpcds-kit/tools/tpcds.idx. The output directory (specified via the -DIR option) must exist prior to running dsdgen.

Query generation

Query generation is done via dsqgen. See dsqgen -help for all options.

The following command can be used to generate all 99 queries in numerical order (-QUALIFY) for the 10TB scale factor (-SCALE) using the Netezza dialect template (-DIALECT) with the output going to /tmp/query_0.sql (-OUTPUT_DIR).

dsqgen \
-DIRECTORY ../query_templates \
-INPUT ../query_templates/templates.lst \
-VERBOSE Y \
-QUALIFY Y \
-SCALE 10000 \
-DIALECT netezza \
-OUTPUT_DIR /tmp
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].