pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gangadharan S.A. <gangadharan@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Storage space usage
Date: Fri, 1 Feb 2008 14:14:18 +0530
Message-ID: <e36d60c10802010044o40143aaybcbbfa223d289a35@mail.gmail.com> (raw)

Hi,
I have 2 questions regarding the storage optimization done by Postgres:
1) Is a NULL value optimized for storage. If I have a timestamp (or some
such) field that I set to default NULL, will it still use up the full space
for the data type.
2) Similarly, if I have a text array, is an empty array optimized for
storage?
Thanks,
Gangadharan

view thread (2+ messages)  latest in thread

Message-ID: <e36d60c10802010044o40143aaybcbbfa223d289a35@mail.gmail.com>
Permalink:  ../e36d60c10802010044o40143aaybcbbfa223d289a35@mail.gmail.com/
Also on:    postgresql.org/message-id/e36d60c10802010044o40143aaybcbbfa223d289a35@mail.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-performance@postgresql.org
  Cc: gangadharan@gmail.com
  Subject: Re: Storage space usage
  In-Reply-To: <e36d60c10802010044o40143aaybcbbfa223d289a35@mail.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