--mysql阅读收录-----------------2014/07/02# 复制相关:1. 解释基于语句的复制中怎样处理functions,triggers,events和auto_increment键Statement based replication with Stored Functio...
分类:
数据库 时间:
2014-07-02 15:11:08
阅读次数:
187
参考, https://cwiki.apache.org/confluence/display/KAFKA/System+Tools https://cwiki.apache.org/confluence/display/KAFKA/Replication+tools http://kafka.ap...
分类:
其他好文 时间:
2014-06-28 22:01:55
阅读次数:
637
Astand-up meeting(or simply "stand-up") is a dailyteam-meetingheld to provide a status update to the team members. The "semi-real-time" status allows ...
分类:
其他好文 时间:
2014-06-28 12:05:20
阅读次数:
249
11105 - Semi-prime H-numbers
题目链接
题意:给定4 * n + 1的集合,在这个集合基础上求这个集合的集合素数,然后求出这个集合中,由两个集合素数相乘得到的数有几个。
思路:先筛出集合素数,然后暴力一下两两组合有多少个即可。
代码:
#include
#include
const int N = 1000005;
int vis[N...
分类:
其他好文 时间:
2014-06-28 07:47:24
阅读次数:
358
MySQL5.6主从复制(读写分离)教程1、MySQL5.6开始主从复制有两种方式:基于日志(binlog);基于GTID(全局事务标示符)。需要注意的是:GTID方式不支持临时表!所以如果你的业务系统要用到临时表的话就不要考虑这种方式了,至少目前最新版本MySQL5.6.12的GTID复制还是不支持临..
分类:
数据库 时间:
2014-06-25 06:23:52
阅读次数:
449
当复制有延迟时,我们可以使用复制监视器来查看各订阅的未分发命令书和预估所需时间,如下图:但是当分发和订阅数比较多的时候,依次查看比较费时,我们可以使用sys.sp_replmonitorsubscriptionpendingcmds来查看,但是该命令需要输入多个参数,也比较累人,后从菠萝兄哪找寻得一...
分类:
其他好文 时间:
2014-06-21 07:35:33
阅读次数:
249
BACKGROUNDAdvances in semi-conductor processing and logic design have permitted an increase in the amount of logic that may be present on integrated c...
分类:
其他好文 时间:
2014-06-16 13:19:01
阅读次数:
347
ledisdb现在已经支持replication机制,为ledisdb的高可用做出了保障。使用假设master的ip为10.20.187.100,端口6380,slave的ip为10.20.187.101,端口为6380.首先我们需要master打开binlog支持,在配置文件中指定:use_bin_log : true
在slave的机器上面我们可以通过配置文件指定slaveof开启replic...
分类:
数据库 时间:
2014-06-15 16:44:32
阅读次数:
266
The following MySQL error might occur if you are
using MySQL replication and binary logs.mysql> show binary logs;ERROR 1381
(HY000): You are not using...
分类:
其他好文 时间:
2014-05-29 01:42:38
阅读次数:
518
1、MySQL
Replication复制进程MySQL的复制(replication)是一个异步的复制,从一个MySQL
instace(称之为Master)复制到另一个MySQL
instance(称之Slave)。实现整个复制操作主要由三个进程完成的,其中两个进程在Slave(Sql进程和IO...
分类:
数据库 时间:
2014-05-26 09:44:53
阅读次数:
358