Re: [HACKERS] sort on huge table

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: t-ishii(at)sra(dot)co(dot)jp
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] sort on huge table
Date: 1999-10-30 17:37:10
Message-ID: 14048.941305030@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> writes:
> It worked with 2GB+ table but was much slower than before.
> Before(with 8MB sort memory): 22 minutes
> After(with 8MB sort memory): 1 hour and 5 minutes
> After(with 80MB sort memory): 42 minutes.

I've committed some changes to tuplesort.c to try to improve
performance. Would you try your test case again with current
sources? Also, please see if you can record the CPU time
consumed by the backend while doing the sort.

regards, tom lane

Browse pgsql-hackers by date

  From Date Subject
Next Message D'Arcy J.M. Cain 1999-10-30 20:42:32 Re: [HACKERS] missing mugshots
Previous Message Jan Wieck 1999-10-30 16:30:27 Re: [HACKERS] missing mugshots