Can you run an explain query in both? And copy the results...

______________________
Saludos
Ing. Ricardo Martín Gomez
DBA - SysAdmin
________________________________
De: Nikita Kiryanov <nik...@compulab.co.il>
Enviado: miércoles, 6 de febrero de 2019 07:54
Para: 'Ricardo Martin Gomez'; pgadmin-support@lists.postgresql.org
Asunto: RE: pgadmin3 incredibly slow over network


Hi Ricardo,



I tried to reverse the order (first HeidiSQL then pgAdmin), but the result was 
the same.



From: Ricardo Martin Gomez [mailto:rimartingo...@hotmail.com]
Sent: Wednesday, February 6, 2019 12:43 PM
To: Nikita Kiryanov <nik...@compulab.co.il>; 
pgadmin-support@lists.postgresql.org
Subject: RE: pgadmin3 incredibly slow over network



Hi Nikita,

Are you run both querys in the same order always?

 (First pgAdmin, second HeidiSQL or psql)?

Can you try run querys in different order?

 (maybe the results are in memory, so it's faster the second run.)



______________________

Saludos

Ing. Ricardo Martín Gomez

DBA - SysAdmin

________________________________

De: Nikita Kiryanov <nik...@compulab.co.il<mailto:nik...@compulab.co.il>>
Enviado: miércoles, 6 de febrero de 2019 05:42
Para: 
pgadmin-support@lists.postgresql.org<mailto:pgadmin-support@lists.postgresql.org>
Asunto: pgadmin3 incredibly slow over network



If I use pgAdmin3 to query a remote database with SELECT * FROM big_table, the 
whole thing takes 1.5 minutes until I get my results.

If I run the same query, from the same computer, to the same remote database, 
using a different client (HeidiSQL, or even pgsql), it takes 5 seconds.



I run pgAdmin 1.22.2 on Windows 10, and the postgreSQL database is on Linux. 
The postgreSQL version is 9.3, but it doesn't seem to be specific to the

version. The same happens on 9.4. The large performance differences happen in 
other queries as well, to various degrees of difference.



What could be causing this?


Reply via email to