Re: Querying a table with jaccard similarity with 1.6 million records take 12 seconds

Поиск
Список
Период
Сортировка
От Michael Lewis
Тема Re: Querying a table with jaccard similarity with 1.6 million records take 12 seconds
Дата
Msg-id CAHOFxGruzhrb0SeD=5jLjgB+P-h3WpkbMyGfaje4Uuf_EVu5wQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Querying a table with jaccard similarity with 1.6 million records take 12 seconds  (Ninad Shah <nshah.postgres@gmail.com>)
Ответы Re: Querying a table with jaccard similarity with 1.6 million records take 12 seconds
Re: Querying a table with jaccard similarity with 1.6 million records take 12 seconds
Список pgsql-general
This is showing many false positives from the index scan that get removed when the actual values are examined. With such a long search parameter, that does not seem surprising. I would expect a search on "raj nagar ghaziabad 201017" or something like that to yield far fewer results from the index scan. I don't know GIN indexes super well, but I would guess that including words that are very common will yield false positives that get filtered out later.

В списке pgsql-general по дате отправления: