Re: newbie table design question - Mailing list pgsql-general

From Grzegorz Jaśkiewicz
Subject Re: newbie table design question
Date
Msg-id 2f4958ff0906020633i1b5caa10wd65a15467fd44a5f@mail.gmail.com
Whole thread Raw
In response to Re: newbie table design question  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-general
On Tue, Jun 2, 2009 at 2:27 PM, Merlin Moncure <mmoncure@gmail.com> wrote:

> _IF_ arrays fit your requirements, they are an extremely compact and
> efficient way to store your data.  The requirements are exact..you
> can't update or extract a single piece of data out of a block
> efficiently.  While indexing techniques are possible with gist, they
> are moderate help at best.  But if arrays fit, your table will be a
> fraction of size of the 'row per datum' approach, at the cost of
> flexibility.  arrays are an enormous footgun when used in tables, but
> if used properly can work well.

Gin index works with arrays too.

--
GJ

pgsql-general by date:

Previous
From: Martin Gainty
Date:
Subject: Re: Query timeout in dbcp
Next
From: Merlin Moncure
Date:
Subject: Re: newbie table design question