You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
QingLong/Doc/方法与技巧/Navicat长时间不操作导致OpenGauss掉线.txt

5 lines
402 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

OpenGauss 服务端会定时清理长时间不活跃空闲的数据库连接,以此优化数据库的性能。
Navicat 客户端有一个设置:保持连接间隔,默认是 240 秒,意思是,客户端在用户无任何交互性操作时,会每隔 240 秒给 OpenGauss
服务端发送一次数据请求,以此来保持数据库连接活跃。
黄海修改为10秒效果待观察。