How to speed up tsearch2 indexing

From: Werner Bohl <WernerBohl(at)infutor(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: How to speed up tsearch2 indexing
Date: 2005-03-09 17:25:47
Message-ID: 1110389147.21620.6.camel@sirio
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)infutor(dot)com>
IDS de Costa Rica S.A.

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Oleg Bartunov 2005-03-09 17:41:01 Re: How to speed up tsearch2 indexing
Previous Message Jim C. Nasby 2005-03-09 17:22:38 Re: index scan on =, but not < ?