曾就职于阿里巴巴担任Oracle DBA,MySQL DBA,目前在新美大担任SRE。[是普罗米修斯还是一块石头,你自己选择!] 欢迎关注微信公众号 “自己的设计师”,不定期有原创运维文章推送。
发布时间:2014-01-26 19:47:59
RAID: a natural solution to narrow the gap Stripping data across multiple disks to allow parallel I/O, thusimproving performance RAID在stroage级别提供了不同的数据保护和性能优化措施,比如常见的RAID0,RAID1,RAID10,RAID01,RAID5,这里就这些不同形式的RAID进行分析。 &n.........【阅读全文】
发布时间:2014-01-15 17:29:38
对于一些公司,通常通过mysql blob来存储文件。对于Mysql 55以后,文件格式采用了Barracuda的新格式,这种格式有个明显的功能就是可以压缩每一行,根据key_block_size来选择需要压缩的大小,对于Blob的大文件而言,无疑为mysql使用上有多了一个选择!来看一个压缩的案例:mysql> create table comptest(b mediumblob);Q.........【阅读全文】
发布时间:2014-01-12 19:19:55
TED[不要一悔再悔]笔记 what is regret?regret is the emotion we experience when we think that our present situation could be better or happier if we had done something different in the past. So in other words ,regret requires two things.It requires,first of all ,agency.........【阅读全文】
发布时间:2014-01-08 15:21:40
1.Mysqldump的功能和起源The mysqldump client is a backup program originally written by Igor Romanenko. It can be used to dump a database or a collection of databases for backup or transfer to another SQL server (not necessarily a MySQL server). The dump typically contains SQL statements to create .........【阅读全文】
发布时间:2014-01-08 14:49:17
1.复制原理2.二进制日志及日志模式3.Async vs Sync replication4.master-slave架构解决问题5.MM架构解决问题及潜在的问题6.MySQL vs Oracle什么是复制??1.MySQL Replication一台mysql数据库服务器(master)的数据可以传输到一台或多台数据库服务器(slave).........【阅读全文】
发布时间:2014-01-08 14:36:06
上次在线搭建slave的时候,出现了一些问题,这次对xtrabackup进行了系统的学习,把文档中学到的东西记录下来。 xtrabackup是percona在线备份的开源工具,其优点之一就是备份innodb表的时候不需要任何锁表,对于目前oltp系统来说,提高了系统的可用率。 xtrabackup是如何来防止.........【阅读全文】
发布时间:2014-01-07 22:58:38
mysql high performace 关于MyISAM count的介绍,非常的好,在这里说下自己的理解.A common misconception is that MyISAM is extremely fast for COUNT() queries. It isfast, but only for a very special case: COUNT(*) without a WHERE clause, which merelycounts the number of rows in the entire table. MySQL.........【阅读全文】
发布时间:2014-01-07 21:19:58
由于my.cnf中没有给bi_logfile 的设置合理的size,导致mysql在启动的时候报错:140107 14:45:44 InnoDB: Setting file ./ibdata1 size to 50 MBInnoDB: Database physically writes the file full: wait...140107 14:45:44 InnoDB: Log file ./ib_logfile0 did not exist: new to be createdInnoDB: S.........【阅读全文】
发布时间:2014-01-03 16:28:15
关于IN和OR的区别,在High performance mysql 3rd中,有一段话描述的非常清楚:IN() list comparisonsIn many database servers, IN() is just a synonym for multiple OR clauses, because the two are logically equivalent. Not so in MySQL, which sorts the values in theIN() list and uses a fast binary s.........【阅读全文】