#!/bin/bash#/usr/bin/nmaplocalhost|grep3306#lsof-i:3306MYSQLPORT=`netstat-na|grep"LISTEN"|grep"3306"|awk-F[:""]+‘{print$5}‘`functioncheckMysqlStatus(){/usr/bin/mysql-uroot-paaaaaa--connect_timeout=5-e"showdatabases;"&>/dev/null2>&1if[$?-ne0]th..
分类:
数据库 时间:
2015-10-28 12:50:47
阅读次数:
275
背景:主从未加监控,过了几天刚发现主从已经挂了好几天了,show slave status \G; 看到sql和IO进程均为NO详细错误信息:[ERROR] Slave I/O: Relay log write failure: could not queue event from master, ...
分类:
数据库 时间:
2015-10-26 18:34:46
阅读次数:
264
fwrite 应用层缓冲区--->c库高速缓存fflush c库高速缓存--->内核缓冲区fsync 内核缓冲区--->圆盘fileno 将文件句柄指针转换为文件描写叙述符使用方法实例(redis中的文件写入代码片段)/* Returns 1 or 0 for success/failure....
分类:
其他好文 时间:
2015-10-24 11:20:24
阅读次数:
191
-- 查询mysql 数据库链接空闲时间持有最大空闲时间,单位为秒SHOW VARIABLES WHERE VAriable_name = 'interactive_timeout';-- 会出现wait_timeout与该参数意思相近,修改时,一起修改SHOW VARIABLES WHERE VA...
分类:
数据库 时间:
2015-10-16 20:38:53
阅读次数:
1667
org.apache.catalina.tribes.group.interceptors.TcpFailureDetector memberAlive 严重: Unable to perform. failure detection check, assuming member down. java.net.NoRouteToHostException: No route to ho...
分类:
其他好文 时间:
2015-10-16 13:45:07
阅读次数:
131
QUESTION NO: 414
View the Exhibit to examine the error during the database startup.
You open an RMAN session for the database instance. To repair the failure, you executed the following as
the firs...
分类:
其他好文 时间:
2015-10-15 11:22:43
阅读次数:
121
最近刚刚学习ios的快速开发框架beeframework就遇到了个棘手的问题,在iOS 9.1下面会报类似的错*** Assertion failure in -[UIApplication _runWithMainScene:transitionContext:completion:], /Bui...
分类:
移动开发 时间:
2015-10-13 16:55:47
阅读次数:
255
iOS6 设备在更新UITableViewCell的时候遇到了Assertion failure in -[UITableViewCell layoutSublayersOfLayer:], /SourceCache/UIKit/UIKit-2380.17/UIView.m:5776的问题,解决方法...
分类:
其他好文 时间:
2015-10-12 18:42:35
阅读次数:
214
QUESTION NO: 102
A database is running In ARCHIVBXXMS mode. It has two online redo log groups and each group has
one member. A LGWR Input/output (I/O) fells due to permanent media failure that has re...
分类:
其他好文 时间:
2015-10-05 13:05:08
阅读次数:
202
QUESTION NO: 107
Your database is running In ARCIIIVELOG mode. One of the data files, USBRDATAOI. DBF, in the users
tablespace is damaged and you need to recover the file until the point of failure....
分类:
其他好文 时间:
2015-10-05 11:43:27
阅读次数:
130