Professional Documents
Culture Documents
TPC-H
Jianlin Feng
School of Software
SUN YAT-SEN UNIVERSITY
Mar 20, 2009
Overview of TPC-H
Whats TPC?
Tell me
-- $ID$
-- TPC-H/TPC-R Forecasting Revenue Change Query (Q6)
-- Functional Query Definition
-- Approved February 1998
:x
:o
select
sum(l_extendedprice * l_discount) as revenue
from
lineitem
where
l_shipdate >= date ':1'
and l_shipdate < date ':1' + interval '1' year
and l_discount between :2 - 0.01 and :2 + 0.01
and l_quantity < :3;
:n -1
The History
http://www.tpc.org/tpch/spec/tpch2.8.0.pdf
Business Environment
Purpose of Benchmarks
Schema
8 base tables
Workload
A database load
Database Load
22 read-only queries:
Characterized by 4 components
A business question
Substitution parameters
A query validation
2 refresh functions
RF1:
RF2:
Power@Size
Computation of Power@Size
Throughput@Size
Computation of Throughput@Size
Price/Performance Metric
References