pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Jagmohan Kaintura <jagmohan@tecorelabs.com>
To: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Table/Parition Level Compression in Postgres
Date: Wed, 16 Feb 2022 13:43:39 +0100
Message-ID: <25630d5d4402b0eecf904c8f38be1d6e66d6f744.camel@cybertec.at> (raw)
In-Reply-To: <CA+cYFtvKei-kPT85pXtwKG6BqziF4dPMV_wyD-OJ7P9JbMUdng@mail.gmail.com>
References: <CA+cYFtvKei-kPT85pXtwKG6BqziF4dPMV_wyD-OJ7P9JbMUdng@mail.gmail.com>

On Wed, 2022-02-16 at 18:10 +0530, Jagmohan Kaintura wrote:
> We have a requirement where we wanted to keep the partitions holding the old data into compressed
> format and the partition having the current data in the non-compressed format.
> While looking over the compression aspects in Pg 14 we have some compression introduced for the column level with some compression methods.
> Is there any other way using which we can compress the partitions data which can be even  moved to different tablespace. 
> We have a implementation where we wanted to keep the 80% old data in the compressed format as we have millions of processed CDRs.

How about a second tablespace on a file system that compresses files?

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






view thread (3+ messages)  latest in thread

Message-ID: <25630d5d4402b0eecf904c8f38be1d6e66d6f744.camel@cybertec.at>
Permalink:  ../25630d5d4402b0eecf904c8f38be1d6e66d6f744.camel@cybertec.at/
Also on:    postgresql.org/message-id/25630d5d4402b0eecf904c8f38be1d6e66d6f744.camel@cybertec.at

 · 

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: laurenz.albe@cybertec.at, jagmohan@tecorelabs.com
  Subject: Re: Table/Parition Level Compression in Postgres
  In-Reply-To: <25630d5d4402b0eecf904c8f38be1d6e66d6f744.camel@cybertec.at>
  References: <CA+cYFtvKei-kPT85pXtwKG6BqziF4dPMV_wyD-OJ7P9JbMUdng@mail.gmail.com> <25630d5d4402b0eecf904c8f38be1d6e66d6f744.camel@cybertec.at>

* 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