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
Fix Committed
Undecided
Unassigned

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
Revision history for this message
Mike Rylander (mrylander) wrote :

Considered, and picked. Thanks, Blake!

Changed in evergreen:
assignee: Galen Charlton (gmc) → Mike Rylander (mrylander)
status: Confirmed → Fix Committed
Changed in evergreen:
assignee: Mike Rylander (mrylander) → nobody
Revision history for this message
Andrea Neiman (aneiman) wrote :

Does this need to get picked to 3.13 as well?

Revision history for this message
Jason Stephenson (jstephenson) wrote :

Yes, but I suspect we're waiting on the 3.13-beta to be officially announced and the next milestone created.

Revision history for this message
Mike Rylander (mrylander) wrote :

I've picked this into origin/rel_3_13. Thanks for the reminder to do so, I didn't realize the branch was already there!

Changed in evergreen:
milestone: none → 3.13-rc
no longer affects: evergreen/3.13
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.