X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 924B7D1B496 for ; Wed, 26 Nov 2003 05:53:58 +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 92854-07 for ; Wed, 26 Nov 2003 01:53:28 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 712A9D1B485 for ; Wed, 26 Nov 2003 01:53:27 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id hAQ5rR19011415; Wed, 26 Nov 2003 00:53:27 -0500 (EST) To: Grzegorz Dostatni Cc: pgsql-admin@postgresql.org Subject: Re: Size on Disk In-reply-to: <20031126043752.51857.qmail@web10804.mail.yahoo.com> References: <20031126043752.51857.qmail@web10804.mail.yahoo.com> Comments: In-reply-to Grzegorz Dostatni message dated "Tue, 25 Nov 2003 20:37:52 -0800" Date: Wed, 26 Nov 2003 00:53:27 -0500 Message-ID: <11414.1069826007@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/441 X-Sequence-Number: 11428 Grzegorz Dostatni writes: > Currently the datase is roughly 80 Megs. About half of > the size is stored in pg_xlog directory. I managed to > figure out that those files are transaction log files? > How can I delete them safely? You can NOT. Don't even think about going there. What you can do, if you intend only low-update-volume usage, is reduce checkpoint_segments to reduce the number of WAL files the system wants to keep around. regards, tom lane