How efficient are Views - Mailing list pgsql-novice

From John Taylor
Subject How efficient are Views
Date
Msg-id 02061216020706.03223@splash.hq.jtresponse.co.uk
Whole thread Raw
Responses Re: How efficient are Views
Re: How efficient are Views
List pgsql-novice
Hi,

I'm thinking about using a view for my application.

However, I'm wondering about how efficient it will be once I have a large amount of data
loaded.

Are views generated for every access ?
Are they generated when the underlying data changes ?

Whould it maybe be faster to have a seperate table alongside the base data, and
generate it via a trigger or stored procedure ?

Thanks
JohnT

pgsql-novice by date:

Previous
From: ben.carlyle@invensys.com
Date:
Subject: Postgresql Historical data store
Next
From: John Taylor
Date:
Subject: Optimising inside transactions