"Zeugswetter Andreas ADI SD" <[EMAIL PROTECTED]> writes:
> Traditionally materialized views exist, so that you do not need to code 
> differently.
> Your queries still run on the detail table, but are silently answered
> by a suitable MV. The MV might have count + other aggregated columns
> grouped by some columns, and thus be able e.g. shortcircuit a 
> "select count(*) from atab". The MV should be MVCC aware (have different
> values for different snapshots) and not substantially reduce possible 
> concurrency of updates to the base table.

Note that you just raised the minimum bar for implementation of the
feature by a couple orders of magnitude.  We cannot automatically
substitute an MV into queries unless this is guaranteed not to change
the results.  No lazy updates, MVCC transparency required, etc.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [EMAIL PROTECTED] so that your
       message can get through to the mailing list cleanly

Reply via email to