Zero  0.1.0
Namespaces | Functions | Variables
tpcc_const.h File Reference

: Constants needed by the TPC-C kit More...

Go to the source code of this file.

Namespaces

 tpcc
 

Functions

int tpcc::random_xct_type (int selected)
 

Variables

const int tpcc::TPCC_C_LAST_SZ = 16
 
const int tpcc::TPCC_C_FIRST_SZ = 16
 
const int tpcc::DISTRICTS_PER_WAREHOUSE = 10
 
const int tpcc::CUSTOMERS_PER_DISTRICT = 3000
 
const int tpcc::ITEMS = 100000
 
const int tpcc::STOCK_PER_WAREHOUSE = ITEMS
 
const int tpcc::MIN_OL_PER_ORDER = 5
 
const int tpcc::MAX_OL_PER_ORDER = 15
 
const int tpcc::NU_ORDERS_PER_DISTRICT = 900
 
const int tpcc::MAX_TABLENAM_LENGTH = 20
 
const int tpcc::MAX_RECORD_LENGTH = 512
 
const int tpcc::TPCC_WAREHOUSE_FCOUNT = 9
 
const int tpcc::TPCC_DISTRICT_FCOUNT = 11
 
const int tpcc::TPCC_CUSTOMER_FCOUNT = 22
 
const int tpcc::TPCC_HISTORY_FCOUNT = 8
 
const int tpcc::TPCC_NEW_ORDER_FCOUNT = 3
 
const int tpcc::TPCC_ORDER_FCOUNT = 8
 
const int tpcc::TPCC_ORDER_LINE_FCOUNT = 10
 
const int tpcc::TPCC_ITEM_FCOUNT = 5
 
const int tpcc::TPCC_STOCK_FCOUNT = 17
 
const int tpcc::SHORE_TPCC_TABLES = 9
 
const int tpcc::XCT_MIX = 0
 
const int tpcc::XCT_NEW_ORDER = 1
 
const int tpcc::XCT_PAYMENT = 2
 
const int tpcc::XCT_ORDER_STATUS = 3
 
const int tpcc::XCT_DELIVERY = 4
 
const int tpcc::XCT_STOCK_LEVEL = 5
 
const int tpcc::XCT_LITTLE_MIX = 9
 
const int tpcc::XCT_MBENCH_WH = 11
 
const int tpcc::XCT_MBENCH_CUST = 12
 
const int tpcc::PROB_NEWORDER = 45
 
const int tpcc::PROB_PAYMENT = 43
 
const int tpcc::PROB_ORDER_STATUS = 4
 
const int tpcc::PROB_DELIVERY = 4
 
const int tpcc::PROB_STOCK_LEVEL = 4
 

Detailed Description

: Constants needed by the TPC-C kit

Author
: Mengzhi Wang, April 2001
: Ippokratis Pandis, January 2008