chore(deps): update dependency gburd/pg_fts to v1.1.0 #22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/gburd-pg_fts-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
1.0.8→1.1.0Release Notes
gburd/pg_fts (gburd/pg_fts)
v1.1.0Compare Source
Build-convergence and operability release. No on-disk format change from
1.0.8; no REINDEX required (
ALTER EXTENSION pg_fts UPDATE TO '1.1.0').Building an index over many long, high-vocabulary documents (full email
bodies, source code, patches -- many distinct low-frequency terms per doc)
could enter a merge phase that ran for hours with no forward progress and
never completed, even though memory stayed bounded. The cause was a
quadratic (O(N^2)) construction of each trigram's term-set during the merge;
it is now built with a bulk O(N) path. A build that previously did not finish
in 8.5 hours completes in minutes.
collapsing to a single segment at the end of a build (a single-backend pass
over the whole index), a build whose total size exceeds the new
pg_fts.build_collapse_max_mbGUC (default 4096 MB) stops at a bounded,size-tiered set of segments. The index is valid and fully queryable; ranked
scans traverse a bounded handful of segments (a small fixed cost). Run
fts_merge(index)to collapse to a single optimal segment in a maintenancewindow. Set the GUC to 0 to always collapse (the historical behavior), or
raise it to collapse larger indexes during the build.
DEBUG1(segments in,terms/docs written, elapsed), and a
LOGline reports when a build stops at atiered set.
fts_index_nsegments()now works on an in-progress(
indisvalid = f) index, so a build can be polled to watch its segment countfall as merges complete.
covers the build-memory formula (including
shared_buffers), the collapseGUC, monitoring, and partitioning.
Configuration
📅 Schedule: (in timezone Europe/Paris)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.