Why is the response time of connecting to the database on the same network segment different?

now there are three servers, one database server, two business servers An and B, and the three servers have the same network segment, but the time for A to connect to the database is fast (less than 1 second). But B is slow to connect to the database (about 10 seconds).

the length of tracking route is similar to that of ping:

A:

clipboard.png

B:

clipboard.png

ask the gods to help find out what the problem is.

Feb.25,2022

finally query to the database needs to disable DNS parsing, or write a hosts, access speed in the database server will be very fast

Menu