怎么配置myawr
1 首先在host配置表里录入一条配置信息: INSERT INTO `myawr_host`(id,host_name,ip_addr,port,db_role,version) VALUES (6, ‘db2.11′, ’192.168.2.11′, 3306, ‘maste… [read more]
1 首先在host配置表里录入一条配置信息: INSERT INTO `myawr_host`(id,host_name,ip_addr,port,db_role,version) VALUES (6, ‘db2.11′, ’192.168.2.11′, 3306, ‘maste… [read more]
本文转自http://www.pythian.com/blog/mysql-memory-consumption/ Jan 23, 2009 / By Keith Murphy Tags: MySQL Had an interesting situation come up today with a client. We had a si… [read more]
经过一段时间的努力,myawr终于基本完成了: myawr以mysql instance 为单位,每隔一段时间进行采样,然后把数据保存到数据库,以便分析。目前myawr脚本收集的信息包括4个部分: 1 系统方面的: 负载、cpu、io、网络、swap、磁盘空间 2 Mysql状态方面的: Mysql整体的一些指标; Myisam 引擎… [read more]
以下摘录自《Alter Database Add Supplemental Log Data Hangs [ID 406498.1]》 Applies to: Oracle Database – Enterprise Edition – Version 10.2.0.1 and later Information … [read more]
本文摘录自《MySQL技术内幕:InnoDB存储引擎》姜承尧著 InnoDB关键特性 InnoDB存储引擎的关键特性包括插入缓冲、两次写(double write)、自适应哈希索引 (adaptive hash index)。这些特性为InnoDB存储引擎带来了更好的性能和更高的可靠性。 1 插入缓冲 插入缓冲是InnoDB存储引擎关键特… [read more]
1 首先用sysbench对现有的master进行加压(后面的错误为切换后的错误): [root@db-13 bin]# ./sysbench –test=oltp –mysql-table-engine=innodb –oltp-table-size=1000000 –mysql-user… [read more]
Use this form when tuning your MySQL database server to calculate the maximum MySQL memory usage based on configuration settings used in your my.cnf file: 网址:http://www.m… [read more]
1.MHA场景: 在下面的集群中,通过手工控制,模拟出master和各个slave不一致。如master上表qwsh有四条记录,而192.168.10.75上只有一条记录: 192.168.10.13 (current master) +–192.168.10.74 +–192.168.10.11 +–… [read more]
本文转载自:http://www.tecmint.com/20-netstat-commands-for-linux-network-management/ Linux Netstat Command This tool is very important and much useful for Linux network adminis… [read more]
本文链接地址: nicstat 网络流量统计利器 转载自系统技术非业余研究 前段时间看到brendangregg的 Linux Performance Analysis and Tools PPT里面提到的nicstat,研究了下是个不错的东西,分享给大家。 nicstat is to network interfaces as “io… [read more]