PostgreSQL Portland Performance Practice Project - Database Test 2 Background

5,245 views
5,157 views

Published on

Portland State University Computer Science Department sponsored speaker series. Background information for Database Test 2 (DBT-2).

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
5,245
On SlideShare
0
From Embeds
0
Number of Embeds
9
Actions
Shares
0
Downloads
77
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

PostgreSQL Portland Performance Practice Project - Database Test 2 Background

  1. 1. PostgreSQL Portland Performance Practice Project Database Test 2 (DBT-2) Background Mark Wong markwkm@postgresql.org Portland State University January 8, 2009
  2. 2. Contents DBT-2 Background ◮ Test Architecture ◮ Database Schema ◮ Transactions ◮
  3. 3. Once upon a time. . . The OSDL (Open Source Development Labs) mission was: Providing Open Source developers with computing resources to build data center and telco class enhancements into Linux and its Open Source software stack, enabling it to become the leading UNIX Operating System for e-Business development and deployment.1 1 http://web.archive.org/web/20020517124256/http://www.osdl.org/lab/mission.html
  4. 4. One approach to achieve the OSDL mission The DBT (Database Test) kits were derived from industry standard specifications that have well understood workloads to characterize Linux based systems. But when using a completely open source software stack, it turned from an operating system oriented characterization to a database management systems tuning and development exercise. In other words the focus turned to open source database management systems.
  5. 5. Database Test 2 (DBT-2) What DBT-2 Is What DBT-2 Is Not Test Kit Marketing benchmarking kit ◮ ◮ OLTP Workload TPC-C Benchmark ◮ ◮ compliant TPC-C Fair-Use Derivative ◮ Open Source ◮
  6. 6. Online transaction processing (OLTP) Online transaction processing, or OLTP, refers to a class of systems that facilitate and manage transaction-oriented applications, typically for data entry and retrieval transaction processing. The term is somewhat ambiguous; some understand a ”transaction” in the context of computer or database transactions, while others (such as the Transaction Processing Performance Council) define it in terms of business or commercial transactions.2 OLTP has also been used to refer to processing in which the system responds immediately to user requests. An automatic teller machine (ATM) for a bank is an example of a commercial transaction processing application.3 2 Transaction Processing Performance Council website (http://www.tpc.org/) 3 http://en.wikipedia.org/wiki/OLTP
  7. 7. TPC (Transaction Processing Performance Council) The TPC is a non-profit corporation founded to define transaction processing and database benchmarks and to disseminate objective, verifiable TPC performance data to the industry.4 4 http://www.tpc.org/information/about/about.asp
  8. 8. TPC-C Benchmark Approved in July of 1992, TPC Benchmark C is an on-line transaction processing (OLTP) benchmark. TPC-C is more complex than previous OLTP benchmarks such as TPC-A because of its multiple transaction types, more complex database and overall execution structure. TPC-C involves a mix of five concurrent transactions of different types and complexity either executed on-line or queued for deferred execution. The database is comprised of nine types of tables with a wide range of record and population sizes. TPC-C is measured in transactions per minute (tpmC).5 5 http://www.tpc.org/tpcc/
  9. 9. Why DBT-2? A TPC-C open source fair-use implementation for testing and characterizing database management systems.
  10. 10. Why isn’t this a TPC-C? Kit not audited by 3rd party auditor. ◮ No terminal emulator. ◮ No commercially supported transaction manager. ◮ No ACID tests. ◮ No pricing information. ◮
  11. 11. What does a TPC-C look like? Have a look: http://www.tpc.org/tpcc/results/tpcc_results.asp
  12. 12. What does DBT-2 look like? Have a look: http://osdldbt.sourceforge.net/dbt2/pgsql/report/
  13. 13. DBT-2 Components
  14. 14. DBT-2 Transactions 5 Transactions Delivery - Read/Write ◮ New Order - Read/Write ◮ Order Status - Read/Write ◮ Payment - Read/Write ◮ Stock Level - Read Only ◮
  15. 15. Materials Are Freely Available PDF http://www.slideshare.net/markwkm ◮ LTEX Beamer (source) A ◮ http://git.postgresql.org/?p=~markwkm/performance-tuning.git
  16. 16. Time and Location When: 2nd Thursday of the month Location: Portland State University Room: FAB 86-01 (Fourth Avenue Building) Map: http://www.pdx.edu/map.html
  17. 17. Coming up next time. . . Diving deep into the DBT-2 kit. ~~~/ . o O ( Thank you! ) / ,----( oo ) / / /| ( |( ^ / | / || | | -quot;
  18. 18. Acknowledgements Haley Jane Wakenshaw ~~~/ / ,----( oo ) / / /| ( |( ^ / | / || | | -quot;
  19. 19. License This work is licensed under a Creative Commons Attribution 3.0 Unported License. To view a copy of this license, (a) visit http://creativecommons.org/licenses/by/3.0/us/; or, (b) send a letter to Creative Commons, 171 2nd Street, Suite 300, San Francisco, California, 94105, USA.

×