Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1htC4r-0003nk-QY for pgsql-general@arkaria.postgresql.org; Thu, 01 Aug 2019 14:29:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1htC4q-0003wn-7M for pgsql-general@arkaria.postgresql.org; Thu, 01 Aug 2019 14:29:08 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1htC4o-0003oM-6y for pgsql-general@lists.postgresql.org; Thu, 01 Aug 2019 14:29:07 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1htC4k-0007AZ-Ai for pgsql-general@postgresql.org; Thu, 01 Aug 2019 14:29:04 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 607B120241; Thu, 1 Aug 2019 10:29:00 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 01 Aug 2019 10:29:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=L oxLJA1U1eQRGSUUw35+x3MpsW9eRKN7zvHOkdClHP0=; b=aXxWQdu/kDdBzfHx9 CN68ZUD2/+0HNSMaT6zfaefRw/usA+V4XQR7IMhXJSfLxAUaZi5YpOUe4qPXSLpZ 9/RFKKZTTKdLDhupLC0MIBXeXeLoph6+EWMYDHfpQ3ghsxX8S6uO5eArMNa4FwFe Bu7mrCNigxkYNs1vfrH17eOddoVTS67gv/55h2U6qaGWo+1sGoFMGUEXZ+rBSjN9 um7Gq56yaZdHzmPG6DDNAeZqMuM/w1RYQFt3sio6zfBfNsXHV0EJwnPMytQdP6dE UpC8s43dWRvkw8np6a+ew3YZs6lLviBdXTZQQeTgNeBaMUEEWIjO5ZzRKGzKvtE2 zsD9Q== 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=fm3; bh=LoxLJA1U1eQRGSUUw35+x3MpsW9eRKN7zvHOkdClH P0=; b=STYabUzbKaA4BCmxq4Y9AHSqxmmWxIim8/fgkjPvn3DKALpaNdO8oCx2K sZRuFzpE61nLu/eMEV9HX0jwOlu6SStWZOcfku+qHLgmLcoIoX3+44zBE0627Br1 Ey19+YG0qzBHNf8TaJrNM97BZHbYq/U77R/xdU1RPbAIPJonvJ7frsZtWRrAzJVg AMfAwHNsm/pJ6ti043Gq/AfsQjGYeKKj365GXJ44fxLapv2ivRCod0ZIw/HEPjMI 5ovI1jPLSNvX4orvvZasLS8kCHIAta4vqiUItEjr3DwBieCwRhKxgoElxiq8ekM0 z2Hki6zWDwKkqrWxAPKYnhbagkS0A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrleejgdejhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthejre dttdefheenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucfkphepjedurddvuddvrdduhedtrddvtd dvnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhl rghvvghrrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 4FD09380083; Thu, 1 Aug 2019 10:28:59 -0400 (EDT) Subject: Re: adding more space to the existing server To: Julie Nishimura , "pgsql-general@lists.postgresql.org" , pgsql-general References: From: Adrian Klaver Message-ID: Date: Thu, 1 Aug 2019 07:28:58 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; 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 7/31/19 3:21 PM, Julie Nishimura wrote: > Hello postgres folks, > > We're tossing around the idea of upgrading a replicated postgres cluster > (37 dbs) by breaking the replication, adding different size (larger) > data disks to the hot-spare, then turning replication back on, letting > it fully populate, then breaking replication, making the standby the > primary, upgrade the disks on the other system, bring it back up, > replicate backwards until fully replicated then failing-back to the > original primary. Is this feasible? To make a determination more information would be helpful: 1) What is the method of replication? 2) What is the expected downtime for the disk upgrades? 3) Dependent on 1). Is there sufficient storage to hold the data until it can be replicated back? 4) How is the data on the existing disks going to get to the new disks? > > Our current size is 22 tb, and it is 97% full > (PostgreSQL 9.6.2 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu > 5.3.1-14ubuntu2) 5.3.1 20160413, 64-bit) > > > Thank you for your suggestions -- Adrian Klaver adrian.klaver@aklaver.com