Re: Slow select query

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Slow select query
Дата
Msg-id 5339F787.5020201@aklaver.com
обсуждение исходный текст
Ответ на Slow select query  (Glenn Pierce <glennpierce@gmail.com>)
Список psycopg
On 03/31/2014 01:10 PM, Glenn Pierce wrote:
> Hi I have a query that returns a fair amount of data ~ 730000 rows.
> In pgadmin The query after multiple runs takes around 5-6 seconds.
>
> When  try to get all the data through psycopg it takes around 20 seconds.
>
> I have turned of ssl for postgres.
>
> Does anyone no any reasons why this is or is this normal behavior ?

Are running this under the same circumstances?
In other words are pgAdmin and your psycopg code on the same machine
pointing at the same server?

Also what is your psycopg code doing besides running the query, if anything?

Lastly how are measuring completion in each case?

>
> Thanks


--
Adrian Klaver
adrian.klaver@aklaver.com


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

Предыдущее
От: Glenn Pierce
Дата:
Сообщение: Slow select query
Следующее
От: Federico Di Gregorio
Дата:
Сообщение: Re: Slow select query