Re: schema design question

От: David Fetter
Тема: Re: schema design question
Дата: ,
Msg-id: 20070819202334.GN28490@fetter.org
(см: обсуждение, исходный текст)
Ответ на: Re: schema design question  ("mark overmeer")
Список: pgsql-performance

Скрыть дерево обсуждения

schema design question  ("mark overmeer", )
 Re: schema design question  (Adam Tauno Williams, )
  Re: schema design question  ("mark overmeer", )
 Re: schema design question  (David Fetter, )
  Re: schema design question  ("Steinar H. Gunderson", )
   Re: schema design question  (David Fetter, )
    Re: schema design question  ("Steinar H. Gunderson", )
   Re: schema design question  ("mark overmeer", )
    Re: schema design question  (David Fetter, )
    Re: schema design question  (Adam Tauno Williams, )

On Sun, Aug 19, 2007 at 10:13:08PM +0200, mark overmeer wrote:
> Hi,
>
> 2007/8/19, Steinar H. Gunderson <>:
> >
> > As a general database design paradigm, though, I fully agree with
> > you.  Databases are databases, not glorified OO data stores or
> > hash tables.
>
> I don't want to use it as an OO data store, I use the filesystem for
> that.  The intended use is to search for the right object. Since it
> has separate data structures for searching (indexes) I guess that is
> one of its functions.
>
> However, it still doesn't answer my question about the EV model
> (where each attribute is given its own table).

The answer to EAV modeling, is, "DON'T!"

Cheers,
David (who, if he were greedy, would be encouraging EAV modeling
because it would cause guaranteed large consulting income later)
--
David Fetter <> http://fetter.org/
phone: +1 415 235 3778        AIM: dfetter666
                              Skype: davidfetter

Remember to vote!
Consider donating to PostgreSQL: http://www.postgresql.org/about/donate


В списке pgsql-performance по дате сообщения:

От: "Andrew Hammond"
Дата:
Сообщение: Re: [pgsql-jobs] Looking for database hosting
От: "Relyea, Mike"
Дата:
Сообщение: Re: Help optimize view