Logo des Repositoriums
 
Konferenzbeitrag

Workload-Aware Contention-Management in Indexes for Hierarchical Data

Lade...
Vorschaubild

Volltext URI

Dokumententyp

Text/Conference Paper

Zusatzinformation

Datum

2023

Zeitschriftentitel

ISSN der Zeitschrift

Bandtitel

Quelle

Verlag

Gesellschaft für Informatik e.V.

Zusammenfassung

Queries in hierarchical databases (HDBs) often combine predicates referring to values of node properties with path predicates relating to the structure. We call these queries property-and-path (PP) queries. Usually, PP indexes are used to support these types of queries efficiently. In an environment in which HDBs are updated concurrently, we encounter conflicts which may lead to transaction aborts. We identify preventable aborts caused by conflicts in the index, while the operations in the actual database are executed without any problems. These index conflicts are due to the deletion of a path in the index concurrently taking place with an insertion underneath a node on the deleted path. We leverage recent workload information to detect and suspend the deletion of substructures in PP indexes that are likely to conflict with concurrent insertions. However, the suspension of these deletions has a detrimental effect on the query performance, which means this becomes a tradeoff between the number of transaction aborts and the speed of the query evaluation. We implement our approach in Apache Jackrabbit Oak and FOEDUS, experimentally investigate the tradeoff, and show how to balance the effects to maximize the transactional throughput for a given workload.

Beschreibung

Wellenzohn, Kevin; Böhlen, Michael H.; Helmer, Sven; Reutegger, Marcel (2023): Workload-Aware Contention-Management in Indexes for Hierarchical Data. BTW 2023. DOI: 10.18420/BTW2023-03. Bonn: Gesellschaft für Informatik e.V.. ISBN: 978-3-88579-725-8. pp. 71-92. Dresden, Germany. 06.-10. März 2023

Zitierform

Tags