Re: flattened tables with normalized tables

Поиск
Список
Период
Сортировка
От Dennis Gearon
Тема Re: flattened tables with normalized tables
Дата
Msg-id 416621A7.9040208@fireserve.net
обсуждение исходный текст
Ответ на Re: flattened tables with normalized tables  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-general
Bruno Wolff III wrote:

> On Thu, Oct 07, 2004 at 22:35:50 -0600,
>   Michael Fuhr <mike@fuhr.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.
>
Well, one particular query / view will probably draw from 11-15 tables. Several of those tables should have millions
andmillions of rows. However,as normalzed as all the data is, and having used surrogate, integer primary keys, the
tablesshouldn't be that big, most of them. 

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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: flattened tables with normalized tables
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Question from a newbie