|Subject||Re: [firebird-support] Improve remote query speed on Windows Server 2012 VPS|
Min=37ms Max=37ms Avg=37ms
From: "'Leyne, Sean' Sean@... [firebird-support]" <email@example.com>
To: "firstname.lastname@example.org" <email@example.com>
Sent: Friday, April 14, 2017 6:20 PM
Subject: RE: [firebird-support] Improve remote query speed on Windows Server 2012 VPS
> select * from MYTABLE where id=200
> Total execution time: 5.388s
> PLAN (MYTABLE INDEX (PK_MYTABLE))
> the same query executed local on the server(same db,server) takes 0.065s
> queries are done with Flamerobin,from IBExpert the same results
> How can I improve remote speed?
SELECT the columns that you actually need.
SELECT * is fine for debugging, but IMO a slackers approach for production code.
P.S. What is the latency/PING time of your connection to the remote server?