v0.4.1 #16
svdC1
announced in
Announcements
v0.4.1
#16
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
A query performance patch, no API or database changes
Fixed
Form-Search Performance→ Searching entries and proper names by awritten or reading form previously compiled to correlated
EXISTSsubqueries that scanned every row (743k for names). The predicates are
rewritten as a non-correlated
id IN (... UNION ...)subquery that runs onthe existing text indexes.
kotobase.Kotobase.namesdrops from~1.4s to ~2ms (~780x),
kotobase.Kotobase.lookupfrom ~310ms to ~17ms, andkotobase.Kotobase.words_with_kanjifrom ~460ms to ~50ms.Result sets are unchanged and already-downloaded databases don't need a rebuild
This discussion was created from the release v0.4.1.
All reactions