Re: schema design question - Mailing list pgsql-performance

From Steinar H. Gunderson
Subject Re: schema design question
Date
Msg-id 20070819182658.GC25214@uio.no
Whole thread Raw
In response to Re: schema design question  (David Fetter <david@fetter.org>)
Responses Re: schema design question
Re: schema design question
List pgsql-performance
On Sun, Aug 19, 2007 at 11:12:16AM -0700, David Fetter wrote:
> There's your mistake.  EAV is not performant, and won't become so.

It sort of depends. I put all the EXIF information for my image gallery into
an EAV table -- it was the most logical format at the time, although I'm not
sure I need all the information. Anyhow, with clustering and indexes,
Postgres zips through the five million records easily enough for my use -- at
least fast enough that I can live with it without feeling the need for a
redesign.

As a general database design paradigm, though, I fully agree with you.
Databases are databases, not glorified OO data stores or hash tables.

/* Steinar */
--
Homepage: http://www.sesse.net/

pgsql-performance by date:

Previous
From: David Fetter
Date:
Subject: Re: schema design question
Next
From: David Fetter
Date:
Subject: Re: schema design question