Re: Index + View Question - Mailing list pgsql-sql

From imad
Subject Re: Index + View Question
Date
Msg-id 1f30b80c0611031148q3e2af041r9b8ab1e5ac704b0e@mail.gmail.com
Whole thread Raw
In response to Index + View Question  ("Dylan Lorimer" <edylan@google.com>)
List pgsql-sql
When you select from views, you are infact selecting from the
underlying tables. Indexes created on those tables are used
ultimately.

--Imad
www.EnterpriseDB.com


On 11/4/06, Dylan Lorimer <edylan@google.com> wrote:
> Hi,
>
> If I've got several tables, each with their own indexes. I also have a view
> that aggregates several of these tables. My question is, as novice-like as
> it may sound, do I need to create new indexes on the view or do the indexes
> from the orig. tables apply somehow when I select data from the view?
>
> Cheers,
> Dylan
>


pgsql-sql by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: Index + View Question
Next
From: "Dylan Lorimer"
Date:
Subject: Long SQL Update Question