Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2224210
  • 博文数量: 287
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 2130
  • 用 户 组: 普通用户
  • 注册时间: 2014-03-31 14:30
个人简介

自己慢慢积累。

文章分类

全部博文(287)

发布时间:2015-07-08 15:19:41

......【阅读全文】

阅读(942) | 评论(0) | 转发(0)

发布时间:2015-06-26 18:12:31

<p style="margin-top:0px;margin-bottom:0px;padding-top:20px;color:#555555;font-size:14px;font-family:宋体, Arial;white-space:normal;"><b>http://tech.it168.com/a2011/0808/1229/000001229492_2.shtml<br /><br />MySQL必备工具第一位: mk-query-digest</b></p><p style="margin-top:0px;margin-bottom:0px;.........【阅读全文】

阅读(823) | 评论(0) | 转发(0)

发布时间:2015-06-23 17:55:04

http://www.2cto.com/database/201109/106447.htmlSHOW STATUS;FLUSH STATUS;查看当前连接数 SHOW STATUS LIKE 'Thread_%';Thread_cached:被缓存的线程的个数Thread_running:处于激活状态的线程的个数Thread_connected:当前连接的线程的个数Thread_created:总共被创建的线程的个数Thread cache hitsTh.........【阅读全文】

阅读(1003) | 评论(0) | 转发(0)

发布时间:2015-06-03 16:02:32

1,在mysql服务器db中建立单独的记录访问信息的库set names utf8;create database access_log;CREATE TABLE`access_log` (`id`int(11) NOT NULL AUTO_INCREMENT,`thread_id` int(11) DEFAULT NULL, -- 线程ID,这个值很重要`log_time`timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAM.........【阅读全文】

阅读(1010) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册