Re: flattened tables with normalized tables

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: Dennis Gearon <gearond(at)fireserve(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: flattened tables with normalized tables
Date: 2004-10-08 05:17:27
Message-ID: 20041008051727.GA4793@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Oct 07, 2004 at 22:35:50 -0600,
Michael Fuhr <mike(at)fuhr(dot)org> wrote:
> On Thu, Oct 07, 2004 at 09:08:18PM -0700, Dennis Gearon wrote:
> >
> > About regular views, how does that speed things up, other than the initial
> > SQL interpretation of the view not needing to be done?
>
> I didn't mean to imply that views would speed things up -- I was
> merely suggesting them as an alternative to your "flattened table"
> if part of its purpose would be to simplify queries. You might
> want to perform some experiments to see if the performance gains
> from a materialized view are worth the extra complexity.

It may even turn out there aren't any performance gains from having a
materialized view. That will depend on the mix of operations in production.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2004-10-08 05:17:29 Re: Question from a newbie
Previous Message Dennis Gearon 2004-10-08 05:12:07 Re: flattened tables with normalized tables