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: Pine.GSO.4.63.0606281409510.2921@ra.sai.msu.su
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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,
>

Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

In response to

Browse pgsql-hackers by date

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