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 1hoX3y-0007MA-6D for pgsql-general@arkaria.postgresql.org; Fri, 19 Jul 2019 17:52:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hoX3u-0002Z8-4p for pgsql-general@arkaria.postgresql.org; Fri, 19 Jul 2019 17:52:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hoX3t-0002Z1-JX for pgsql-general@lists.postgresql.org; Fri, 19 Jul 2019 17:52:53 +0000 Received: from customer-185-24-169-24.ip4.gigabit.dk ([185.24.169.24] helo=mail.bunk.cc) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hoX3q-00055r-Uq for pgsql-general@lists.postgresql.org; Fri, 19 Jul 2019 17:52:53 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.bunk.cc (Postfix) with ESMTP id 7E2ADB404BA for ; Fri, 19 Jul 2019 19:52:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bunk.cc; s=201907; t=1563558770; bh=FdkId5yU25INXrW+DPevAatQQ7/pUPcQKDj/ydDR9dg=; h=From:To:Subject:In-Reply-To:References:Date:From; b=aNXzmJn67kUKXECd6zGHmdVpRR48qjg5uTtOIHvHaHsyze1DUESEZPuS6IBdVYcsK +6bdqgGmwpf3/HWaRmMkH0o8eVH38tb+EjzjiRaKsoue0Z7CgfSoqMcewBChNDL5nN JNsbJ6HWLT66ZiVrSuPPbiKmwtx6qLP5VOd5ay7PunB7WtMX8VkURRQKPS/yLzOU+T YtauC7abBMTGpa0NS4UJOe2aX2zo3cMfBGgWQ8LF3UWtQSt/cxsHYWMuKhJkq4nFLG ZjTAUldYRClGAs+bWdhfWp2xsOdHW0094X+idoydpQm1He47VGTrTNGjIWM4napzx2 OzciOr13xOMjA== X-Virus-Scanned: Debian amavisd-new at atom.bunk.cc Received: from mail.bunk.cc ([127.0.0.1]) by localhost (atom.bunk.cc [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pgTAYCSjBg5s for ; Fri, 19 Jul 2019 19:52:48 +0200 (CEST) Received: from paven (unknown [10.168.1.1]) by mail.bunk.cc (Postfix) with ESMTP id 0DBBDB401C5 for ; Fri, 19 Jul 2019 19:52:47 +0200 (CEST) From: Jacob Bunk Nielsen To: pgsql-general@lists.postgresql.org Subject: Re: Rearchitecting for storage In-Reply-To: (Matthew Pounsett's message of "Thu, 18 Jul 2019 16:09:07 -0400") References: <20190718173424.GB25488@aart.rice.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) X-Hashcash: 1:20:190719:pgsql-general@lists.postgresql.org::AGOL7wxII+6yOVyE:00000000000000000000000000025S6 X-Hashcash: 1:20:190719:matt@conundrum.com::WJfY9C68EczXX3ji:00000000000000000000000000000000000000000002Jcz X-Hashcash: 1:20:190719:ktm@rice.edu::wCQF7LuNFaeBHFoT:00000CYzo Date: Fri, 19 Jul 2019 19:52:47 +0200 Message-ID: <877e8dgbdc.fsf@paven.bunk.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Matthew Pounsett writes: > [...] Is there any rule of thumb for making sure one has enough space > available for the upgrade? No, because it depends greatly on which version you are upgrading from and which version you are upgrading to etc. Perhaps you could carve out a slice of data, e.g. 1 GB and load it into a test database and try to upgrade that. That would probably give you an idea. Also, you mentioned that your database contains historical test data=C2=B9, then I would guess that one of the indexes is related to timestamps? But maybe you could live with a smaller BRIN index for the timestamps: https://www.postgresql.org/docs/11/brin-intro.html - that could potentially save some space, and may not have been something on the radar when the database was first developed. Best regards, Jacob =C2=B9) I think I know which kind of data based on your progress reports on a DNS related list I'm subscribed to.