Re: Views- Advantages and Disadvantages

From: Brent Wood <b(dot)wood(at)niwa(dot)co(dot)nz>
To: Ashish Karalkar <ashish(dot)karalkar(at)info-spectrum(dot)com>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Views- Advantages and Disadvantages
Date: 2007-05-10 00:51:18
Message-ID: 46426C86.5080502@niwa.co.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ashish Karalkar wrote:
> Thanks Brent for your replay,
>
>
> What about the Disadvantages, Performance issues?

As far as I'm aware, performance is the only real disadvantage.

I tend to break DB design into stages:

ER modelling to define the entities/relationships the DB needs to
store/represent
Normalize this to maximise data integrity & minimise duplication/redundancy
De-normalise to meet performance & access requirements.

In the latter stage, views are generally used, unless there are
performance restrictions,
when a de-normalised schema may be applied.

Cheers,

Brent

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2007-05-10 00:58:21 Re: Views- Advantages and Disadvantages
Previous Message Richard Broersma Jr 2007-05-09 22:54:24 Re: Views- Advantages and Disadvantages