1.备份xtrabackup工具安装(只能备份数据,不能备份表结构)http://tongcheng.blog.51cto.com/6214144/15625382.xtrabackup基本参数--defaults-file--数据库的默认配置文件--target-dir--备份文件存放的目录--backup--备份到--target-dir目录中--prepare--备份文件恢复前的准备--u..
分类:
数据库 时间:
2015-04-24 19:33:11
阅读次数:
201
最近一直在思考如何增量备份二进制日志,这样一来我们就可以用mysqldump+二进制全备或者利用xtrabackup+二进制备份思想:利用mysql-bin.index,如果是第一次备份,就将mysql-bin.index中的所有文件都复制到备份目录下,然后保存备份后二进制日志的序号到一个文件中backbinlogpost..
分类:
数据库 时间:
2015-04-24 19:30:22
阅读次数:
281
最近要将使用xtrabackup备份的多台MySQL Server的数据还原到另外一台MySQL服务器上并使用不同的端口启动多个实例来作为review环境。实用程序执行自动还原的过程中有几个数据库实例启动失败。检查数据目录中的错误日志,发现如下启动错误:
2015-02-02 12:31:36 27876 [Note] Plugin 'FEDERATED' is disabled.
2015...
分类:
其他好文 时间:
2015-04-24 14:21:59
阅读次数:
156
http://www.bhsoc.org/指导指南http://www.nice.org.uk/guidance/cg127/evidence/cg127-hypertension-full-guideline3
分类:
其他好文 时间:
2015-04-24 11:57:34
阅读次数:
127
语法
join_table:
table_referenceJOIN table_factor [join_condition]
| table_reference{LEFT|RIGHT|FULL} [OUTER] JOIN table_reference join_condition
| table_reference[url=]LEFT SEMIJOIN...
分类:
其他好文 时间:
2015-04-23 17:34:22
阅读次数:
153
为了讨论索引策略,需要一个数据量不算小的数据库作为示例。本文选用MySQL官方文档中提供的示例数据库之一:employees。这个数据库关系复杂度适中,且数据量较大。下图是这个数据库的E-R关系图(引用自MySQL官方手册):下载文件后使用下面的语句将数据库导入:
tar -xjf $HOME/Downloads/employees_db-full-1.0.4.tar.bz2 //解压缩,进入...
分类:
数据库 时间:
2015-04-22 22:17:17
阅读次数:
156
http://www.openssl.org/The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit imp...
分类:
其他好文 时间:
2015-04-22 22:05:04
阅读次数:
143
DescriptionLast years Chicago was full of gangster fights and strange murders. The chief of the police got really tired of all these crimes, and decided to arrest the mafia leaders.Unfortunately, the s...
分类:
编程语言 时间:
2015-04-22 18:14:34
阅读次数:
155
LAMP Server on CentOS 7Updated Tuesday, January 13, 2015 by Joel KrugerThis guide provides step-by-step instructions for installing a full-featured LA...
分类:
其他好文 时间:
2015-04-22 13:35:17
阅读次数:
207