Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jIzpk-0003Ym-6H for pgsql-general@arkaria.postgresql.org; Mon, 30 Mar 2020 19:12:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jIzpj-0001aI-6F for pgsql-general@arkaria.postgresql.org; Mon, 30 Mar 2020 19:12:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jIzpi-0001a3-V5 for pgsql-general@lists.postgresql.org; Mon, 30 Mar 2020 19:12:26 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jIzpg-0000nO-7a for pgsql-general@postgresql.org; Mon, 30 Mar 2020 19:12:26 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id E80F05C0261; Mon, 30 Mar 2020 15:12:22 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 30 Mar 2020 15:12:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:from:to:references:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=I p0uX3j8Twygo0A2Z3cX1XBFK7WyG+bXnyhWcRM5DRc=; b=Q8QU2iw5G7xvPqvMk A3m+bAwAGUNg3lfDQAlU4G84zWp4nnM+omIkRXPiC2YCGXprM2mKnLG+pLNr2AXu 08L6QrSAkdb6TxHuI5Ab1fo1fhVfU/MdzJ1KB62lADufUzSJGOe2mJ3ubJpuiCLj vkbFYrk6B8Gudd+Z0IVwjXPhYTLCx3j9UwWVVN+AApQohTFpsm3pnI1qvmWkeqJd OXL1TDkiGhWND4gD7Y/Ro54MwnbFdJjAMVPjPtCaH/5V+TNWmrFlR+UfrHUAUvOE BmnBR7wIUeDJUHCDBLJyLAJ5rdIV35Qhng+WDYUTihyq8IMHl4X3RAmbo3CckZ8F pYWCA== 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=Ip0uX3j8Twygo0A2Z3cX1XBFK7WyG+bXnyhWcRM5D Rc=; b=jScevkCUf8REwx6LGyOnKV70o2vIubocbyEBX0GZ7X81FOHSIeTYzFeS6 BOuFZMmJkVvBPdnYPQWUpYOoGC18R3cBCdbkXnmY9ThgZR8Fu7/FFIKPptjbOXBt +2yh7RlDDJ9hvgU9td7i5JoysCudtbPDQpNoBD4pmeNUqKVEAiY1nQNLCri/tuyp e3nwA9wT1DPEHJHUXpaZZLmS4eu6Y5qynbKknqL6PPyqTAaQUoKxwZuQ8d+e9emz nU4M/nZeCfrvEFMowOs25334RfKDPrtdiqpLMoGyffY3+FZBct1hfjQLElUYhs/T hmVNpsYI6NBVK/iRHzOkFMq7Bp7xg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudeihedgudefgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepuffhvfhfkffffgggjggtgfesth ejredttdefhhenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdr khhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucffohhmrghinhepphhgphhoohhlrd hnvghtpdhpohhsthhgrhgvshhqlhdrohhrghenucfkphepjeehrddujedvrdeltddrledv necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurh hirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: from [192.168.1.10] (75-172-90-92.tukw.qwest.net [75.172.90.92]) by mail.messagingengine.com (Postfix) with ESMTPA id 2F7FE3280059; Mon, 30 Mar 2020 15:12:22 -0400 (EDT) Subject: Re: Hot standby from Debian to Windows From: Adrian Klaver To: Andrus , pgsql-general References: <97FA59FAD55C40FDB8D6882CC29222AC@dell2> <1F58997A61424440ADD69D5BD610588F@dell2> <4a1d12b7-8bd0-b74f-87a7-a97ae4c177c8@aklaver.com> <13ACB57FB633430FA7250B90B6F6A5A9@dell2> <8227d7a1-aa66-643f-3d07-7ee7293bbc64@aklaver.com> Message-ID: <85fdd6f1-a23f-167a-e712-18c4a3166da8@aklaver.com> Date: Mon, 30 Mar 2020 12:12:21 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <8227d7a1-aa66-643f-3d07-7ee7293bbc64@aklaver.com> Content-Type: text/plain; charset=windows-1257; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/30/20 11:36 AM, Adrian Klaver wrote: > On 3/30/20 11:06 AM, Andrus wrote: >> Hi! >> >>> Got it. Just thought it would be easier not to have to deal with >>> cross OS issues. >>> Here is one example: >>> https://www.pgpool.net/docs/latest/en/html/example-watchdog.html >> >> Hopefully Windows Hyper-V virtual network adapter will not check >> windows 20 connection limit. >> In this case using Debian+Hyper-V+ binary replication allows to >> connect more than 20 users and may be best solution. > > That is something I would verify. It would surprise me if MS would allow > you to turn a desktop OS(Windows 10) into a server OS. > >> >> Both have 64-bit OS. Will binary replication work in this case. > > Take a look at: > > https://www.postgresql.org/docs/12/warm-standby.html#STANDBY-PLANNING > > It is not specifically ruled out, nor is it is explicitly ruled in. > Myself, I would not bet on it being stable. Clarification. The above was based on running Postgres under Windows itself. My mind had not updated to the Postgres on Debian in Hyper-V plan. In that case I would not see an issue. > >> >> Andrus. > > -- Adrian Klaver adrian.klaver@aklaver.com