Re: Serious performance problem

From: "Zeugswetter Andreas SB SD" <ZeugswetterA(at)spardat(dot)at>
To: "Tille, Andreas" <TilleA(at)rki(dot)de>
Cc: "PostgreSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Serious performance problem
Date: 2001-10-30 11:29:50
Message-ID: 46C15C39FEB2C44BA555E356FBCD6FA41EB3DD@m0114.s-mxs.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> I also
> enforced the index scan and compared with forbidding the index scan.
The
> result was on my more realistic examples that both versions performed
quite
> the same. There was no *real* difference. For sure in this simple
query there
> is a difference but the real examples showed only 2% - 5% speed
increase
> (if not slower with enforcing index scans!).

You could somewhat speed up the query if you avoid that the sort
hits the disk. A simple test here showed, that you need somewhere
near sort_mem = 15000 in postgresql.conf.

Andreas

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Brent Verner 2001-10-30 11:48:40 Re: Serious performance problem
Previous Message Lee Kindness 2001-10-30 10:46:36 Re: Compiling on Solaris with Sun compiler