Query compilation in PostgreSQL by specialization of the DBMS source code
- Авторлар: Sharygin E.Y.1,2, Buchatskiy R.A.1, Zhuykov R.A.1, Sher A.R.1
-
Мекемелер:
- Ivannikov Institute for System Programming
- Moscow State University
- Шығарылым: Том 43, № 6 (2017)
- Беттер: 353-365
- Бөлім: Article
- URL: https://journals.rcsi.science/0361-7688/article/view/176561
- DOI: https://doi.org/10.1134/S0361768817060068
- ID: 176561
Дәйексөз келтіру
Аннотация
This paper describes the development of a query compiler for the PostgreSQL DBMS based on automatic code specialization methods; these methods allow one to avoid the development and support difficulties typical for classical query compilers by dividing the compiler development problem into two independent subproblems: reduction of overhead costs and implementation of algorithmic improvements. We assert that this decomposition facilitates the solution of both the subproblems: the cost reduction can be automated, while the algorithmic improvements can be implemented in the interpreter in the DBMS implementation language. This paper presents methods for online and offline specialization, considers specifics of specialization and binding-time analysis of the PostgreSQL source code, and describes the transition to a push model of execution.
Авторлар туралы
E. Sharygin
Ivannikov Institute for System Programming; Moscow State University
Хат алмасуға жауапты Автор.
Email: eush@ispras.ru
Ресей, ul. Solzhenitsyna 25, Moscow, 109004; Moscow, 119991
R. Buchatskiy
Ivannikov Institute for System Programming
Email: eush@ispras.ru
Ресей, ul. Solzhenitsyna 25, Moscow, 109004
R. Zhuykov
Ivannikov Institute for System Programming
Email: eush@ispras.ru
Ресей, ul. Solzhenitsyna 25, Moscow, 109004
A. Sher
Ivannikov Institute for System Programming
Email: eush@ispras.ru
Ресей, ul. Solzhenitsyna 25, Moscow, 109004
Қосымша файлдар
