Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1347078
  • 博文数量: 243
  • 博客积分: 888
  • 博客等级: 准尉
  • 技术积分: 2955
  • 用 户 组: 普通用户
  • 注册时间: 2012-12-05 14:33
个人简介

漫漫长路,其修远兮!

文章分类

全部博文(243)

文章存档

2017年(2)

2016年(22)

2015年(32)

2014年(57)

2013年(107)

2012年(23)

发布时间:2013-01-04 16:00:14

原文地址:http://www.mysqlops.com/2011/09/23/performance-schema.html  简单介绍performance_schema数据库 MySQL 5.5新增一个存储引擎:命名PERFORMANCE_SCHEMA  ,主要用于收集数据库服务器性能参数。MySQL用户是不能创建存储引擎为PERFORMANCE_SCHEMA的表 performance_schema提供以下功能: 提供进程等待的详细信息,包括锁、互斥变量、文件信息; 保存历史的事件汇总信息,为提供MySQL服务器性能做出详细的判断; 对于新增和删除......【阅读全文】

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

发布时间:2013-01-04 12:04:14

新参数项 旧参数 参数说明 innodb_read_io_threads innodb_write_io_threads innodb_file_io_threads(默认为4) 需要开启异步IO,不然没有什么意义。网上有测试分别设置为2为性能最好。不要超过4。所以对高速设备如ssd的影响特别大,传统的硬盘会没那么影响大。 innodb_file_format     可以设置为Barracuda格式,可以设置为dynaic和compressed格式。只在独立表空间生效 innodb_i......【阅读全文】

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

发布时间:2012-12-17 11:26:26

1.从库读取主库落后的计算方法 my $blog_size_Mbytes = $max_binlog_size / 1024 / 1024 my $master_file_idx = 主库show master status,File的编号 my $slave_read_file_idx =从库show slave status,Master_Log_File的编号 my $read_master_log_pos = 从库show slave status,Read_Master_Log_Pos的值 my $master_log_pos =主库show master status,P......【阅读全文】

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

发布时间:2012-12-13 09:42:58

一.配置 1.服务器环境 A服务器:10.1.10.4 B服务器:10.1.10.70   2.修改my.cnf 在A服务器的my.cnf配置文件添加 log-slave-updatesauto-increment-increment = 2auto-increment-offset = 1 在B服务器的my.cnf配置文件添加 log-slave-updatesauto-increment-increment = 2auto-increment-offset = 2 ------------------------ auto_increment_offse......【阅读全文】

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

发布时间:2012-12-12 16:22:52

转载http://www.penglixun.com/tech/database/mysql_timeout.html 因为最近遇到一些超时的问题,正好就把所有的timeout参数都理一遍,首先数据库里查一下看有哪些超时:   点击(此处)折叠或打开 root@localhost : test 12:55:50> show global variables like "%timeout%"; +----------------------------+--------+ | Variable_name | Value | +----------......【阅读全文】

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

登录 注册