Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f9EMa-0001Zb-Su for pgsql-general@arkaria.postgresql.org; Thu, 19 Apr 2018 18:32:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f9EMZ-00075R-QE for pgsql-general@arkaria.postgresql.org; Thu, 19 Apr 2018 18:32:55 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f9EMZ-00075F-FA for pgsql-general@lists.postgresql.org; Thu, 19 Apr 2018 18:32:55 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f9EMX-0003Ey-4t for pgsql-general@postgresql.org; Thu, 19 Apr 2018 18:32:54 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 6726A21CDB; Thu, 19 Apr 2018 14:32:52 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 19 Apr 2018 14:32:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=Iti/k08f1wd2c5tebJkiJEOOglaOB /HJMSEUYiyGGNI=; b=hTHxmvPMV6RFvwptoxn5tkzou5KvRxY44iTciO0C1GTNT edSmF0RRBCB9dFDUxMdhRxPCTWoHbxLMNRvVw7S7JzvWyFWReLrcW7xiZtWHGLNG IBiIPLFR9TNmGp4pCK9X4Tb4qg0ewxM8cNd336NveqA4EeM3NCbMY4aTpXT5r3kC eqCuo9Y6oq1awItoidA7aR46rEWstNLaevmPHVbLhwy+rObjUIZi6LMb/cr00zNs 5oHLKYv45nidEBbJhTEianyUs+YPUlKB3L5slHn8AlCPlttMYMOjLF8QOnwsqhIe hP6PBP06t8xUxZb4lAimwFUAbN1GlhivnTe3KsGRw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Iti/k0 8f1wd2c5tebJkiJEOOglaOB/HJMSEUYiyGGNI=; b=LRzBH2UVOQdJLdvwGSOp1O 9xVrzFG4Nf5J8JncxDW/WpwZAucRUV7PJUPIRYphGve4Ry9gvvG14RXsDoQAaknT pcECEWSUGNx+5Xh/47d8wl65vtLG/atFhsvVi+c4F3tyO8dQzk9DHnKB5od1R1+c HcI94KjNxQScx1KFww8nZ9TbMZiYs5DBAPsFBcbV6n9sPVyL6iJvUshCGKshaE+C 3K/oLZUtAMmzpLqEOtSEHJIls1CcMl8S/IlsFsg/ecKz1YGacbv48/9EYFMYdi8o lyjrIMgh+FKvayywdX9M3gJPJdzGveoXs7ckNSYo3asjihrDhKio8hmqt8fSRM9g == X-ME-Sender: Received: from ranger.suse (c-73-239-117-238.hsd1.wa.comcast.net [73.239.117.238]) by mail.messagingengine.com (Postfix) with ESMTPA id C8818E4D6D; Thu, 19 Apr 2018 14:32:51 -0400 (EDT) Subject: Re: Doubts about replication.. To: Edmundo Robles , pgsql-general@postgresql.org References: From: Adrian Klaver Message-ID: <2e6cb612-9d26-dfe4-6c5b-63682e8708b3@aklaver.com> Date: Thu, 19 Apr 2018 11:32:50 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 04/19/2018 10:57 AM, Edmundo Robles wrote: > > > I have several versions of postgres 9.4.5, 9.4.4, 9.4.15 (3), 9.5.3 > in different versions of Debian 7.6, 7.8, 7.11, 8.5 and 8.6. > > I need to replicate the databases and I have clear that I must update > all to one version. > My main question is, Do you  recommended me update to 9.6 or better > update to 10?. If you have the choice go with 10 as you get an additional year of community support. > > Actually, is not the goal have high availability . I will use > replication as simple backup. > For reasons of $$$ I can only have 1 server in which I will replicate > the 6 databases. > > Do you recommend using a postgres service for the 6 databases?, or > better, I think,   I must run  a postgres service in different ports, > for each  database?. I am assuming you are going to be using some form of logical replication as binary replication will not work between Postgres major versions. One cluster would be simpler to manage. The down side is that there are cluster(global) data e.g. roles that would be shared by all the databases. There is also the fact that everything is in one cluster and should it fail all six databases will be down. Running as separate clusters would give you some redundancy. > > thanks in advance. > regards! > -- > -- Adrian Klaver adrian.klaver@aklaver.com