Slow running to_tsvector (tsearch2 in PG 8.2.3)

Поиск
Список
Период
Сортировка
От Henrik Zagerholm
Тема Slow running to_tsvector (tsearch2 in PG 8.2.3)
Дата
Msg-id 81E2F3F6-0543-4D78-B205-3EC575D3A081@mac.se
обсуждение исходный текст
Ответы Re: Slow running to_tsvector (tsearch2 in PG 8.2.3)  (Richard Huxton <dev@archonet.com>)
Re: Slow running to_tsvector (tsearch2 in PG 8.2.3)  (Markus Schiltknecht <markus@bluegap.ch>)
Re: Slow running to_tsvector (tsearch2 in PG 8.2.3)  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-general
Hello list,

I've been testing tsearch2 for a while and I recently noticed some
really slow queries.

This is a quite big document so the times are maybe accurate.

The document has about 194 000 words.

I put all the data in tbl_fulltext.fulltext_text and then did a

update tbl_fulltext set vectors = to_tsvector(fulltext_text);

Which takes about 80 seconds to complete.
The hardware is a Pentium 4 2.8GHz with 1GB HyperX memory.

Is this normal? What can I tweak in postgresql.conf to speed up big
to_tsvector()?

Regards,
Henrik


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

Предыдущее
От: "hubert depesz lubaczewski"
Дата:
Сообщение: Re: Odd behaviour of timestamptz
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Slow running to_tsvector (tsearch2 in PG 8.2.3)