Low-Latency Transaction Execution on Graphics Processors: Dream or Reality?

In this paper we take a close look into the role of GPUs for executing OLTP workloads, with a focus on CRUD operatorbased processing, as opposed to more complex OLTP transactions. To this end we develop a prototype system supporting GPU and CPU variants of DSM and NSM processing, with a delegation-based approach that uses a singlethread scheduler to manage concurrency control, enabling reads with guaranteed bounded staleness. We evaluate our prototype using workloads from the Yahoo! cloud serving benchmark. We report the impact of layout choices, batching configuration and concurrency control designs. Through our study we are able to pinpoint that the contradicting needs in GPU processing for small batches to reduce waiting time, but large batches to reduce execution time, is the essential challenge for OLTP on these processors, affecting all design choices we study. Hence, we propose two preconditions for supporting OLTP with GPUs, aiming to guide researchers in finding scenarios for extending the applicability of GPUs in supporting data management tasks.

[1]  Wook-Shin Han,et al.  Parallel Replication across Formats in SAP HANA for Scaling Out Mixed OLTP/OLAP Workloads , 2017, Proc. VLDB Endow..

[2]  Anastasia Ailamaki,et al.  The Case For Heterogeneous HTAP , 2017, CIDR.

[3]  Sebastian Breß,et al.  Why it is time for a HyPE: A Hybrid Query Processing Engine for Efficient GPU Coprocessing in DBMS , 2013, Proc. VLDB Endow..

[4]  Alan Fekete Replica Freshness , 2009, Encyclopedia of Database Systems.

[5]  Gunter Saake,et al.  GPU-Accelerated Database Systems: Survey and Open Challenges , 2014, Trans. Large Scale Data Knowl. Centered Syst..

[6]  Jonathan Goldstein,et al.  Relaxed currency and consistency: how to say "good enough" in SQL , 2004, SIGMOD '04.

[7]  Nicolas Bruno,et al.  Spanner: Becoming a SQL System , 2017, SIGMOD Conference.

[8]  Gunter Saake,et al.  Are Databases Fit for Hybrid Workloads on GPUs? A Storage Engine's Perspective , 2017, 2017 IEEE 33rd International Conference on Data Engineering (ICDE).

[9]  Themis Palpanas,et al.  Defining and Measuring Data-Driven Quality Dimension of Staleness , 2012 .

[10]  Yuan Yuan,et al.  Mega-KV: A Case for GPUs to Maximize the Throughput of In-Memory Key-Value Stores , 2015, Proc. VLDB Endow..

[11]  Bingsheng He,et al.  High-Throughput Transaction Executions on Graphics Processors , 2011, Proc. VLDB Endow..

[12]  P. Cochat,et al.  Et al , 2008, Archives de pediatrie : organe officiel de la Societe francaise de pediatrie.

[13]  Carlo Curino,et al.  OLTP-Bench: An Extensible Testbed for Benchmarking Relational Databases , 2013, Proc. VLDB Endow..

[14]  Bingsheng He,et al.  Relational query coprocessing on graphics processors , 2009, TODS.

[15]  Adam Silberstein,et al.  Benchmarking cloud serving systems with YCSB , 2010, SoCC '10.

[16]  Sebastian Breß The Design and Implementation of CoGaDB: A Column-oriented GPU-accelerated DBMS , 2014, Datenbank-Spektrum.

[17]  Volker Markl,et al.  Hardware-Oblivious Parallelism for In-Memory Column-Stores , 2013, Proc. VLDB Endow..