strange problem

Поиск
Список
Период
Сортировка
От Gilbert, Antoine
Тема strange problem
Дата
Msg-id DF58692A2DBF5440910BFE80B73D73E1019F2A4E@sqexc02.korem.local
обсуждение исходный текст
Ответы Re: strange problem  (Kris Jurka <books@ejurka.com>)
Re: strange problem  (Andres Ledesma <aledes@euskalnet.net>)
Список 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.

 

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: David Hustace
Дата:
Сообщение: Re: Socket read fails
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: strange problem