Re: PostgreSQL Object-Oriented Database?

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: PostgreSQL Object-Oriented Database?
Дата
Msg-id 1240857809.14767.13.camel@jd-laptop.pragmaticzealot.org
обсуждение исходный текст
Ответ на Re: PostgreSQL Object-Oriented Database?  (marcin mank <marcin.mank@gmail.com>)
Список pgsql-general
On Mon, 2009-04-27 at 20:37 +0200, marcin mank wrote:
> Is there any sane reason to use an array column, besides performance
> (the values can be read in less disk seeks than in a
> table-with-a-foreign-key scenario)?

Yes.

http://www.commandprompt.com/blogs/joshua_drake/2009/01/fk_check_enum_or_domain_that_is_the_question/


I don't actually talk about array columns in the above but it does
discuss all the ways (except) for an array to deal with that problem. As
I recall the major downside to an array is that you can add or delete an
element, you must update the whole array. Plus you need to use specific
array functions to work with the array versus just a nice join.

Sincerely,

Joshua D. Drake


--
PostgreSQL - XMPP: jdrake@jabber.postgresql.org
   Consulting, Development, Support, Training
   503-667-4564 - http://www.commandprompt.com/
   The PostgreSQL Company, serving since 1997


В списке pgsql-general по дате отправления:

Предыдущее
От: Sriganesh Ananth
Дата:
Сообщение: Postgres 7.3 to 8.1.1 migration: Getting 'No results were returned..' for function calls
Следующее
От: Kenneth Tilton
Дата:
Сообщение: Noob Q: Is the PG database its own source code backup?