Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 2F1724762AD for ; Fri, 1 Nov 2002 09:38:15 -0500 (EST) Received: from jester.senspire.com (nat.inquent.com [216.6.14.45]) by postgresql.org (Postfix) with ESMTP id BF465475F2B for ; Fri, 1 Nov 2002 09:38:13 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by jester.senspire.com (8.12.6/8.12.6) with ESMTP id gA1EcpI3005913; Fri, 1 Nov 2002 09:38:51 -0500 (EST) (envelope-from rbt@rbt.ca) Subject: Re: Is dump-reload the only cure? From: Rod Taylor To: mallah@trade-india.com Cc: pgsql-performance@postgresql.org In-Reply-To: <1068.203.145.130.142.1036156522.squirrel@mail.trade-india.com> References: <1584.203.145.130.142.1036149343.squirrel@mail.trade-india.com> <1036155160.3550.8.camel@jester> <1068.203.145.130.142.1036156522.squirrel@mail.trade-india.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 01 Nov 2002 09:38:51 -0500 Message-Id: <1036161531.5794.18.camel@jester> Mime-Version: 1.0 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/7 X-Sequence-Number: 165 > Does it Mean that clustered indexes are guarrented to be used for index scan? > one more thing does clustering means that all future data addition will happen > in the ordered manner only i mean consecutively in terms of source_id? No, but clustering a table allows an index scan to visit less pages, and make less disk seeks. This in turn makes it a better choice for some queries due to the current layout of tuples on the disk. However, there are new borderline cases -- just in different places than before. -- Rod Taylor