Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 17AB937D347 for ; Tue, 30 Sep 2008 15:19:12 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 03256-02-3 for ; Tue, 30 Sep 2008 15:19:08 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp132.iad.emailsrvr.com (smtp132.iad.emailsrvr.com [207.97.245.132]) by postgresql.org (Postfix) with ESMTP id 185DE37D37C for ; Tue, 30 Sep 2008 15:13:57 -0300 (ADT) Received: from relay3.r3.iad.emailsrvr.com (localhost [127.0.0.1]) by relay3.r3.iad.emailsrvr.com (SMTP Server) with ESMTP id ED7CC44C36C; Tue, 30 Sep 2008 14:13:56 -0400 (EDT) Received: by relay3.r3.iad.emailsrvr.com (Authenticated sender: chander-AT-otg-nc.com) with ESMTP id CB1F844C086; Tue, 30 Sep 2008 14:13:56 -0400 (EDT) Message-ID: <48E26C60.3060307@otg-nc.com> Date: Tue, 30 Sep 2008 14:13:52 -0400 From: Chander Ganesan User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Jonny CC: pgsql-admin@postgresql.org Subject: Re: turning of pg_xlog References: <48E0B559.3070406@terminalschmiede.de> In-Reply-To: <48E0B559.3070406@terminalschmiede.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200809/354 X-Sequence-Number: 30447 Jonny wrote: > Hi, > > I have installes Postgres 8.0.15 on a embedded Linux and have only 130 > MB for Postgres. > Is it possible to turn off the comlete (Wal) pg_xlog? Because this is > the biggest part. > I found an Entry how to minimize the count of stored xlogs. > Is it possible to store it to /dev/null or something else? > Something like ln -s /dev/null pg_xlog/ (I know this does not work > :-) .... You should also understand that if you set checkpoint_segments to a small number, its still possible that PostgreSQL might use more than that number for a large transaction. As such, be careful about limiting the space available to your xlogs, lest it cause transactions to fail due to insufficient space for the xlogs. -- Chander Ganesan Open Technology Group, Inc. One Copley Parkway, Suite 210 Morrisville, NC 27560 919-463-0999/877-258-8987 http://www.otg-nc.com