Chinaunix首页 | 论坛 | 博客
  • 博客访问: 645434
  • 博文数量: 66
  • 博客积分: 15
  • 博客等级: 民兵
  • 技术积分: 2204
  • 用 户 组: 普通用户
  • 注册时间: 2010-10-26 21:43
个人简介

曾就职于阿里巴巴担任Oracle DBA,MySQL DBA,目前在新美大担任SRE。[是普罗米修斯还是一块石头,你自己选择!] 欢迎关注微信公众号 “自己的设计师”,不定期有原创运维文章推送。

文章分类

全部博文(66)

文章存档

2017年(2)

2016年(3)

2015年(7)

2014年(12)

2013年(42)

发布时间:2014-11-05 22:21:05

    InnoDB 是一个平衡高可用和高性能的多功能存储引擎。innodb存储引擎和其他关系型数据库一样,支持事物和完整的ACID特性。需要强调的是,InnoDB的持久性是通过Redo Log来保证的。这篇文章将提供Redo Log或者说是InnoDB日志子系统的概览。我们将探讨如下的细节:  1.全局的日志系统对象,提供了.........【阅读全文】

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

发布时间:2014-10-28 10:36:24

 最近,一个同事因为有数百表已经废弃,所以打算将表drop掉已回收掉使用的空间。其实每张表的数据量很小,但是我们看到每次drop的时候大量的query 被堵塞了,用户反映超时报错的情况,所以这里对这个问题做了一个小的探讨(本帖的讨论基于mysql5.1) 。    由于product 环境大部分情况下设置的inno.........【阅读全文】

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

发布时间: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.........【阅读全文】

阅读(3026) | 评论(0) | 转发(1)

发布时间:2014-01-15 17:29:38

对于一些公司,通常通过mysql blob来存储文件。对于Mysql 55以后,文件格式采用了Barracuda的新格式,这种格式有个明显的功能就是可以压缩每一行,根据key_block_size来选择需要压缩的大小,对于Blob的大文件而言,无疑为mysql使用上有多了一个选择!来看一个压缩的案例:mysql> create table comptest(b mediumblob);Q.........【阅读全文】

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

发布时间: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.........【阅读全文】

阅读(2950) | 评论(0) | 转发(1)

发布时间: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 .........【阅读全文】

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

发布时间: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).........【阅读全文】

阅读(2365) | 评论(1) | 转发(0)

发布时间:2014-01-08 14:36:06

   上次在线搭建slave的时候,出现了一些问题,这次对xtrabackup进行了系统的学习,把文档中学到的东西记录下来。   xtrabackup是percona在线备份的开源工具,其优点之一就是备份innodb表的时候不需要任何锁表,对于目前oltp系统来说,提高了系统的可用率。   xtrabackup是如何来防止.........【阅读全文】

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

发布时间: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.........【阅读全文】

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

发布时间: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.........【阅读全文】

阅读(5358) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

tomcoding2018-07-26 14:57

查看Oracle Internal的源代码,请访问我的博客

回复  |  举报
留言热议
请登录后留言。

登录 注册