X-Original-To: pgsql-sql@postgresql.org Received: from localhost (unknown [64.117.224.193]) by developer.postgresql.org (Postfix) with ESMTP id 213F3924C12 for ; Thu, 22 May 2003 13:29:59 -0400 (EDT) Received: from developer.postgresql.org ([64.117.224.193]) by localhost (developer.postgresql.org [64.117.224.193:10024]) (amavisd-new) with ESMTP id 50201-05 for ; Thu, 22 May 2003 13:29:27 -0400 (EDT) Received: from davinci.ethosmedia.com (unknown [209.10.40.251]) by developer.postgresql.org (Postfix) with ESMTP id 6CDE59255FE for ; Thu, 22 May 2003 12:14:02 -0400 (EDT) Received: from [63.195.55.98] (HELO spooky) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.0.2) with ESMTP id 3056002; Thu, 22 May 2003 09:14:02 -0700 Content-Type: text/plain; charset="big5" From: Josh Berkus Organization: Aglio Database Solutions To: "phd9110" , Subject: Re: Index Selection Problem Date: Thu, 22 May 2003 09:12:36 -0700 User-Agent: KMail/1.4.3 References: <003001c32062$e0444440$ea0f788c@husky> In-Reply-To: <003001c32062$e0444440$ea0f788c@husky> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200305220912.36681.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/420 X-Sequence-Number: 13585 M. Gonfong (or M. Kao?) > I and my lab is interesting in the index selection problem. > Is there any index selection tools ( like MS SQL Server index tuning wizard > ) in postgresql ? Is there any project about this problem which is going > If we want to develop this tool , what document i should read. or where i > can get more support. Check out the developer web site: http://developer.postgresql.org There is documentation there to give you an overview of the PostgreSQL internals. Unlike SQL Server, PostgreSQL does not permit "index hints" in queries. Postgres' philosophy, to date, has been to improve the query planner as much as possible and to focus on whole-database tuning tools rather than giving users ways to override the planner on a per-query basis. (Am I getting this right, Tom?) That being said, I know the team could use some help in improving the planner's behavior, for example in the selectivity of subselects in the WHERE clause. If you are interested in contributing to the project, join the PGSQL-HACKERS mailing list and propose your patch there. -- Josh Berkus Aglio Database Solutions San Francisco