From: Ricky Prasla <praslar@hotmail.com>
To: pgsql-performance@postgresql.org
Subject: Select Query Performance
Date: Sun, 01 Jun 2003 21:12:54 -0400
Message-ID: <Law8-F48x1DkIUoXd7J00041c6a@hotmail.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: praslar@hotmail.com
Subject: Re: Select Query Performance
In-Reply-To: <Law8-F48x1DkIUoXd7J00041c6a@hotmail.com>
References: <Law8-F48x1DkIUoXd7J00041c6a@hotmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox