Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
OLTP DebitCredit Benchmark<br />
Anon [Jim Gray] et al. paper (in Datamation, 1985)<br />
introduced the DebitCredit benchmark.<br />
Bank Transaction tables: Acct, Teller, Brnch, History, with 100 byte rows<br />
Read 100 bytes from terminal: aid, tid, bid, delta<br />
Begin Transaction;<br />
Update Accnt set Accnt_bal = Accnt_bal +:delta where Accnt_ID = :aid;<br />
Insert to History values (:aid,:tid, :bid, :delta, Time_stamp);<br />
Update Teller set Teller_bal = Teller_bal + :delta where Teller_ID = :tid;<br />
Update Brnch set Brnch_bal = Brnch_bal+:delta where Brnch_ID = :bid;<br />
Commit;<br />
Write 200 bytes to terminal including: aid, tid, bid, delta, Accnt_bal<br />
Transactions per second (tps) scaled with size of tables: each tps had<br />
100,000 Accnts, 10 Brnches, 100 Tellers; History held 90 days of inserts<br />
1 History of DebitCredit/TPC-A in Jim Gray’s “The Benchmark Handbook”, Chapter 2.<br />
4