Index of /~charliep/benchmarks/tpc/tpc-c
June 1 1995
TPC/C Transactions for Oracle Pro*C, Informix ESQL/C, and DBtools.h++
This stuff is now organized a bit better. Here is how to run
the transactions. The makefiles may need to be tweaked a bit.
1. Edit include/tpc.h.
This file has some defines that set the
size of the data.
2. cd common; make
This compiles some common routines and deposits them in
lib/libtpcc.a.
3. cd proc; make load
This compiles the data loader for Oracle.
4. cd esql; make load
This compiles the data loader for Informix.
5. cd proc; make main.proc
This compiles the transactions for Oracle Pro*C.
6. cd esql; make main.esql
This compiles the transactions for Informix ESQL/C.
7. cd dbtools; make -f Makefile.ora main.dbor
This compiles the transactions for Oracle DBtools.h++.
8. cd dbtools; make -f Makefile.inf main.dbif
This compiles the transactions for Informix DBtools.h++.
(NOTE: you will need to do a `make clean' between compiling the
two DBTools.h++ versions.)
9. cd proc; sqlplus tpcc/tpcc @create_t; sqlplus tpcc/tpcc @create_t;
load W 1
Creates database objects and indices, loads data for Oracle.
Assumes you are using user "tpcc" with password "tpcc" to
run the tests.
10. cd esql; dbaccess - create_t; dbaccess - create_t; load W 1
Creates databse objects and indices, loads data for Informix.
11. cd dbtools; main.dbor 1 1
Runs test (DBtools) for Oracle.
12. cd dbtools; main.dbif 1 1
Runs test (DBtools) for Informix.
13. cd proc; main.proc 1 1
Runs test (Pro*C) for Oracle.
14. cd esql; main.esql 1 1
Runs test (ESQL/C) for Informix.