TU Darmstadt / ULB / TUbiblio

Runtime Parameterizable Regular Expression Operators for Databases

István, Zsolt ; Sidler, David ; Alonso, Gustavo (2016)
Runtime Parameterizable Regular Expression Operators for Databases.
24th IEEE Annual International Symposium on Field-Programmable Custom Computing Machines. Washington DC, USA (01.-03.05.2016)
doi: 10.1109/FCCM.2016.61
Konferenzveröffentlichung, Bibliographie

Kurzbeschreibung (Abstract)

Relational databases execute user queries through operator trees, where each operator has a well defined interface and a specific task (e.g., arithmetic function, pattern matching, aggregation, etc.). Hardware acceleration of compute intensive operators is a promising prospect but it comes with challenges. Databases execute tens of thousands of different queries per second. Thus, if only one specific instantiation of an operator is supported by the accelerator, it will have little effect on the overall workload. In this paper we explore the tradeoff between resource efficiency and expression complexity for an FPGA accelerator targeting string-matching operators (LIKE and REGEXPLIKE in SQL). This tradeoff is complex. For instance, the FPGA not always wins: simple queries that can be answered from indexes run faster on the CPU. On complex regular expressions, the FPGA is faster but needs to be parametrized at runtime to be able to support different queries. For very long patterns, the entire expression might not fit into the FPGA circuit and a combined mode CPU-FPGA must be chosen. We evaluate our design on a heterogeneous multi-core machine in which the FPGA has cache coherent access to the CPU memory. In addition to the string matching circuit, we also show how to implement database page parsing logic so as to be able to work directly on the same memory data structures as the database engine.

Typ des Eintrags: Konferenzveröffentlichung
Erschienen: 2016
Autor(en): István, Zsolt ; Sidler, David ; Alonso, Gustavo
Art des Eintrags: Bibliographie
Titel: Runtime Parameterizable Regular Expression Operators for Databases
Sprache: Englisch
Publikationsjahr: 1 Mai 2016
Verlag: IEEE
Buchtitel: Proceedings: The 24th IEEE International Symposium on Field-Programmable Custom Computing Machines
Veranstaltungstitel: 24th IEEE Annual International Symposium on Field-Programmable Custom Computing Machines
Veranstaltungsort: Washington DC, USA
Veranstaltungsdatum: 01.-03.05.2016
DOI: 10.1109/FCCM.2016.61
Kurzbeschreibung (Abstract):

Relational databases execute user queries through operator trees, where each operator has a well defined interface and a specific task (e.g., arithmetic function, pattern matching, aggregation, etc.). Hardware acceleration of compute intensive operators is a promising prospect but it comes with challenges. Databases execute tens of thousands of different queries per second. Thus, if only one specific instantiation of an operator is supported by the accelerator, it will have little effect on the overall workload. In this paper we explore the tradeoff between resource efficiency and expression complexity for an FPGA accelerator targeting string-matching operators (LIKE and REGEXPLIKE in SQL). This tradeoff is complex. For instance, the FPGA not always wins: simple queries that can be answered from indexes run faster on the CPU. On complex regular expressions, the FPGA is faster but needs to be parametrized at runtime to be able to support different queries. For very long patterns, the entire expression might not fit into the FPGA circuit and a combined mode CPU-FPGA must be chosen. We evaluate our design on a heterogeneous multi-core machine in which the FPGA has cache coherent access to the CPU memory. In addition to the string matching circuit, we also show how to implement database page parsing logic so as to be able to work directly on the same memory data structures as the database engine.

Zusätzliche Informationen:

24th IEEE Annual International Symposium on Field-Programmable Custom Computing Machines, FCCM 2016,

Fachbereich(e)/-gebiet(e): 20 Fachbereich Informatik
20 Fachbereich Informatik > Distributed and Networked Systems
Hinterlegungsdatum: 23 Jan 2023 12:06
Letzte Änderung: 02 Mai 2023 07:44
PPN: 507372999
Export:
Suche nach Titel in: TUfind oder in Google
Frage zum Eintrag Frage zum Eintrag

Optionen (nur für Redakteure)
Redaktionelle Details anzeigen Redaktionelle Details anzeigen