pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stef <svb@ucs.co.za>
To: pgsql-performance@postgresql.org
Subject: Re: Query kills machine.
Date: Tue, 24 Aug 2004 15:30:14 +0200
Message-ID: <20040824153014.2a11d228@svb.ucs.co.za> (raw)
In-Reply-To: <412B05A2.8070301@familyhealth.com.au>
References: <20040824103240.4d909777@svb.ucs.co.za>
	<412B05A2.8070301@familyhealth.com.au>

Christopher Kings-Lynne mentioned :
=> sort_mem = 4096

Reducing sort_mem to 4096 seems to make it run in a reasonable time
again. Any idea why? The database does a whole lot of huge sorts
every day, so I thought upping this parameter would help.

A couple of queries do seem to run slower now that I reduced
the sort_mem. 

The shared buffers still makes a significant difference when I increase it.

Kind Regards
Stefan




view thread (7+ messages)  latest in thread

Message-ID: <20040824153014.2a11d228@svb.ucs.co.za>
Permalink:  ../20040824153014.2a11d228@svb.ucs.co.za/
Also on:    postgresql.org/message-id/20040824153014.2a11d228@svb.ucs.co.za

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: svb@ucs.co.za
  Subject: Re: Query kills machine.
  In-Reply-To: <20040824153014.2a11d228@svb.ucs.co.za>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox