Re: changing sort_mem on the fly?

From: "Jim C(dot) Nasby" <decibel(at)decibel(dot)org>
To: Lonni J Friedman <netllama(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: changing sort_mem on the fly?
Date: 2005-01-28 00:23:21
Message-ID: 20050128002321.GP67721@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jan 27, 2005 at 02:57:22PM -0800, Lonni J Friedman wrote:
> Is there any way to increase sort_mem without having to perform a full
> restart of the DB? Will just doing a 'kill -HUP $PID" work as long as
> i've made the change in postgresql.conf first?
>
> As a side question, are the options that will take effect with a kill
> -HUP documented somewhere?

If you just want to change it for one connection, you can do 'set
sort_mem=newvalue;'. You might need to be an admin to do it, though.
--
Jim C. Nasby, Database Consultant decibel(at)decibel(dot)org
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pailloncy Jean-Gerard 2005-01-28 01:04:50 Re: Extended unit
Previous Message Stephen Frost 2005-01-27 23:26:13 Re: convert mdb files to pg?