A 通过视图表查 SELECT r.trx_id waiting_trx_id, r.trx_mysql_thread_id waiting_thread, r.trx_query waiting_query, b.trx_id blocking_trx_id, b.trx_mysql_thread ...
分类:
数据库 时间:
2016-06-15 22:11:34
阅读次数:
281
在一个时间点,从Server上查询到的系统Session的Wait type 截图 1,CHECKPOINT_QUEUE Occurs while the checkpoint task is waiting for the next checkpoint request. Description: ...
分类:
其他好文 时间:
2016-06-14 19:33:20
阅读次数:
167
本篇博客准备分两部分详细的介绍一下mysql (基于mysql 5.6)中的metadata lock,
一. 官方文档中关于Metadata Locking描述(5.6)
8.11.4 Metadata Locking
MySQL uses metadata locking to manage concurrent access to database objects and to...
分类:
Web程序 时间:
2016-06-03 19:16:24
阅读次数:
188
本章要点
*等待事件
*使用futures等待一次性事件(waiting for one-off events with futures)
*等待时间限制
*使用同步操作来简化代码
这章主要描述了如何使用条件变量和futures来等待事件,以及如何使用他们来使线程同步操作更加简化....
分类:
编程语言 时间:
2016-05-27 13:07:11
阅读次数:
353
MySQL主从切换手册 Master-Slave架构 运维部 V1.0 2016年 05月 24 日 正常切换 1)在master执行:show processlist; 显示Master has sent all binlog to slave; waiting for binlog to be ...
分类:
数据库 时间:
2016-05-24 15:08:36
阅读次数:
2050
在CDH5.5.2上运行spark1.5的程序,运行起来就直接shutdown,并报出如下的异常: INFO YarnClientSchedulerBackend: SchedulerBackend is ready for scheduling beginning after waiting ma ...
分类:
其他好文 时间:
2016-05-24 01:45:29
阅读次数:
780
(I'm sitting here in Seattle airport at 7am on Sunday waiting to catch the same flight to Boston that I caught two weeks ago. Instead of TechEd, this ...
分类:
数据库 时间:
2016-05-18 23:31:18
阅读次数:
241
When the refersh button is clicked, we need to tell the waiting service worker to replace the current service worker right away. Then we refresh the p ...
分类:
其他好文 时间:
2016-05-17 06:24:53
阅读次数:
227
以下内容主要总结自《Java多线程编程核心技术》,不定时补充更新。 一、线程的状态 Java中,线程的状态有以下6类:NEW, RUNNABLE, BLOCKED, WAITING, TIMED_WAITING, TERMINATED。各状态之间的关系可用下图表示: 二、常用方法介绍 1、threa ...
分类:
编程语言 时间:
2016-05-13 12:24:25
阅读次数:
247