pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Sargent <robjsargent@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Client-side compression
Date: Tue, 23 Jun 2009 14:30:37 -0600
Message-ID: <4A413B6D.5070200@gmail.com> (raw)


Not sure if this belongs here or on the admin or performance list.  
Apologies if so. (And this may be a second posting as the first was from 
an un-registered account.  Further apologies)

My assumption is that any de/compression done by postgres would be 
server-side.

We're considering minimizing bandwidth utilization by using client-side 
compression on a column value that will typically be multi-megabyte in 
size.  We would use ALTER TABLE SET STORAGE EXTERNAL to prevent the 
server from un-necessary compression.

Is this generally worthwhile?  I haven't found any thread on the subject 
of client-side compress so any pointer more than welcome.

Is there a great penalty for a query which delves into the value, given 
that the server will not be aware it's compressed?  I assume we're 
pretty much on our own to prevent such actions (i.e. the app can never 
query against this column via sql).





view thread (3+ messages)  latest in thread

Message-ID: <4A413B6D.5070200@gmail.com>
Permalink:  ../4A413B6D.5070200@gmail.com/
Also on:    postgresql.org/message-id/4A413B6D.5070200@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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: robjsargent@gmail.com
  Subject: Re: Client-side compression
  In-Reply-To: <4A413B6D.5070200@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