SlideShare a Scribd company logo
P. Burte, B. Aleman-Meza, D. Brent Weatherly, Rong Wu
                    University of Georgia
                       May 06, 2006
Repsented by :Mohamed Zeinelabdeen
•   In traditional database systems rely on the
    disk subsystem to retrieve and update data
    and use an offline storage device such as
    magnetic tape for backup.
•   In this experiment, a main-memory database
    will use physical memory as primary storage
    and a disk subsystem for backup.
•   A Java object, class Transaction, encapsulates
    all operations that are accessible by a
    database transaction.
•   The data set used for testing had 80 different
    extents. A total of 1,000 Transactions were
    run via 1,000 threads (one transaction per
    thread).
•   Each Transaction executed a fixed number of
    operations on each set of tests , each
    operation involves a single extent, which is
    chosen randomly from the 80 possibilities.
•   Each set of tests was run with different
    percentages of updates/queries.
   The different percentages tested were:
    ◦   0% updates, 100% queries .
    ◦   20% updates, 80% queries.
    ◦   40% updates, 60% queries.
    ◦   60% updates, 40% queries.
    ◦   80% updates, 20% queries.
    ◦   98% updates, 2% queries .
   For each of these tests, the following information was
    recorded:
    ◦ time taken for completion of all the transactions.
    ◦ average number of times a transaction needed to wait for
      an extent used by other transaction.
    ◦ number of transactions aborted because of a detected
      Deadlock .
   Each of the tests was run several times to in order to
    obtain an average for each value.
   Transaction performance is measured in
    two areas:
   the throughput for transaction
    completion.
   the average number of times a
    transaction goes to 'wait' state because it
    is unable to obtain a lock on a resource.
   Transaction throughput is measured by
    taking the total number of transactions
    attempted, subtracting the number of
    transactions that were aborted because of
    deadlock, and dividing by the time required
    to complete the test.
Transaction management for a main memory database
•   For the set of tests executing only one
    operation per transaction, the number of
    wait-states increased slowly for percentages
    of updates under 60%.
•   For percentages of updates over 60%, the
    number of wait-states increased rapidly.
•   For the set of tests executing 1 to 5
    operations per transaction, the number of
    wait-states increased with the percentage of
    updates increasing.
Transaction management for a main memory database
   for deadlock detection, the test results were
    as expected. The number of aborted
    transactions because of a detected deadlock
    increases as the percentage of updates
    increases.
   no deadlock occurs if all transactions contain
    a single operation on a single extent.
Transaction management for a main memory database
   From this experiment, Inferred performance
    tests show our implementation is promising
    an average throughput of two hundred and
    thirty transactions per second for a thousand
    single-operation transactions is a good start.

More Related Content

PPTX
Deadlock Slides
PDF
Which DBMS and Why?
PPT
Main MeMory Data Base
PPTX
in-memory database system and low latency
PPTX
In-Memory DataBase
PPTX
L12 Concurrent Programming
PDF
7 concurrency controltwo
PDF
7 concurrency controltwo
Deadlock Slides
Which DBMS and Why?
Main MeMory Data Base
in-memory database system and low latency
In-Memory DataBase
L12 Concurrent Programming
7 concurrency controltwo
7 concurrency controltwo

Similar to Transaction management for a main memory database (20)

PPTX
Chapter_NINE_Concurrency_Control_DBMS.pptx
PDF
Ijiret ashwini-kc-deadlock-detection-in-homogeneous-distributed-database-systems
DOC
White Paper On ConCurrency For PCMS Application Architecture
PDF
Oracle trace data collection errors: the story about oceans, islands, and rivers
PPT
BCT 2312 - Chapter 2 - Transaction processing concepts.ppt
PPTX
Chapter 1&2 query processing and optimization - Copy.pptx
PPTX
Chapter 123 - Transaction Processing and Mgt.pptx
PPTX
Chapter 1 - Transaction Processing and Mgt.pptx
PPTX
Magiclock: Scalable Detection of Potential Deadlocks in Large-Scale Multithre...
PPT
Database concurrency control & recovery (1)
PPTX
Transactional Memory
PPT
Svetlin Nakov - Database Transactions
PDF
Chapter 5 Database Transaction Management
PPTX
Presentation on Transaction Processing in DBMS
PPTX
Distributed DBMS - Unit 8 - Distributed Transaction Management & Concurrency ...
PPTX
DBMS Session 6 Transactions Management and Concurrency Control.pptx
PPT
Transaction
PDF
Contention Aware Lock Scheduling For Transactional Databases
PPT
Real time database
PDF
Riyaj real world performance issues rac focus
Chapter_NINE_Concurrency_Control_DBMS.pptx
Ijiret ashwini-kc-deadlock-detection-in-homogeneous-distributed-database-systems
White Paper On ConCurrency For PCMS Application Architecture
Oracle trace data collection errors: the story about oceans, islands, and rivers
BCT 2312 - Chapter 2 - Transaction processing concepts.ppt
Chapter 1&2 query processing and optimization - Copy.pptx
Chapter 123 - Transaction Processing and Mgt.pptx
Chapter 1 - Transaction Processing and Mgt.pptx
Magiclock: Scalable Detection of Potential Deadlocks in Large-Scale Multithre...
Database concurrency control & recovery (1)
Transactional Memory
Svetlin Nakov - Database Transactions
Chapter 5 Database Transaction Management
Presentation on Transaction Processing in DBMS
Distributed DBMS - Unit 8 - Distributed Transaction Management & Concurrency ...
DBMS Session 6 Transactions Management and Concurrency Control.pptx
Transaction
Contention Aware Lock Scheduling For Transactional Databases
Real time database
Riyaj real world performance issues rac focus
Ad

