From: Arni S. <Arn...@md...> - 2013-03-22 14:24:26
|
Is this in the case of joins, or will we have the same issue with a flat table? Please advise. From: Ashutosh Bapat [mailto:ash...@en...] Sent: Friday, March 22, 2013 1:14 AM To: Arni Sumarlidason Cc: Koichi Suzuki; pos...@li... Subject: Re: [Postgres-xc-general] Planner join logic In case children table, we need an Append node covering scans on each table. We haven't optimized planner for the case of inheritance yet. On Fri, Mar 22, 2013 at 9:10 AM, Arni Sumarlidason <Arn...@md...<mailto:Arn...@md...>> wrote: Here we go, Table "public.table" Column | Type | Modifiers | Storage | Stats target | Description ---------------------------+--------------------------+-----------+----------+--------------+------------- id | bigint | not null | plain | | seq | integer | not null | plain | | text | character varying(256) | | extended | | date_updated | timestamp with time zone | | plain | | Indexes: "table_pkey" PRIMARY KEY, btree (id, seq) "idx_table_dateupdated" btree (date_updated) Child tables: table_1202, table_1203, table_1204, table_1205, table_1206, table_1207, table_1208, table_1209, table_1210, table_1211, table_20121111, table_20121118, table_20121125, table_20121202, table_20121209, table_20121216, table_20121223, table_20121230, table_20130106, table_20130113, table_20130120, table_20130127, table_20130203, table_20130210, table_20130217, table_20130224, table_20130303, table_20130310, table_20130317, table_20130324, table_20130331, table_20130407, table_20130414, table_20130421, table_20130428 Has OIDs: no Table "public.table_2" Column | Type | Modifiers | Storage | Stats target | Description ------------------------------------+--------------------------+-----------+----------+--------------+------------- id | bigint | not null | plain | | text_updated | character varying(1024) | | extended | | date_updated | timestamp with time zone | | plain | | seq | integer | not null | plain | | Indexes: "table_2_pkey" PRIMARY KEY, btree (id, seq) "idx_table2_dateupdated" btree (date_updated) "idx_table2_id" btree (id) Child tables: table_2_120806, table_2_120813, table_2_120820, table_2_120827, table_2_120903, table_2_120910, table_2_120917, table_2_120924, table_2_121001, table_2_121008, table_2_121015, table_2_121022, table_2_121029, table_2_121105, table_2_121112, table_2_121119, table_2_121126, table_2_121203, table_2_121210, table_2_121217, table_2_121224, table_2_121231, table_2_130107, table_2_130114, table_2_130121, table_2_130128, table_2_130204, table_2_130211, table_2_130218, table_2_130225, table_2_130304, table_2_130311, table_2_130318, table_2_130325, table_2_130401, table_2_130408, table_2_130415, table_2_130422, table_2_130429, table_2_130506, table_2_130513, table_2_130520, table_2_130527, table_2_130603, table_2_130610, table_2_130617, table_2_130624, table_2_130701, table_2_130708, table_2_130715, table_2_130722, table_2_130729, table_2_130805, table_2_130812, table_2_130819, table_2_130826, table_2_130902, table_2_130909, table_2_130916, table_2_130923, table_2_130930, table_2_131007, table_2_131014, table_2_131021, table_2_131028, table_2_131104, table_2_131111, table_2_131118, table_2_131125, table_2_131202, table_2_131209, table_2_131216, table_2_131223, table_2_131230, table_2_140106, table_2_140113, table_2_140120, table_2_140127, table_2_140203, table_2_140210, table_2_140217, table_2_140224, table_2_140303, table_2_140310, table_2_140317, table_2_140324, table_2_140331, table_2_140407, table_2_140414, table_2_140421, table_2_140428, table_2_140505, table_2_140512, table_2_140519, table_2_140526, table_2_140602, table_2_140609, table_2_140616, table_2_140623, table_2_140630, table_2_140707, table_2_140714, table_2_140721, table_2_140728, table_2_140804, table_2_140811, table_2_140818, table_2_140825, table_2_140901, table_2_140908, table_2_140915, table_2_140922, table_2_140929, table_2_141006, table_2_141013, table_2_141020, table_2_141027, table_2_141103, table_2_141110, table_2_141117, table_2_141124, table_2_141201, table_2_141208, table_2_141215, table_2_141222, table_2_141229, table_2_150105, table_2_150112, table_2_150119, table_2_150126 Has OIDs: no -- Best Wishes, Ashutosh Bapat EntepriseDB Corporation The Enterprise Postgres Company |