X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4202F3A43EC for ; Fri, 21 Jan 2005 09:16:14 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 80658-08 for ; Fri, 21 Jan 2005 09:16:09 +0000 (GMT) Received: from bayswater1.ymogen.net (unknown [217.27.247.154]) by svr1.postgresql.org (Postfix) with ESMTP id 7A63C3A427A for ; Fri, 21 Jan 2005 09:16:09 +0000 (GMT) Received: from [82.68.132.234] (82-68-132-234.dsl.in-addr.zen.co.uk [82.68.132.234]) by bayswater1.ymogen.net (Postfix) with ESMTP id 707BCA693B; Fri, 21 Jan 2005 09:16:08 +0000 (GMT) Message-ID: <41F0C858.7070508@ymogen.net> Date: Fri, 21 Jan 2005 09:16:08 +0000 From: Matt Clark User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tatsuo Ishii Cc: pgsql-performance@postgresql.org Subject: Re: PostgreSQL clustering VS MySQL clustering References: <200501200929.37228.darcy@wavefire.com> <20050121.104007.74755729.t-ishii@sra.co.jp> <200501201949.24292.josh@agliodbs.com> <20050121.170731.08315885.t-ishii@sra.co.jp> In-Reply-To: <20050121.170731.08315885.t-ishii@sra.co.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200501/377 X-Sequence-Number: 10067 Presumably it can't _ever_ know without being explicitly told, because even for a plain SELECT there might be triggers involved that update tables, or it might be a select of a stored proc, etc. So in the general case, you can't assume that a select doesn't cause an update, and you can't be sure that the table list in an update is a complete list of the tables that might be updated. Tatsuo Ishii wrote: >Can I ask a question? > >Suppose table A gets updated on the master at time 00:00. Until 00:03 >pgpool needs to send all queries regarding A to the master only. My >question is, how can pgpool know a query is related to A? >-- >Tatsuo Ishii > > >