From: Rob Sargent <robjsargent@gmail.com>
To: Matthew Pounsett <matt@conundrum.com>
Cc: Kenneth Marshall <ktm@rice.edu>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Rearchitecting for storage
Date: Thu, 18 Jul 2019 17:53:51 -0600
Message-ID: <A853620E-A179-49A5-B079-B7EF01F2802D@gmail.com> (raw)
In-Reply-To: <CAAiTEH_VY_hPVBFNrkdD4YHHst5WJff9=gCt2cE3B0xeFV_2Hg@mail.gmail.com>
References: <CAAiTEH-442wghJmt=Yw2bnUvxNW-nwTMoFLqgLrTZ1CmZxiZJA@mail.gmail.com>
<20190718173424.GB25488@aart.rice.edu>
<CAAiTEH_VY_hPVBFNrkdD4YHHst5WJff9=gCt2cE3B0xeFV_2Hg@mail.gmail.com>
>
> That would likely keep the extra storage requirements small, but still non-zero. Presumably the upgrade would be unnecessary if it could be done without rewriting files. Is there any rule of thumb for making sure one has enough space available for the upgrade? I suppose that would come down to what exactly needs to get rewritten, in what order, etc., but the pg_upgrade docs don't seem to have that detail. For example, since we've got an ~18TB table (including its indices), if that needs to be rewritten then we're still looking at requiring significant extra storage. Recent experience suggests postgres won't necessarily do things in the most storage-efficient way.. we just had a reindex on that database fail (in --single-user) because 17TB was insufficient free storage for the db to grow into.
>
Can you afford to drop and re-create those 6 indices?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: robjsargent@gmail.com, matt@conundrum.com, ktm@rice.edu
Subject: Re: Rearchitecting for storage
In-Reply-To: <A853620E-A179-49A5-B079-B7EF01F2802D@gmail.com>
References: <CAAiTEH-442wghJmt=Yw2bnUvxNW-nwTMoFLqgLrTZ1CmZxiZJA@mail.gmail.com> <20190718173424.GB25488@aart.rice.edu> <CAAiTEH_VY_hPVBFNrkdD4YHHst5WJff9=gCt2cE3B0xeFV_2Hg@mail.gmail.com> <A853620E-A179-49A5-B079-B7EF01F2802D@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox