Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U8anq-0002tw-Lg for pgsql-admin@arkaria.postgresql.org; Thu, 21 Feb 2013 18:23:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U8anp-0008LC-Ua for pgsql-admin@arkaria.postgresql.org; Thu, 21 Feb 2013 18:23:29 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U8ann-0008Jn-UC for pgsql-admin@postgresql.org; Thu, 21 Feb 2013 18:23:28 +0000 Received: from nm40-vm6.bullet.mail.bf1.yahoo.com ([72.30.239.214]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U8anm-00086e-LM for pgsql-admin@postgresql.org; Thu, 21 Feb 2013 18:23:27 +0000 Received: from [98.139.215.141] by nm40.bullet.mail.bf1.yahoo.com with NNFMP; 21 Feb 2013 18:23:25 -0000 Received: from [98.139.212.251] by tm12.bullet.mail.bf1.yahoo.com with NNFMP; 21 Feb 2013 18:23:25 -0000 Received: from [127.0.0.1] by omp1060.mail.bf1.yahoo.com with NNFMP; 21 Feb 2013 18:23:25 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 404019.28652.bm@omp1060.mail.bf1.yahoo.com Received: (qmail 10675 invoked by uid 60001); 21 Feb 2013 18:23:25 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1361471005; bh=7+b35AjybnajXoWjgfooS2P+a7y6sBLAhb2z3H1ZkCo=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=JPQWECZ9n0y62BvaFB5AjsyaNo+sx/mcjzbc5R8EYJERJNQ1He1Gja6CDbfDK/FSty/MRayJ9d78m+oP/3eHn+vAB0ELYjvREjGksTWE2FjIz5VaadRg0D2AKduw6cHfe2RmzvYdyiOshAomqWfkXWaU7cXhHab9svzpWrACzQg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=SDgsvrp8E/U2EmsWbsbjQe4DqGL4/lhrMfCoeBpx3N0OiWKbz8xacdZ2vmTSEeTHfnRlr1R2YK9lAH337tPwJyrlhqOXYwo7YF/qMQn6420+1kTamhCIraqx2u8p9WERdxgfZaxG71BwwOeGVgD4HJp/WsT0OrEO0F1oxRU+CBg=; X-YMail-OSG: _A6CJGwVM1nWCzlTHXQ..aTw6S6ATSvGJUQ7V4jwX6LKSt6 YytBWOy0DTL6Q4oVy2JOlKTxLtt5KTuu9tqXbN32g92SLizgk2QSJrQWq91b TbZhWH24xfogxbrPIIiTMenI8AjfdKqCrORnCFI4cUnlJ769U1sarHa07SPt xQmsRnnos3.9OfJfGnIs28TSxXRC0Ajex5VRMpMgy0.r3vJ5dqhun_mAfXdp k6R6pQrERudMRfcYcE.qS_s8aQPcHz48m7SnTIVIHKb1dij2QC3nWTodIQ10 TgJSKFlV6lZXLt8nV63cO3C7siwJcnf3D0FUUadhDNtRxBgAsMnI_zeWJLsL v.29u98hCWlaCp58huhfQJC.j_j.IPsWZunfztKKaw.Cmnsdm4ajXr.rxHhj HKE_lGCwt8PRSnuqC2CJmdFAg8YXE3dRKzTH1Aq6huNc2NDUFsSLHdlGHDhU Qttd7JNJychyia9pjeqzZD1fuFrVF.jHBNEk5FjrRIK9_iuh52SCZKQSmWF1 SzbXgoo9TISEX3jzGkakzjtOMcPdaygEopzXTj4M- Received: from [76.255.18.237] by web162901.mail.bf1.yahoo.com via HTTP; Thu, 21 Feb 2013 10:23:25 PST X-Rocket-MIMEInfo: 001.001, UHJhc2hhbnRoIFJhbmphbGthciA8cHJhc2hhbnQucmFuamFsa2FyQGdtYWlsLmNvbT4gd3JvdGU6Cgo.PiBIZWxsbywgQ291bGQgZXhwbGFpbiBzb21lYm9keSB3aGF0IHdpbGwgaGFwcGVuLCBpZiB0aGUgc2xhdmUKCj4gSXQgZGVwZW5kcyBvbiB0aGUgdHlwZSBvZiByZXBsaWNhdGlvbiBpcyB1c2VkLgo.Cj4gSWYgaXQncyBhIHNsb255IHJlcGxpY2F0aW9uIHRoZW4gbWFzdGVyIGNvbnRpbnVlcyB0byB3b3JrIGFuZAo.IHdpbGwgY2F0Y2ggdXAgd2hlbiBzbGF2ZSBpcyBhdmFpbGFibGUuCj4KPiBIb3dldmUBMAEBAQE- X-Mailer: YahooMailWebService/0.8.134.513 References: <5124F06B.1020508@okservers.eu> <36037.192.168.207.54.1361375813.squirrel@webmail.etecsa.cu> <5124F40F.5090805@okservers.eu> Message-ID: <1361471005.93321.YahooMailNeo@web162901.mail.bf1.yahoo.com> Date: Thu, 21 Feb 2013 10:23:25 -0800 (PST) From: Kevin Grittner Reply-To: Kevin Grittner Subject: Re: Pg 9.1 master-slave replication To: Prashanth Ranjalkar , Viktor Cc: "gilberto.castillo@etecsa.cu" , "pgsql-admin@postgresql.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: 0.0 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Prashanth Ranjalkar wrote: >> Hello, Could explain somebody what will happen, if the slave > It depends on the type of replication is used. > > If it's a slony replication then master continues to work and > will catch up when slave is available. > > However if the Streaming replication is used, [...] once it fills > all the space, master may go down. That strikes me a false distinction -- Slony also stores data to be replicated until the slave becomes available.=A0 Either way you can control where that is stored, and you need to watch out for space problems on an extended outage of a replica. An issue I don't think I've seen mentioned is that if you use synchronous replication you are telling PostgreSQL not to return an indication of success for a data-modifying transaction until the work of that transaction has been persisted on at least one replica.=A0 To avoid stalls on the master, you may want to define multiple synchronous replicas, so that when one goes down you keep running without DBA intervention. --=20 Kevin Grittner EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin