How to speed up tsearch2 indexing - Mailing list pgsql-performance

From Werner Bohl
Subject How to speed up tsearch2 indexing
Date
Msg-id 1110389147.21620.6.camel@sirio
Whole thread Raw
Responses Re: How to speed up tsearch2 indexing
List 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 by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: index scan on =, but not < ?
Next
From: Oleg Bartunov
Date:
Subject: Re: How to speed up tsearch2 indexing