Postgres 12+ needs to have JIT disabled

Bug #2042158 reported by Blake GH
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Confirmed
Undecided
Galen Charlton

Bug Description

Newer versions of PostgreSQL (12 and up) include a new feature called JIT (Just-in-Time compilation). https://www.postgresql.org/docs/current/jit-reason.html

This feature can slow Evergreen significantly. This is where we encountered it first but there are almost certainly other queries:

explain (analyze,buffers) select * from reporter.old_super_simple_record where id=xxxx

Changes to the install instructions incoming

Revision history for this message
Blake GH (bmagic) wrote :
Changed in evergreen:
status: New → Confirmed
Revision history for this message
Jeff Davis (jdavis-sitka) wrote :

I've also run into this issue on Postgres 14, and the recommendation in Blake's branch (setting jit_above_cost = -1 in postgresql.conf) resolved the problem for me.

Galen Charlton (gmc)
Changed in evergreen:
assignee: nobody → Galen Charlton (gmc)
Galen Charlton (gmc)
tags: added: performance
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.