X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 67A9B9DC940 for ; Thu, 19 Jan 2006 07:28:52 -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 95909-01 for ; Thu, 19 Jan 2006 07:28:50 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id B2B819DC820 for ; Thu, 19 Jan 2006 07:28:44 -0400 (AST) Received: from hedwig.lancs.ac.uk (hedwig.lancs.ac.uk [148.88.0.65]) by svr4.postgresql.org (Postfix) with ESMTP id 1D0035AF0AB for ; Thu, 19 Jan 2006 11:28:47 +0000 (GMT) Received: from marl.lancs.ac.uk ([148.88.1.10]) by hedwig.lancs.ac.uk with esmtp (Exim 4.52) id 1EzXaw-0001Mp-QB for pgsql-admin@postgresql.org; Thu, 19 Jan 2006 11:04:46 +0000 Received: from fyb0phd200506.lancs.ac.uk ([148.88.169.16]) by marl.lancs.ac.uk with esmtp (Exim 4.52) id 1EzXHQ-0002Sk-9Z for pgsql-admin@postgresql.org; Thu, 19 Jan 2006 10:44:36 +0000 Message-ID: <43CF6D93.2080806@lancaster.ac.uk> Date: Thu, 19 Jan 2006 10:44:35 +0000 From: Chris Jewell User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051011) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: WAL log archive frequency X-Enigmail-Version: 0.93.0.0 OpenPGP: id=8D03FB0A; url= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200601/217 X-Sequence-Number: 20305 Hi, Further to my question on PITR, I have now implemented it :-) However, I was wondering about the frequency of archiving the WAL. Does postgresql wait until the current WAL file has reached 16MB before calling the archive_command? The reason why I ask is that last night, after doing the base backup, I noticed that a WAL file had been written to my backup server. This morning, I added a primary key to a table but noticed that nothing was written to the backup server. Should it have been? Is there any method of forcing a WAL segment to be archived at a given frequency irrespective of whether or not it is a full 16MB? Our database changes so infrequently at the moment that I'm worried that these small changes may not be backed up regularly by the PITR system. Thanks, Chris -- Chris Jewell, BSc(Hons), BVSc, MRCVS Dept of Maths and Statistics Fylde College Lancaster University Lancaster Lancs LA1 4YF