摘要: 【环境介绍】 系统环境:CentOS Linux 7 (Core) + 5.7.26 MySQL Community Server - GPL 【情况描述】 业务侧反应使用应用跟查询数据库很慢,需要查看是什么原因 【情况分析】 第一次简单分析 使用top查看数据库资源情况:查看数据库kswapd0占 阅读全文
posted @ 2020-08-24 17:04 zetan·chen 阅读(1264) 评论(0) 推荐(0) 编辑
摘要: 【环境介绍】 系统环境:CentOS Linux release 7.6 + prometheus version 2.20.0 + Grafana CLI version 7.1.3 + mysql 5.7 + oracle 11.2.0.4.0 【安装部署】 1,安装prometheus 下载安 阅读全文
posted @ 2020-08-14 18:27 zetan·chen 阅读(4152) 评论(1) 推荐(0) 编辑
摘要: 【环境介绍】 系统环境:CentOS Linux release 7.6.1810 (Core) + Oracle 11.2.0.4.0 + 单机 【背景说明】 查看数据库日志存在异常报错ORA-00600: Wed May 06 17:00:14 2020Errors in file /u01/a 阅读全文
posted @ 2020-05-06 18:04 zetan·chen 阅读(1134) 评论(0) 推荐(0) 编辑
摘要: 【环境介绍】 系统环境:windows + Oracle 11GR2 + 单机 +notarhive 【背景描述】 业务反馈Oracle数据库连接不上,报错信息为ORA-01033错误,反馈数据库登录不上,咨询服务器工程师前面出现数据库断电然后重启情况: 该报错信息解释为数据库正在启动或者数据库关闭 阅读全文
posted @ 2020-02-27 10:03 zetan·chen 阅读(3924) 评论(2) 推荐(0) 编辑
摘要: 【环境介绍】 系统环境:腾讯云 + 5.7.18+Navicat 11.2.7(客户端) 【情况描述】 早上执行update语句报错分析: 使用Navicat 11.2.7版本执行报错UPDATE shx_xxx.user_xxx SET roxx_id='xxxxxxxxxxxxxxxxxx000 阅读全文
posted @ 2020-01-08 16:38 zetan·chen 阅读(2687) 评论(0) 推荐(0) 编辑
摘要: 【环境介绍】 系统环境:windows + Oracle 11GR2 + 单机 【背景描述】 业务反馈Oracle数据库连接不上,报错信息为ORA-01033错误,错误信息: 该报错信息解释为数据库正在启动或者数据库关闭状态 [oracle@alllinux ~]$ oerr ora 0103301 阅读全文
posted @ 2019-12-23 13:55 zetan·chen 阅读(1642) 评论(0) 推荐(0) 编辑
摘要: 【环境介绍】 系统环境:win10 + python 3.5.4 + PyCharm 【背景描述】 需求:将数据库和主机查询的数据信息写入到Excel表格中 【采集数据脚本信息】 数据库层面 列子:磁盘组信息: select to_char(sysdate, 'yyyy-mm-dd,hh24:mi: 阅读全文
posted @ 2019-06-26 10:17 zetan·chen 阅读(7889) 评论(0) 推荐(0) 编辑
摘要: 【环境介绍】 系统环境:CentOS Linux 7 (Core) + 8.0.15 MySQL Community Server - GPL 【情况描述】 当创建用户后使用客户端连接mysql数据库报错: 【情况分析】 根据提示为参数default_authentication_plugin不支持 阅读全文
posted @ 2019-06-12 11:24 zetan·chen 阅读(592) 评论(0) 推荐(0) 编辑
摘要: 【环境介绍】 系统环境:Red Hat Enterprise Linux 7 + 5.7.25-enterprise-commercial-advanced-log MySQL Enterprise Server - Advanced Edition (Commercial) 【情况描述】 在安装完 阅读全文
posted @ 2019-04-28 15:07 zetan·chen 阅读(4416) 评论(0) 推荐(0) 编辑
摘要: 【需求】 根据需求需要搭建mysql主从架构数据库及加keepalived进行自动切换VIP(没有使用脚本进行检查对端数据库及互换主从) 【环境介绍】 系统环境:CentOS release 6.4 (Final) + Server version: 5.7.25-log MySQL Communi 阅读全文
posted @ 2019-03-06 17:01 zetan·chen 阅读(1212) 评论(0) 推荐(0) 编辑