摘要: select concat('alter table ',table_schema,'.',table_name,' ENGINE=NDBCLUSTER;') from information_schema.TABLES where table_schema in (select schema_na 阅读全文
posted @ 2016-06-12 14:57 nbuntu牛班图 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 转载来自http://blog.csdn.net/ghsau。 MySQL从5.5升级到5.6,TIMESTAMP的变化 TIMESTAMP在MySQL5.5中的行为 第一个未设置默认值的TIMESTAMP NOT NULL字段隐式默认值: CURRENT_TIMESTAMP ON UPDATE C 阅读全文
posted @ 2016-06-12 11:10 nbuntu牛班图 阅读(227) 评论(0) 推荐(0) 编辑
摘要: Centos Install Mysql Cluster Cluster nodes and host computers. Node IP Address Management node (mgmd) 10.1.10.50 SQL node (mysqld) 10.1.10.51 Data nod 阅读全文
posted @ 2016-06-07 17:16 nbuntu牛班图 阅读(849) 评论(0) 推荐(0) 编辑
摘要: 基准测试工具sysbench (1)安装。 yum -y install libtool gcc wget http://imysql.com/wp-content/uploads/2014/09/sysbench-0.4.12-1.1.tgz wget http://downloads.mysql 阅读全文
posted @ 2016-05-31 16:28 nbuntu牛班图 阅读(302) 评论(0) 推荐(0) 编辑
摘要: Docker repository 之 nexus oss 3.0.0+ sudo vim /etc/default/docker 添加proxy仓库和hosted仓库忽略ssl: DOCKER_OPTS="$DOCKER_OPTS --insecure-registry=10.1.10.92:80 阅读全文
posted @ 2016-05-26 15:09 nbuntu牛班图 阅读(504) 评论(0) 推荐(0) 编辑
摘要: MySQL主从切换手册 Master-Slave架构 运维部 V1.0 2016年 05月 24 日 正常切换 在开始切换之前先对主库进行锁表: flush tables with read lock (在执行完成后生产环境必须等待所有语句执行完成) 在flush tables with read 阅读全文
posted @ 2016-05-24 14:36 nbuntu牛班图 阅读(18798) 评论(6) 推荐(0) 编辑
摘要: DokuWiki System Requirements 1. Webserver supporting PHP 2. PHP version 5.3.3 or later download:http://download.dokuwiki.org/ dokuwiki是不需要数据库支持的。 INst 阅读全文
posted @ 2016-05-19 14:45 nbuntu牛班图 阅读(1398) 评论(0) 推荐(0) 编辑
摘要: Author:牛班图 Date:2016/05/19 Address:suzhou mysql5.5的版本之后支持半同步复制:需要安装主库插件 rpl_semi_sync_master 从库插件rpl_semi_sync_salve;半同步的意思就是主库再提交事务之前先确认至少有一个slave已收到 阅读全文
posted @ 2016-05-19 10:52 nbuntu牛班图 阅读(151) 评论(0) 推荐(0) 编辑
摘要: Author:牛班图 Date:2016/05/17 Address:suzhou 本文部分知识来自于mysql官网:http://dev.mysql.com 在开始之前,先向大家推荐一下mysql的MySQL Fabric是oracle官方原生的MySQL HA及分片的中间件,已经被移到mysql 阅读全文
posted @ 2016-05-18 17:34 nbuntu牛班图 阅读(225) 评论(0) 推荐(0) 编辑
摘要: Author:牛班图 Date:2016/05/18 Address:suzhou centos 6.7默认安装的python是2.6.6,大家可以先查看一下自己操作系统的python版本,python -v; hot-backup.py是基于python2写的,python3的语法有些地方不一样, 阅读全文
posted @ 2016-05-18 11:31 nbuntu牛班图 阅读(1014) 评论(0) 推荐(0) 编辑