From: | Enrico Weigelt <weigelt(at)metux(dot)de> |
---|---|
To: | pgsql-sql <pgsql-sql(at)postgresql(dot)org>, postgresql performance list <pgsql-performance(at)postgresql(dot)org> |
Subject: | Performance on writable views |
Date: | 2007-08-08 12:40:54 |
Message-ID: | 20070808124054.GC27936@nibiru.local |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance pgsql-sql |
Hi folks,
I'm often using writable views as interfaces to clients, so
they only see "virtual" objects and never have to cope with
the actual storage, ie. to give some client an totally
denormalized view of certain things, containing only those
information required for certain kind of operations.
This method is nice for creating easy and robust client
interfaces - internal schema changes are not visible to
the client. In situations when many, many clients - often
coded/maintained by different people - have to access an
database which is still under development (typical for
many inhouse applications), it helps to circument interface
instabilities.
Now I've got the strange feeling that this makes updates
slow, since it always has to run the whole view query to
fetch an record to be updated (ie. to get OLD.*).
Could anyone with some deep insight please give me some
details about that issue ?
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service - http://www.metux.de/
---------------------------------------------------------------------
Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
---------------------------------------------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | runic | 2007-08-08 13:01:25 | select count(*) performance |
Previous Message | Enrico Weigelt | 2007-08-08 12:16:11 | Implementing an regex filter |
From | Date | Subject | |
---|---|---|---|
Next Message | Enrico Weigelt | 2007-08-08 13:15:52 | Re: Database synchronization |
Previous Message | Enrico Weigelt | 2007-08-08 12:28:33 | Re: Converting from MS Access field aliases |