Table of Contents

TPC-DS Benchmark How To Guide

Commands:

Create Oracle user TPCDS

 SQL> CREATE USER "TPCDS" PROFILE "DEFAULT" IDENTIFIED BY "*******" DEFAULT TABLESPACE "USERS" TEMPORARY TABLESPACE "TEMP" QUOTA UNLIMITED ON "USERS" ACCOUNT UNLOCK GRANT CREATE TABLE TO "TPCDS" GRANT "CONNECT" TO "TPCDS";

Get DSGen and unpack

Compile/build binaries

| * Result should be: OS | = | LINUX |

Generate load data

Import tables into Oracle

Load data

Prepare control files:

call_center.ctl

catalog_page.ctl

catalog_page.ctl

catalog_sales.ctl

customer_address.ctl

customer.ctl

customer_demographics.ctl

date_dim.ctl

dbgen_version.ctl

household_demographics.ctl

income_band.ctl

inventory.ctl

item.ctl

promotion.ctl

reason.ctl

ship_mode.ctl

store.ctl

store_returns.ctl

store_sales.ctl

time_dim.ctl

warehouse.ctl

web_page.ctl

web_returns.ctl

web_sales.ctl

web_site.ctl

Import the data using Oracle Loader

http://www.tpc.org/tpcds/default.asp
http://agni.csa.iisc.ernet.in/CASL/tpcds
http://www.orafaq.com/wiki/SQL*Loader_FAQ