X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 27771D1CAE6 for ; Sat, 31 Jan 2004 05:27:53 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 17975-06 for ; Sat, 31 Jan 2004 01:27:51 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id B9F62D1BC68 for ; Sat, 31 Jan 2004 01:27:50 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i0V5RluE027049; Sat, 31 Jan 2004 00:27:47 -0500 (EST) To: Daniel Henrique Debonzi Cc: pgsql-admin@postgresql.org Subject: Re: Files in pg_xlog In-reply-to: <1075408043.1003.4.camel@laetitia> References: <1075408043.1003.4.camel@laetitia> Comments: In-reply-to Daniel Henrique Debonzi message dated "29 Jan 2004 18:27:23 -0200" Date: Sat, 31 Jan 2004 00:27:47 -0500 Message-ID: <27048.1075526867@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/306 X-Sequence-Number: 12169 Daniel Henrique Debonzi writes: > Does anybody knows how can I change the size (something about 4Mb) of > the files inside the pg_xlog directory You can't, short of hacking the source code (and I'm not sure it's a one-line change if you do...) > and how can I have no more than one file inside it. Can't do that either. In a low-traffic database you could reasonably expect to have no more than two xlog files most of the time. Set checkpoint_segments to 1 to minimize the space usage. regards, tom lane