Skip site navigation (1) Skip section navigation (2)

Re: GIN index creation extremely slow ?

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: Teodor Sigaev <teodor(at)sigaev(dot)ru>, Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: GIN index creation extremely slow ?
Date: 2006-06-28 10:10:22
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On Wed, 28 Jun 2006, Martijn van Oosterhout wrote:

> On Wed, Jun 28, 2006 at 01:09:23PM +0400, Teodor Sigaev wrote:
>> We tested gin with 5 millions records (but not a wikipedia's text, but with
>> blog records which is usually mush shorter) and index creation time was
>> near 8 hours on Dual Xeon 3.2, but we didn't try GiST. In other hand,
>> creating GiST index on 0.5 millions emails took about 12 hours.
>> That's why 7 minutes is very suspicious result.
> Tom did commit a patch a while ago which made a huge difference in
> index creation time for tsearch by changing one routine. I don't know
> if it got backpatched, so it might be worth checking people are working
> on the same version.

it's on 8.1.4 and speedup is about 10 times.

> Have a nice day,

Oleg Bartunov, Research Scientist, Head of AstroNet (,
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg(at)sai(dot)msu(dot)su,
phone: +007(495)939-16-83, +007(495)939-23-83

In response to

pgsql-hackers by date

Next:From: Teodor SigaevDate: 2006-06-28 10:16:00
Subject: Re: GIN index creation extremely slow ?
Previous:From: Thomas HallgrenDate: 2006-06-28 10:03:40
Subject: Re: UUID's as primary keys

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group