Re: newbie table design question

Поиск
Список
Период
Сортировка
От Grzegorz Jaśkiewicz
Тема Re: newbie table design question
Дата
Msg-id 2f4958ff0906020633i1b5caa10wd65a15467fd44a5f@mail.gmail.com
обсуждение исходный текст
Ответ на Re: newbie table design question  (Merlin Moncure <mmoncure@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Martin Gainty
Дата:
Сообщение: Re: Query timeout in dbcp
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: newbie table design question