“Overloaded! ” — A model-based approach to database stress testing

Jorge Augusto Meira, Eduardo Cunha de Almeida, Dongsun Kim, Edson Ramiro Lucas Filho, Yves Le Traon

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

2 Scopus citations

Abstract

As a new era of “Big Data” comes, contemporary database management systems (DBMS) introduced new functions to satisfy new requirements for big volume and velocity applications. Although the development agenda goes at full pace, the current testing agenda does not keep up, especially to validate non-functional requirements, such as: performance and scalability. The testing approaches strongly rely on the combination of unit testing tools and benchmarks. There is still a testing methodology missing, in which testers can model the runtime environment of the DBMS under test, defining the testing goals and the harness support for executing test cases. The major contribution of this paper is the MoDaST (Model-based Database Stress Testing) approach that leverages a state transition model to reproduce a runtime DBMS with dynamically shifting workload volumes and velocity. Each state in the model represents the possible running states of the DBMS. Therefore, testers can define state goals or specific state transitions that revealed bugs. Testers can also use MoDaST to pinpoint the conditions of performance loss and thrashing states. We put MoDaST to practical application testing two popular DBMS: PostgreSQL and VoltDB. The results show that MoDaST can reach portions of source code that are only possible with non-functional testing. Among the defects revealed by MoDaST, when increasing the code coverage, we highlight a defect confirmed by the developers of VoltDB as a major bug and promptly fixed.

Original languageEnglish
Title of host publicationDatabase and Expert Systems Applications - 27th International Conference, DEXA 2016, Proceedings
EditorsSven Hartmann, Hui Ma
PublisherSpringer Verlag
Pages207-222
Number of pages16
ISBN (Print)9783319444024
DOIs
StatePublished - 2016
Event27th International Conference on Database and Expert Systems Applications, DEXA 2016 - Porto, Portugal
Duration: 5 Sep 20168 Sep 2016

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume9827 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference27th International Conference on Database and Expert Systems Applications, DEXA 2016
Country/TerritoryPortugal
CityPorto
Period5/09/168/09/16

Fingerprint

Dive into the research topics of '“Overloaded! ” — A model-based approach to database stress testing'. Together they form a unique fingerprint.

Cite this