摘要:
环境 系统:CentOS Linux release 7.3.1611 (Core)。 MongoDB-org 4.4.3。 排查 检查配置文件 一般配置文件在/etc/mongod.conf。 修改 bindIp: 0.0.0.0 默认为127.0.0.1 端口默认为:27017 如果你没有用配置 阅读全文
摘要:
show profile 查看profiling设置 SHOW GLOBAL VARIABLES LIKE "profiling%" 设置profiling开启 SET GLOBAL profiling = ON 查看最近执行的sql SHOW PROFILES 记住Query_ID,可以查看这条s 阅读全文