X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 5288E9DCA4D for ; Wed, 15 Feb 2006 12:15:50 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 55438-02 for ; Wed, 15 Feb 2006 12:15:48 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [216.148.227.151]) by postgresql.org (Postfix) with ESMTP id 0B0389DCA0F for ; Wed, 15 Feb 2006 12:15:47 -0400 (AST) Received: from [10.0.1.5] (c-24-20-199-254.hsd1.or.comcast.net[24.20.199.254]) by comcast.net (rwcrmhc11) with SMTP id <20060215161546m1100pp3eoe>; Wed, 15 Feb 2006 16:15:46 +0000 Subject: Modifying postgresql.org file From: Ken Hill Reply-To: ken@scottshill.com To: Postgres Help Content-Type: multipart/alternative; boundary="=-9dTmg0cHJvv0MoxFO3bi" Organization: Scotts Hill Associates, Inc. Date: Wed, 15 Feb 2006 08:15:46 -0800 Message-Id: <1140020147.3870.14.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.089 required=5 tests=[AWL=0.088, HTML_MESSAGE=0.001] X-Spam-Score: 0.089 X-Spam-Level: X-Archive-Number: 200602/165 X-Sequence-Number: 24175 --=-9dTmg0cHJvv0MoxFO3bi Content-Type: text/plain Content-Transfer-Encoding: 7bit It has been suggested to me to increase my work_mem to make queries preform faster. I believe I do this in the 'postgresql.org' file. I seem to have two of these files: /etc/postgresql/7.4/main/postgresql.org /usr/share/postgresql/7.4/postgresql.conf.sample I believe the second one is an example/sample file (similar to how xorg.conf comes with a sample file). Can someone point me in a direction as to where I can learn how to modify the postgresql.org file to increase work_mem? I have the O'Reilly book "Practical PostgreSQL" but it doesn't seem to cover this topic. I'm fairly confident that I can tweak the postgresql.org file; given that I was successfuly tweaking my xorg.conf file. Any help/guidance is very much appreciated. -Ken --=-9dTmg0cHJvv0MoxFO3bi Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit It has been suggested to me to increase my work_mem to make queries preform faster. I believe I do this in the 'postgresql.org' file.  I seem to have two of these files:

/etc/postgresql/7.4/main/postgresql.org
/usr/share/postgresql/7.4/postgresql.conf.sample

I believe the second one is an example/sample file (similar to how xorg.conf comes with a sample file). Can someone point me in a direction as to where I can learn how to modify the postgresql.org file to increase work_mem? I have the O'Reilly book "Practical PostgreSQL" but it doesn't seem to cover this topic. I'm fairly confident that I can tweak the postgresql.org file; given that I was successfuly tweaking my xorg.conf file.

Any help/guidance is very much appreciated.

-Ken --=-9dTmg0cHJvv0MoxFO3bi--