W
W
WebDev2016-10-27 11:36:55
MySQL
WebDev, 2016-10-27 11:36:55

Should queries to the database through the tunnel be so slow?

I am accessing the combat base from LAN via an ssh tunnel. Even the simplest request takes 200-500 ms. Is this how it should be or can it be speeded up somehow?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
R
romy4, 2016-10-27
@romy4

Check the same request directly in the remote database and then through the tunnel. yes, ping is at your service

R
Roman Mirilaczvili, 2016-10-27
@2ord

If the connection is via the Internet, then this is normal.
You can try enabling compression in the DBMS connection options.

F
Fanis X, 2016-10-27
@FaNiska

The point may be that the appeal goes through the domain name. If so, try specifying the IP address.
It will work faster, because no time is spent on determining the ip address of the domain.

A
Alexander Chernykh, 2016-10-27
@sashkets

the problem can be both in the quality of the channel, the database settings and the database itself

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question