From: Gilbert, Antoine <AGilbert@korem.com>
To: pgsql-jdbc@postgresql.org
Subject: strange problem
Date: Wed, 25 Jan 2006 14:51:24 -0500
Message-ID: <DF58692A2DBF5440910BFE80B73D73E1019F2A4E@sqexc02.korem.local> (raw)
Hi
I have a single PostGIS table in PostgreSQL
This table has like 500000 records
I use the JDBC driver to only send a quick query without browsing
resultset and it take forever. For example:
Statement stmt = connection.createStatement();
ResultSet rs =stmt.executeQuery("select street from \"QCs_polyline\"");
stmt.close();
This takes 19 sec. Does I am missing something like a configuration on
the driver? So far I was just testing PostGIS/PostgreSQL with tiny
tables.
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-jdbc@postgresql.org
Cc: AGilbert@korem.com
Subject: Re: strange problem
In-Reply-To: <DF58692A2DBF5440910BFE80B73D73E1019F2A4E@sqexc02.korem.local>
References: <DF58692A2DBF5440910BFE80B73D73E1019F2A4E@sqexc02.korem.local>
* 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