摘要: 环境 系统: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 如果你没有用配置 阅读全文
posted @ 2021-02-02 14:04 denfer 阅读(2624) 评论(0) 推荐(0) 编辑
摘要: show profile 查看profiling设置 SHOW GLOBAL VARIABLES LIKE "profiling%" 设置profiling开启 SET GLOBAL profiling = ON 查看最近执行的sql SHOW PROFILES 记住Query_ID,可以查看这条s 阅读全文
posted @ 2021-02-02 10:25 denfer 阅读(1958) 评论(0) 推荐(0) 编辑