pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Compression In Postgresql 9.6
Date: Mon, 5 Aug 2019 08:22:41 -0500
Message-ID: <e5c562d1-f051-8142-3872-4349e8883860@gmail.com> (raw)
In-Reply-To: <20190805123120.GB17132@aart.rice.edu>
References: <CAMp7vw840uWvvWpd49NgdD_vpRiakiRAEErbVApx8wa2ehcyCw@mail.gmail.com>
	<20190805123120.GB17132@aart.rice.edu>

On 8/5/19 7:31 AM, Kenneth Marshall wrote:
> On Mon, Aug 05, 2019 at 12:00:14PM +0530, Shital A wrote:
>> Hello,
>>
>> Need inputs on below:
>>
>> We are working on a setting up a new highly transactional (tps 100k) OLTP
>> system for payments using blockchain and postgresql 9.6 as DB on Rhel 7.6.
>> Postgres version is 9.6 and not latest because of specs of blockchain
>> component.
>>
>> There is a requirement for data compression on DB level. Please provide
>> your inputs on how this can be best achieved.
>>
>> Checked in-build Toast, it compressed the data provided exceed the 2kb
>> pagesize? If the data values are small and even if there are billion
>> records they wont be compressed, this is what I understood.
>>
>> Are there any suggestions of compressing older data irrespective of row
>> size transparently?
>>
>> Thanks.
> Hi,
>
> On RHEL/Centos you can use VDO filesystem compression to make an archive
> tablespace to use for older data. That will compress everything.

Doesn't this imply that either his table is partitioned or he regularly 
moves records from the main table to the archive table?


-- 
Angular momentum makes the world go 'round.





view thread (8+ messages)  latest in thread

Message-ID: <e5c562d1-f051-8142-3872-4349e8883860@gmail.com>
Permalink:  ../e5c562d1-f051-8142-3872-4349e8883860@gmail.com/
Also on:    postgresql.org/message-id/e5c562d1-f051-8142-3872-4349e8883860@gmail.com

 · 

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: ronljohnsonjr@gmail.com
  Subject: Re: Compression In Postgresql 9.6
  In-Reply-To: <e5c562d1-f051-8142-3872-4349e8883860@gmail.com>
  References: <CAMp7vw840uWvvWpd49NgdD_vpRiakiRAEErbVApx8wa2ehcyCw@mail.gmail.com> <20190805123120.GB17132@aart.rice.edu> <e5c562d1-f051-8142-3872-4349e8883860@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