[问题] 最近查看MySQL的error log文件时,发现有很多服务器的文件中有大量的如下日志,内容很长(大小在200K左右),从记录的内容看,并没有明显的异常信息. 有一台测试服务器也有类似的问题,为什么会记录这些信息,是谁记录的这些信息,分析的过程比较周折. Status information: Current dir: Running threads: 2452  Stack size: 262144 Current locks: lock: 0x7f783f5233f0: Key c…
[问题] 最近查看MySQL的error log文件时,发现有很多服务器的文件中有大量的如下日志,内容很长(大小在200K左右),从记录的内容看,并没有明显的异常信息. 有一台测试服务器也有类似的问题,为什么会记录这些信息,是谁记录的这些信息,分析的过程比较周折. Status information: Current dir: Running threads: 2452  Stack size: 262144 Current locks: lock: 0x7f783f5233f0: Key c…
周末在一台MySQL实例上频繁做大批量的写入测试,无意中发现MySQL的errorlog中频繁出现如下的Note:page_cleaner: 1000ms intended loop took **** ms. The settings might not be optimal. (flushed=**** and evicted=0, during the time.) 一个典型的信息如下 InnoDB: page_cleaner: 1000ms intended loop took 4068…
现象 [ERROR] lines containing "Sort aborted" are present in the MySQL error log file. [Warning] Sort aborted : Out of memory (Needed 24 bytes) [ERROR] Sort aborted From MySQL 5.5.11 onward: [ERROR] mysqld: Out of sort memory; consider increasing s…
本文须知 教程所示图片使用的是 github 仓库图片,网速过慢的朋友请移步原文地址 有空就来看看个人技术小站, 我一直都在 背景介绍 事情的起源是这样的:迷恋的谷歌的我最近申请了一个新的 google 邮箱.然后果断在 github 上更新了邮箱地址,并且删除了之前的 163 等国内邮箱. 回到 github 首页,我发现之前的项目提交记录都没了.到底什么情况(O_o)?? 看一张灾难现场图: 仔细查找了相关资料,发现了是因为之前的提交记录中Author字段的信息是 163 等国内邮箱的.如下…
今天在做mysql sniff测试的时候,中间重启MySQL实例的过程中,出现了"The server quit without updating PID file"这个经典的错误.因为把mysql sniff的日志文件放在了mysql实例的目录中,因此删除mysql sniff日志的时候无意中删除了mysql的errorlog文件.所以一开始怀疑这里出现的错误是mysql sniff进程在MySQL实例的datadir下写数据导致的,各种尝试重现都无法重现.最后仔细回忆了一下错误最开…
SELECT * from t_yymp_auth_role where role_name not like '%测试%' and role_name not like '%部门%' and role_name not like '%方案%' and role_name not like '%项目%'…
介绍一下背景:业务逻辑就不多说了,就说关键出问题的一步,需要将 2019-10-10 这个格式转换为时间戳.在不同平台不同场景下问题还很怪异 app上:ios 安卓线上的都有问题  ios模拟器没问题  ios真机连本地有问题,安卓真机连本地没问题 微信小程序上:小程序真机调试没问题,预览和线上有问题 new Date('2019-10-10') 显示报错是 Date(null) ,new Date('2019-10-10'.getTime() 是NAN的结果.分析是不同平台或者不同环境下对时间…
标签: 1.1.1. If a crash happens thisconfiguration does not guarantee that the relay log info will be consistent [环境的叙述性说明] msyql5.6.14 [报错信息] mysql的slave启动时,error.log中出现Warning警告: [Warning] Slave SQL: If a crash happensthis configuration does not guara…
1.1.1. If a crash happens thisconfiguration does not guarantee that the relay log info will be consistent [环境的叙述性说明] msyql5.6.14 [报错信息] mysql的slave启动时,error.log中出现Warning警告: [Warning] Slave SQL: If a crash happensthis configuration does not guarantee…