Re: Table/Parition Level Compression in Postgres - Mailing list pgsql-general

From Jagmohan Kaintura
Subject Re: Table/Parition Level Compression in Postgres
Date
Msg-id CA+cYFtsLETZt1cH25wOPpGerdCNssHGrhZJwRVJXzMiRca2tZw@mail.gmail.com
Whole thread Raw
In response to Re: Table/Parition Level Compression in Postgres  (Laurenz Albe <laurenz.albe@cybertec.at>)
List pgsql-general
Hi Laurenz

Means that is what I am thinking even right now if we can move the partition to another tablespace and have file system level compression.

Apart from this do we have any other solution or strategy which I can try to implement?


On Wed, Feb 16, 2022 at 6:13 PM Laurenz Albe <laurenz.albe@cybertec.at> wrote:
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



--
Best Regards,
Jagmohan 

pgsql-general by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Table/Parition Level Compression in Postgres
Next
From: Carsten Klein
Date:
Subject: Strange results when casting string to double