pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jacob Bunk Nielsen <jacob@bunk.cc>
To: pgsql-general@lists.postgresql.org
Subject: Re: Rearchitecting for storage
Date: Fri, 19 Jul 2019 19:52:47 +0200
Message-ID: <877e8dgbdc.fsf@paven.bunk.cc> (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>

Matthew Pounsett <matt@conundrum.com> 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¹,
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

¹) I think I know which kind of data based on your progress reports on
   a DNS related list I'm subscribed to.






view thread (19+ messages)  latest in thread

Message-ID: <877e8dgbdc.fsf@paven.bunk.cc>
Permalink:  ../877e8dgbdc.fsf@paven.bunk.cc/
Also on:    postgresql.org/message-id/877e8dgbdc.fsf@paven.bunk.cc

 · 

reply

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: jacob@bunk.cc
  Subject: Re: Rearchitecting for storage
  In-Reply-To: <877e8dgbdc.fsf@paven.bunk.cc>
  References: <CAAiTEH-442wghJmt=Yw2bnUvxNW-nwTMoFLqgLrTZ1CmZxiZJA@mail.gmail.com> <20190718173424.GB25488@aart.rice.edu> <CAAiTEH_VY_hPVBFNrkdD4YHHst5WJff9=gCt2cE3B0xeFV_2Hg@mail.gmail.com> <877e8dgbdc.fsf@paven.bunk.cc>

* 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