Skip to content

Conversation

@EQuincerot
Copy link
Member

@EQuincerot EQuincerot commented Dec 12, 2025

As pg_no_seqscan extension needs enable_seqscan = off the average cost of queries increases strongly.
When working on partition tables with many partition or when join many tables, the cost was big enough to let PG enable jit which is rarely a good choice in terms of performance for local/test/ci database.

jit_above_cost was already set very high, but it's not enough for some specific use cases.

Here we increase the recommendation.

@EQuincerot EQuincerot enabled auto-merge (squash) December 16, 2025 15:32
@EQuincerot EQuincerot merged commit 8a851c2 into main Dec 16, 2025
7 checks passed
@EQuincerot EQuincerot deleted the doc_to_avoid_jit branch December 16, 2025 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants