pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Werner Bohl <WernerBohl@infutor.com>
To: pgsql-performance@postgresql.org
Subject: How to speed up tsearch2 indexing
Date: Wed, 09 Mar 2005 11:25:47 -0600
Message-ID: <1110389147.21620.6.camel@sirio> (raw)

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.




view thread (4+ messages)  latest in thread

Message-ID: <1110389147.21620.6.camel@sirio>
Permalink:  ../1110389147.21620.6.camel@sirio/
Also on:    postgresql.org/message-id/1110389147.21620.6.camel@sirio

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: WernerBohl@infutor.com
  Subject: Re: How to speed up tsearch2 indexing
  In-Reply-To: <1110389147.21620.6.camel@sirio>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox