• Home
  • Search
  • Динамическая компиляция пользовательских функций на языке PL/pgSQL
  • https://doi.org/10.15514/ispras-2020-32(5)-5Copy DOI Icon

Динамическая компиляция пользовательских функций на языке PL/pgSQL

Show More
  • Abstract
  • Highlights & Summary
  • PDF
  • Literature Map
  • References
  • Similar Papers
Abstract

Many modern RDBMS provide procedural extensions for SQL programming language, which allow users to perform server-side complex computations. Use of such extensions improves modularity and code reuse, simplifies programming of application logic, and helps developers to avoid network overhead and enhance performance. Interpretation is mostly used to execute SQL queries and procedural extensions code, resulting in significant computational overhead because of indirect function calls and performing of generic checks. Moreover, most RDBMS use different engines for SQL queries execution and procedural extensions code execution, and it is necessary to perform additional computations to switch between different engines. Thus, interpretation of SQL queries combined with interpretation of procedural extensions code may drastically degrade performance of RDBMS. One solution is to use a dynamic compilation technique. In this paper, we describe the technique of dynamic compilation of PL/pgSQL procedural language for the PostgreSQL database system using LLVM compiler infrastructure. Dynamic compiler of PL/pgSQL procedural language is developed as part of PostgreSQL queries dynamic compiler. Proposed technique helps to get rid of computational overhead caused by interpretation usage. Synthetic performance tests show that the developed solution speeds up SQL queries execution by several times.

Loading PDF

Similar Papers
  • PDF
  • Research Article
  • Citations7

Динамическая компиляция выражений в SQL-запросах для СУБД PostgreSQL

  • Jan 01, 2016
  • Proceedings of the Institute for System Programming of the RAS
  • E.Y Sharygin +4
  • Book Chapter
  • Citations37

Efficient XML-to-SQL Query Translation: Where to Add the Intelligence?

  • Jan 01, 2004
  • Proceedings 2004 VLDB Conference
  • Rajasekar Krishnamurthy +2
  • Research Article
  • Citations51

Query translation from XPath to SQL in the presence of recursive DTDs

  • Feb 04, 2009
  • The VLDB Journal
  • Wenfei Fan +4
  • Research Article
  • Citations17

I-Rex

  • Aug 01, 2020
  • Proceedings of the VLDB Endowment
  • Zhengjie Miao +5
  • Conference Article
  • Citations1

A nested set approach for building recursive XML tree structures from relational databases

  • Jun 01, 2011
  • Frederick S Brundick +1
  • Conference Article
  • Citations6

Unraveling the duplicate-elimination problem in XML-to-SQL query translation

  • Jun 17, 2004
  • Rajasekar Krishnamurthy +2
  • Conference Article

Homomorphic Encryption for Privacy-Preserving SQL Query Processing in Financial Databases

  • Oct 31, 2025
  • Sai Vamsi Kiran Gummadi
  • Conference Article
  • Citations4

An intelligent system for information extraction from relational database using HMM

  • Oct 01, 2015
  • N Sangeeth +1
  • Conference Article
  • Citations13

Toward Harnessing High-Level Language Virtual Machines for Further Speeding Up Weak Mutation Testing

  • Apr 01, 2012
  • Vinicius H.S Durelli +2
  • Conference Article

LEARNING DATABASE QUERIES WITH PROLOG

  • Apr 11, 2019
  • eLearning and Software for Education
  • Ekaterina Orehova +2
  • Front Matter

Preface: Volume 59, Issue 4

  • Nov 01, 2001
  • Electronic Notes in Theoretical Computer Science
  • Mark Van Den Brand +1
  • Conference Article
  • Citations8

Just-in-time compilation for SQL query processing

  • Mar 01, 2014
  • Stratis D Viglas
  • Research Article
  • Citations2

Software Integration of Real-Time Expert Systems

  • Aug 01, 1994
  • IFAC Proceedings Volumes
  • Robert K Chun
  • Book Chapter
  • Citations2

Intuitionistic Logic Programming for SQL

  • Jan 01, 2017
  • Fernando Sáenz-Pérez
  • Conference Article
  • Citations11

Privacy-Preserving Intra-MME Group Handover via MRN in LTE-A Networks for Repeated Trips

  • Sep 01, 2017
  • Zaher Haddad +3
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.