Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id B505864FCF2 for ; Wed, 10 Dec 2008 13:57:33 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 81710-08 for ; Wed, 10 Dec 2008 13:57:28 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outmail128147.authsmtp.com (outmail128147.authsmtp.com [62.13.128.147]) by mail.postgresql.org (Postfix) with ESMTP id 7664664FC4F for ; Wed, 10 Dec 2008 13:57:28 -0400 (AST) Received: from mail-c189.authsmtp.com (mail-c189.authsmtp.com [62.13.128.71]) by punt5.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id mBAHvOqJ038105; Wed, 10 Dec 2008 17:57:24 GMT Received: from [192.168.0.3] (85-211-226-82.dyn.gotadsl.co.uk [85.211.226.82]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id mBAHuYer038542; Wed, 10 Dec 2008 17:56:34 GMT Subject: Re: warm standby server From: Simon Riggs To: zz_11@mail.bg Cc: pgsql-admin@postgresql.org In-Reply-To: <20081210142335.s2y9d3bcw0kwkcw0@mail.bg> References: <20081210142335.s2y9d3bcw0kwkcw0@mail.bg> Content-Type: text/plain; charset=utf-8 Date: Wed, 10 Dec 2008 17:56:11 +0000 Message-Id: <1228931771.20796.875.camel@hp_dx2400_1> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 Content-Transfer-Encoding: 8bit X-Server-Quench: e2304ce8-c6e3-11dd-bc7a-001f29070be2 X-AuthRoute: OCdxZQATClZOTQEd DAteCiNZVAwpPBRK HVkIKg5MJUcNSQVJ NksadBtFaQVbaVxS HGQLW1xEUVp7XGV/ aA4fZQBDYEtPQQdo VlZBQE1QEQdtHhxP W2xvKlwbIkdGe3Z1 YUQsX3RZVQovd0V9 Rh0BHXBVYzJjdWEe BBRFJVBTIR5Kfh4T aFl/U3NfNGdJBC9q VzwaExUQGwAXNy1P R0kWMVsUTUwaViUx XQ4PB11z X-Authentic-SMTP: 61633235383639.kestrel.dmpriest.net.uk:1378/Kp X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system! X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200812/96 X-Sequence-Number: 30929 On Wed, 2008-12-10 at 14:23 +0200, zz_11@mail.bg wrote: > Hi, > > I am using pg 8.3 and configured warm standby server. It is working > well, but my db is relative big ( ~ 40 GB). > > Is it possible to stop running "Warm standby server" and when it > starts again to continue executing WALs from the stop moment. Yes > I'm using following command to stop the server: > > kill -SIGINT `head -1 /POSTGRESQL_DATA_DIR/postmaster.pid` Use pg_ctl > but when it starts again there is broken link > "/POSTGRESQL_DATA_DIR/pg_xlog/RECOVERYHISTORY" which points to the > following missing file "/WAL_ARCHIVE_DIR/00000001.history" > > i wonder if it is fatal or not? That's normal. > I will not to start the process ot making the base backup and send it > to my warm standby server. My warm standby server is on diferent > location connected via slow connection. That's OK. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support