Re: [GENERAL] Fastest way to join materalized view to child tables

2007-07-13 Thread Jim Nasby
On Jul 9, 2007, at 10:07 PM, Postgres User wrote: materialized view - view_a child tables - table_a, table_b, table_c Here's my question- what's the fastest what to retrieve rows from each of the child tables after I get results from view_a ? I don't like using temp tables in Postgres (

[GENERAL] Fastest way to join materalized view to child tables

2007-07-09 Thread Postgres User
Hi, I have a quasi materialized view that's maintained by INS, UPD, and DEL triggers on several child tables. The tables involved have different structures, but I needed a single view for selecting records based on a few common fields. This approach is much faster than querying the separate tab