strange problem

From: "Gilbert, Antoine" <AGilbert(at)korem(dot)com>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: strange problem
Date: 2006-01-25 19:51:24
Message-ID: DF58692A2DBF5440910BFE80B73D73E1019F2A4E@sqexc02.korem.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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.

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2006-01-25 20:20:32 Re: strange problem
Previous Message David Hustace 2006-01-25 19:23:01 Re: Socket read fails