pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kenneth Marshall <ktm@rice.edu>
To: Matthew Pounsett <matt@conundrum.com>
Cc: Luca Ferrari <fluca1978@gmail.com>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: Rearchitecting for storage
Date: Fri, 19 Jul 2019 09:56:33 -0500
Message-ID: <20190719145633.GB28959@aart.rice.edu> (raw)
In-Reply-To: <CAAiTEH8SbbhdXcpNuu6kZzP7kJZKL_dFUcJ=TxBB_VDopzmKhg@mail.gmail.com>
References: <CAAiTEH-442wghJmt=Yw2bnUvxNW-nwTMoFLqgLrTZ1CmZxiZJA@mail.gmail.com>
	<20190718173424.GB25488@aart.rice.edu>
	<CAAiTEH_VY_hPVBFNrkdD4YHHst5WJff9=gCt2cE3B0xeFV_2Hg@mail.gmail.com>
	<CAKoxK+7XA+VHGApDn-1N=VSJKFpd=SR=ysTBRSUTB3muP+cKZw@mail.gmail.com>
	<CAAiTEH8SbbhdXcpNuu6kZzP7kJZKL_dFUcJ=TxBB_VDopzmKhg@mail.gmail.com>

Hi Matt,

On Fri, Jul 19, 2019 at 10:41:31AM -0400, Matthew Pounsett wrote:
> On Fri, 19 Jul 2019 at 04:21, Luca Ferrari <fluca1978@gmail.com> wrote:
> 
> >
> > This could be trivial, but any chance you can partition the table
> > and/or archive unused records (at least temporarly)? A 18 TB table
> > quite frankly sounds a good candidate to contain records no one is
> > interested in the near future.
> >
> 
> Partitioning is a possibility.  The whole database is historical test
> results, stored specifically for doing comparisons over time, so I'm not
> sure we can actually archive anything.  Expiring old test data is a
> discussion we might have to have, eventually.
> 

This is a case were using a compressed filesystem can give you space
savings as well as faster read performance due to the compression
factor. In my case a sequential scan of something in the compressed
tablespace runs almost 3X faster than on the non-compressed one.

Regards,
Ken






view thread (19+ messages)  latest in thread

Message-ID: <20190719145633.GB28959@aart.rice.edu>
Permalink:  ../20190719145633.GB28959@aart.rice.edu/
Also on:    postgresql.org/message-id/20190719145633.GB28959@aart.rice.edu

 · 

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: ktm@rice.edu, matt@conundrum.com, fluca1978@gmail.com
  Subject: Re: Rearchitecting for storage
  In-Reply-To: <20190719145633.GB28959@aart.rice.edu>
  References: <CAAiTEH-442wghJmt=Yw2bnUvxNW-nwTMoFLqgLrTZ1CmZxiZJA@mail.gmail.com> <20190718173424.GB25488@aart.rice.edu> <CAAiTEH_VY_hPVBFNrkdD4YHHst5WJff9=gCt2cE3B0xeFV_2Hg@mail.gmail.com> <CAKoxK+7XA+VHGApDn-1N=VSJKFpd=SR=ysTBRSUTB3muP+cKZw@mail.gmail.com> <CAAiTEH8SbbhdXcpNuu6kZzP7kJZKL_dFUcJ=TxBB_VDopzmKhg@mail.gmail.com> <20190719145633.GB28959@aart.rice.edu>

* 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