More from Mohamed Zeinelabdeen Abdelgader Farh jber (13)

PPTX
الآثار الأخلاقية المترتبة على الملكية الفكرية في أفريقيا
PPTX
موزع البريد الرقمي
PPTX
Comparison of the workflow management systems bizagi, process maker, and joget
PPTX
Comparison of the workflow management systems bizagi, process maker, and joget
PPTX
PPTX
Workflow Management Systems Comparison Study
PPTX
Transaction management transparencies
PDF
PDF
Online Msc Application Workflow Management System
الآثار الأخلاقية المترتبة على الملكية الفكرية في أفريقيا
موزع البريد الرقمي
Comparison of the workflow management systems bizagi, process maker, and joget
Comparison of the workflow management systems bizagi, process maker, and joget
Workflow Management Systems Comparison Study
Transaction management transparencies
Online Msc Application Workflow Management System
Ad

Recently uploaded (20)

PPTX
Tartificialntelligence_presentation.pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
Hybrid model detection and classification of lung cancer
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
Architecture types and enterprise applications.pdf
PPTX
Modernising the Digital Integration Hub
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Getting started with AI Agents and Multi-Agent Systems
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Chapter 5: Probability Theory and Statistics
PDF
WOOl fibre morphology and structure.pdf for textiles
PPTX
OMC Textile Division Presentation 2021.pptx
Tartificialntelligence_presentation.pptx
Assigned Numbers - 2025 - Bluetooth® Document
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Developing a website for English-speaking practice to English as a foreign la...
Hybrid model detection and classification of lung cancer
Enhancing emotion recognition model for a student engagement use case through...
Architecture types and enterprise applications.pdf
Modernising the Digital Integration Hub
A comparative study of natural language inference in Swahili using monolingua...
Getting started with AI Agents and Multi-Agent Systems
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
NewMind AI Weekly Chronicles – August ’25 Week III
O2C Customer Invoices to Receipt V15A.pptx
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
Final SEM Unit 1 for mit wpu at pune .pptx
Programs and apps: productivity, graphics, security and other tools
Chapter 5: Probability Theory and Statistics
WOOl fibre morphology and structure.pdf for textiles
OMC Textile Division Presentation 2021.pptx

Transaction management for a main memory database

  • 1. P. Burte, B. Aleman-Meza, D. Brent Weatherly, Rong Wu University of Georgia May 06, 2006 Repsented by :Mohamed Zeinelabdeen
  • 2. In traditional database systems rely on the disk subsystem to retrieve and update data and use an offline storage device such as magnetic tape for backup. • In this experiment, a main-memory database will use physical memory as primary storage and a disk subsystem for backup. • A Java object, class Transaction, encapsulates all operations that are accessible by a database transaction.
  • 3. The data set used for testing had 80 different extents. A total of 1,000 Transactions were run via 1,000 threads (one transaction per thread). • Each Transaction executed a fixed number of operations on each set of tests , each operation involves a single extent, which is chosen randomly from the 80 possibilities. • Each set of tests was run with different percentages of updates/queries.
  • 4. The different percentages tested were: ◦ 0% updates, 100% queries . ◦ 20% updates, 80% queries. ◦ 40% updates, 60% queries. ◦ 60% updates, 40% queries. ◦ 80% updates, 20% queries. ◦ 98% updates, 2% queries .  For each of these tests, the following information was recorded: ◦ time taken for completion of all the transactions. ◦ average number of times a transaction needed to wait for an extent used by other transaction. ◦ number of transactions aborted because of a detected Deadlock .  Each of the tests was run several times to in order to obtain an average for each value.
  • 5. Transaction performance is measured in two areas:  the throughput for transaction completion.  the average number of times a transaction goes to 'wait' state because it is unable to obtain a lock on a resource.
  • 6. Transaction throughput is measured by taking the total number of transactions attempted, subtracting the number of transactions that were aborted because of deadlock, and dividing by the time required to complete the test.
  • 8. For the set of tests executing only one operation per transaction, the number of wait-states increased slowly for percentages of updates under 60%. • For percentages of updates over 60%, the number of wait-states increased rapidly. • For the set of tests executing 1 to 5 operations per transaction, the number of wait-states increased with the percentage of updates increasing.
  • 10. for deadlock detection, the test results were as expected. The number of aborted transactions because of a detected deadlock increases as the percentage of updates increases.  no deadlock occurs if all transactions contain a single operation on a single extent.
  • 12. From this experiment, Inferred performance tests show our implementation is promising an average throughput of two hundred and thirty transactions per second for a thousand single-operation transactions is a good start.