我正在使用为systemd-resolved配置的mDNS。host命令在.local查询上花费很长时间。示例:
$ time host blah.local
;; connection timed out; no servers could be reached
real 0m10.019s
user 0m0.016s
sys 0m0.005s
上面的查询是一个错误的查询(主机blah.local不存在),但其他查询也是如此:
$ time host valid.local
valid.local has address 192.168.0.1
;; connecti
我们的DB中有一个自定义模式(config),其中声明和填充了多个表。在DataGrip和pgAdmin中,我们都可以看到自定义模式中的表。下面的查询向我们展示了public模式和custom模式中的表:
select table_schema, table_name
from information_schema.tables
where not table_schema='pg_catalog'
and not table_schema='information_schema';
在DataGrip中,我们必须“显示所有模式”;在pgAdmin中,所
在本地数据库上运行MySQL查询只需要大约20-30毫秒,但通过远程连接(互联网)运行相同的查询需要500毫秒。这是正常的吗?如果不是,可能是什么原因造成了这种延迟?
这是针对远程运行的特定查询的wireshark时间提取。
Time -195.768993000 --- Request Ping
Time -195.909453000 --- Response OK
Time -195.909729000 --- Request Use Database
Time -196.049567000 --- Response OK
Time -196.049918000 --- Request Q