Deep dive on FTS, PG 9.6, and rum

Bug #1666300 reported by Paul Everitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL4
Won't Fix
Medium
Jim Fulton

Bug Description

Since November (and into the stuff that's imminent), we have a lot of improvements at the storage level. As we convert more views to jsonindex, we'll eliminate most of the hot spots.

"Live Search" remains a problem area:

- PG FTS does relevance ranking with a full table scan of compressed TOAST files

- LiveSearch is pathological...we search for any document with a word starting with 3 or more typed in characters...which usually means a LOT of matched documents to be relevance ranked

- We then do that query 6 times...once for each LiveSearch "group" (although it winds up being the same total for relevance ranking)

In this task, learn a lot about FTS in PG and specifically come up with a reproducible measurement scheme that you're comfortable with. Then, explore how to do better, focusing on the rum extension.

Revision history for this message
Jim Fulton (jim-zope) wrote :

I think this is done, but there doesn't a status for: we looked and it didn't work out.

Changed in karl4:
status: New → Won't Fix
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.