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 E17809DC897 for ; Wed, 15 Feb 2006 12:20:38 -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 55290-04 for ; Wed, 15 Feb 2006 12:20:36 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from r1.mycybernet.net (r1.mycybernet.net [209.5.206.8]) by postgresql.org (Postfix) with ESMTP id 6E5D49DC803 for ; Wed, 15 Feb 2006 12:20:36 -0400 (AST) Received: from 227-54-222-209.mycybernet.net ([209.222.54.227]:33912 helo=phlogiston.dydns.org) by r1.mycybernet.net with esmtp (Exim 4.50 (FreeBSD)) id 1F9POL-000E4T-5j for pgsql-sql@postgresql.org; Wed, 15 Feb 2006 11:20:33 -0500 Received: by phlogiston.dydns.org (Postfix, from userid 1000) id C6D463FAF; Wed, 15 Feb 2006 11:20:31 -0500 (EST) Date: Wed, 15 Feb 2006 11:20:31 -0500 From: Andrew Sullivan To: pgsql-sql@postgresql.org Subject: Re: Modifying postgresql.org file Message-ID: <20060215162031.GB6562@phlogiston.dyndns.org> References: <1140020147.3870.14.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1140020147.3870.14.camel@localhost.localdomain> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.096 required=5 tests=[AWL=0.096] X-Spam-Score: 0.096 X-Spam-Level: X-Archive-Number: 200602/166 X-Sequence-Number: 24176 On Wed, Feb 15, 2006 at 08:15:46AM -0800, Ken Hill wrote: > 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 Where did you get this version of Postgres? The main config file should be $PGDATA/postgresql.conf. Anything else is probably the result of your system's packaging having done some magic. But in any case, unless I'm misremembering, the work_mem setting isn't in 7.4. You can check the docs on postgresql.org. There's a whole section on the configuration variables, and manuals are available for several releases back. A -- Andrew Sullivan | ajs@crankycanuck.ca Information security isn't a technological problem. It's an economics problem. --Bruce Schneier