How to speed up tsearch2 indexing

Поиск
Список
Период
Сортировка
От Werner Bohl
Тема How to speed up tsearch2 indexing
Дата
Msg-id 1110389147.21620.6.camel@sirio
обсуждение исходный текст
Ответы Re: How to speed up tsearch2 indexing  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-performance
All,

I have a table with ~ 3 million records. I'm indexing a field holding
names, no more than 200 bytes each. Indexing the resulting tsvector
takes forever. It's been running now for more than 40 hours on a Linux
with PG 8.01, a single Xeon & 4GB RAM. My  work_mem postgresql.conf
parameter is at 240960 and maintenance_work_mem at 96384, although the
index task is using at most 12MB. Task is 99% cpu bound. Is there any
way I may speed up the indexing?


TIA,


--
Werner Bohl <WernerBohl@infutor.com>
IDS de Costa Rica S.A.


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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: index scan on =, but not < ?
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: How to speed up tsearch2 indexing