All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

pg_jitter: Lightweight JIT Compilation Provider for PostgreSQL with Alternative Backends

By

vladich

2mo ago· 10 min readenCode

Summary

pg_jitter is a lightweight JIT compilation provider for PostgreSQL that offers three alternative JIT backends (sljit, AsmJit, and MIR) as alternatives to the standard LLVM-based JIT. It aims to provide faster compilation times and competitive query execution performance for PostgreSQL versions 14-18, particularly benefiting expression-heavy workloads and wide tables where JIT compilation can significantly improve performance by reducing interpretation overhead and inefficient per-row loops.

Key quotes

· 3 pulled
A lightweight JIT compilation provider for PostgreSQL that adds three alternative JIT backends - sljit, AsmJit and MIR - delivering faster compilation and competitive query execution across PostgreSQL 14–18.
JIT compilation was introduced in Postgres 11 in 2018. It solves a problem of Postgres having to interpret expressions and use inefficient per-row loops in run-time in order to do internal data conversions (so-called tuple deforming).
On expression-heavy workloads or just wide tables, it can give a significant performance boost for those operations.
Snippet from the RSS feed
Better JIT for Postgres. Contribute to vladich/pg_jitter development by creating an account on GitHub.

You might also wanna read