Re: Index creation takes for ever

Поиск
Список
Период
Сортировка
От ohp@pyrenet.fr
Тема Re: Index creation takes for ever
Дата
Msg-id Pine.UW2.4.53.0309012157180.23297@server.pyrenet.fr
обсуждение исходный текст
Ответ на Re: Index creation takes for ever  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Index creation takes for ever  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi Tom,
I've made some tests with your qsort and it DEFINITIVLY help
~3 mn instead of 69.

However this is for 7.3.4 I've got no probs with 7.4b.
Did something change in btree creation?
On Mon, 1 Sep 2003, Tom Lane wrote:

> Date: Mon, 01 Sep 2003 08:46:09 -0400
> From: Tom Lane <tgl@sss.pgh.pa.us>
> To: ohp@pyrenet.fr
> Cc: pgsql-hackers list <pgsql-hackers@postgresql.org>
> Subject: Re: [HACKERS] Index creation takes for ever
>
> ohp@pyrenet.fr writes:
> > it took 69 minutes to finish, 75% of this time was devoted to create 2
> > indexes on varchar(2) with value being 'O', 'N' or null;
> > I wonder if it's a configuration matter.
>
> I still say it's either strcoll or qsort's fault.  Try swapping in our
> own version of qsort to see if the behavior changes.
>
>             regards, tom lane
>

-- 
Olivier PRENANT                    Tel: +33-5-61-50-97-00 (Work)
6, Chemin d'Harraud Turrou           +33-5-61-50-97-01 (Fax)
31190 AUTERIVE                       +33-6-07-63-80-64 (GSM)
FRANCE                          Email: ohp@pyrenet.fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: Preliminary notes about hash index concurrency (long)
Следующее
От: Tommi Mäkitalo
Дата:
Сообщение: TCP/IP with 7.4 beta2 broken?