X-Original-To: pgsql-performance@postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by developer.postgresql.org (Postfix) with ESMTP id 5187D926264 for ; Sun, 1 Jun 2003 21:13:26 -0400 (EDT) Received: from developer.postgresql.org ([64.117.224.193]) by localhost (developer.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 24314-10 for ; Sun, 1 Jun 2003 21:12:55 -0400 (EDT) Received: from hotmail.com (law8-f48.law8.hotmail.com [216.33.241.48]) by developer.postgresql.org (Postfix) with ESMTP id F402C926262 for ; Sun, 1 Jun 2003 21:12:54 -0400 (EDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 1 Jun 2003 18:12:55 -0700 Received: from 35.12.25.73 by lw8fd.law8.hotmail.msn.com with HTTP; Mon, 02 Jun 2003 01:12:54 GMT X-Originating-IP: [35.12.25.73] X-Originating-Email: [praslar@hotmail.com] From: "Ricky Prasla" To: pgsql-performance@postgresql.org Subject: Select Query Performance Date: Sun, 01 Jun 2003 21:12:54 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 02 Jun 2003 01:12:55.0275 (UTC) FILETIME=[18D33BB0:01C328A4] X-Virus-Scanned: by amavisd-new X-Archive-Number: 200306/6 X-Sequence-Number: 2090 Hi, I am running Postgresql 7.2.3 on a linux Qube with 256 RAM. I have a tabe with about 100,000 records. The table has a postgis geometry column. I have a GIST index on the table on the geometry column. Here are my questions: 1)When I do a spatial select query on the geometry column in this table it takes a few seconds. What more can I do in terms of the Postgresql configuration or query tuning besides adding the GIST index? Here's a sample query I make: Select [column] from [table_name] where [spatial_column] && [the geometry object]; 2)Also, I execute this query over the web. If there are mltiple select queries then I have to execute one get its reultset and then send the other one. Is there a faster way to execute multiple select queries over the web? Thanks in advance. Riyaz _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail