Re: Query optimisation and sorting on external merge

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Query optimisation and sorting on external merge
Date: 2009-07-29 11:57:22
Message-ID: 20090729115722.GG28314@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

In response to Jake Stride :
> Hi,
>
> I'm trying to optimise a query at the moment, I've added some new
> indexes to stop seq scans, but I'm now trying to work out if I can
> stop a join using external sort to speed up the query. I've included

Increase work_mem to force sort in memory.

Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message nha 2009-07-29 12:27:29 Re: Query optimisation and sorting on external merge
Previous Message Jake Stride 2009-07-29 11:46:02 Query optimisation and sorting on external merge