Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
CSDN 技术社区
skill_tree_mysql
提交
f411bfa8
S
skill_tree_mysql
项目概览
CSDN 技术社区
/
skill_tree_mysql
通知
21
Star
0
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
skill_tree_mysql
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
f411bfa8
编写于
6月 02, 2022
作者:
M
Mars Liu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
delay replication
上级
08b2eae4
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
82 addition
and
77 deletion
+82
-77
data/3.MySQL高阶/6.运维与架构/10.分区/config.json
data/3.MySQL高阶/6.运维与架构/10.分区/config.json
+0
-10
data/3.MySQL高阶/6.运维与架构/10.分区/node.txt
data/3.MySQL高阶/6.运维与架构/10.分区/node.txt
+0
-2
data/3.MySQL高阶/6.运维与架构/3.从主从复制到链式复制/config.json
data/3.MySQL高阶/6.运维与架构/3.从主从复制到链式复制/config.json
+1
-1
data/3.MySQL高阶/6.运维与架构/4.从链式复制到主从复制/config.json
data/3.MySQL高阶/6.运维与架构/4.从链式复制到主从复制/config.json
+5
-2
data/3.MySQL高阶/6.运维与架构/5.多源复制/config.json
data/3.MySQL高阶/6.运维与架构/5.多源复制/config.json
+1
-1
data/3.MySQL高阶/6.运维与架构/6.复制过滤器/config.json
data/3.MySQL高阶/6.运维与架构/6.复制过滤器/config.json
+8
-2
data/3.MySQL高阶/6.运维与架构/6.复制过滤器/filter.json
data/3.MySQL高阶/6.运维与架构/6.复制过滤器/filter.json
+2
-1
data/3.MySQL高阶/6.运维与架构/7.延迟复制/config.json
data/3.MySQL高阶/6.运维与架构/7.延迟复制/config.json
+8
-2
data/3.MySQL高阶/6.运维与架构/7.延迟复制/delay.json
data/3.MySQL高阶/6.运维与架构/7.延迟复制/delay.json
+8
-0
data/3.MySQL高阶/6.运维与架构/7.延迟复制/delay.md
data/3.MySQL高阶/6.运维与架构/7.延迟复制/delay.md
+24
-0
data/3.MySQL高阶/6.运维与架构/8.读写分离/config.json
data/3.MySQL高阶/6.运维与架构/8.读写分离/config.json
+0
-10
data/3.MySQL高阶/6.运维与架构/9.HA高可用/config.json
data/3.MySQL高阶/6.运维与架构/9.HA高可用/config.json
+0
-10
data/tree.json
data/tree.json
+25
-36
未找到文件。
data/3.MySQL高阶/6.运维与架构/10.分区/config.json
已删除
100644 → 0
浏览文件 @
08b2eae4
{
"node_id"
:
"mysql-ac73930a15c149b9ba0b250e46a109e2"
,
"keywords"
:
[],
"children"
:
[],
"export"
:
[],
"keywords_must"
:
[],
"keywords_forbid"
:
[],
"group"
:
0
}
\ No newline at end of file
data/3.MySQL高阶/6.运维与架构/10.分区/node.txt
已删除
100644 → 0
浏览文件 @
08b2eae4
第十八章
\ No newline at end of file
data/3.MySQL高阶/6.运维与架构/3.从主从复制到链式复制/config.json
浏览文件 @
f411bfa8
{
{
"node_id"
:
"mysql-88333dcb84a946a78bfd9f413c6e795b"
,
"node_id"
:
"mysql-88333dcb84a946a78bfd9f413c6e795b"
,
"keywords"
:
[],
"keywords"
:
[
"chains"
,
"slave"
,
"master"
,
"主从复制"
,
"replication"
],
"children"
:
[],
"children"
:
[],
"export"
:
[
"export"
:
[
"ms2chains.json"
"ms2chains.json"
...
...
data/3.MySQL高阶/6.运维与架构/4.从链式复制到主从复制/config.json
浏览文件 @
f411bfa8
{
{
"node_id"
:
"mysql-2f6f847907d4415788e98d2f70f64d3c"
,
"node_id"
:
"mysql-2f6f847907d4415788e98d2f70f64d3c"
,
"keywords"
:
[
"keywords"
:
[
"链式复制"
,
"chains"
,
"主从复制"
"slave"
,
"master"
,
"主从复制"
,
"replication"
],
],
"children"
:
[],
"children"
:
[],
"export"
:
[
"export"
:
[
...
...
data/3.MySQL高阶/6.运维与架构/5.多源复制/config.json
浏览文件 @
f411bfa8
{
{
"node_id"
:
"mysql-91ba7f7a6b684b8aad01abd583cf0442"
,
"node_id"
:
"mysql-91ba7f7a6b684b8aad01abd583cf0442"
,
"keywords"
:
[],
"keywords"
:
[
"多源复制"
,
"multimaster"
,
"replication"
],
"children"
:
[],
"children"
:
[],
"export"
:
[
"export"
:
[
"multimaster.json"
"multimaster.json"
...
...
data/3.MySQL高阶/6.运维与架构/6.复制过滤器/config.json
浏览文件 @
f411bfa8
{
{
"node_id"
:
"mysql-b3cba2e9c7ea46d5beeb1948b41a74d5"
,
"node_id"
:
"mysql-b3cba2e9c7ea46d5beeb1948b41a74d5"
,
"keywords"
:
[
"复制过滤器"
,
"filter"
],
"keywords"
:
[
"复制过滤器"
,
"filter"
,
"replication"
],
"children"
:
[],
"children"
:
[],
"export"
:
[],
"export"
:
[
"filter.json"
],
"keywords_must"
:
[],
"keywords_must"
:
[],
"keywords_forbid"
:
[],
"keywords_forbid"
:
[],
"group"
:
0
"group"
:
0
...
...
data/3.MySQL高阶/6.运维与架构/6.复制过滤器/filter.json
浏览文件 @
f411bfa8
...
@@ -3,5 +3,5 @@
...
@@ -3,5 +3,5 @@
"author"
:
"ccat"
,
"author"
:
"ccat"
,
"source"
:
"filter.md"
,
"source"
:
"filter.md"
,
"notebook_enable"
:
false
,
"notebook_enable"
:
false
,
"exercise_id"
:
"1
17eea79277e4a7199307f48e96e2998
"
"exercise_id"
:
"1
0d03ac17b0148509d1464cac9b1329a
"
}
}
\ No newline at end of file
data/3.MySQL高阶/6.运维与架构/7.延迟复制/config.json
浏览文件 @
f411bfa8
{
{
"node_id"
:
"mysql-9dee640902204fcbbe780c0f04bc7c18"
,
"node_id"
:
"mysql-9dee640902204fcbbe780c0f04bc7c18"
,
"keywords"
:
[
"delay"
,
"延迟复制"
],
"keywords"
:
[
"delay"
,
"延迟复制"
,
"replication"
],
"children"
:
[],
"children"
:
[],
"export"
:
[],
"export"
:
[
"delay.json"
],
"keywords_must"
:
[],
"keywords_must"
:
[],
"keywords_forbid"
:
[],
"keywords_forbid"
:
[],
"group"
:
0
"group"
:
0
...
...
data/3.MySQL高阶/6.运维与架构/7.延迟复制/delay.json
0 → 100644
浏览文件 @
f411bfa8
{
"type"
:
"code_options"
,
"author"
:
"ccat"
,
"source"
:
"delay.md"
,
"notebook_enable"
:
false
,
"exercise_id"
:
"e1ee4c066ee8499382c61d0717ccc970"
}
\ No newline at end of file
data/3.MySQL高阶/6.运维与架构/7.延迟复制/delay.md
0 → 100644
浏览文件 @
f411bfa8
# 延迟复制
在
`主从复制`
一节里,Joe实现了一个点对点的主从复制架构,其中standby 是 trade的从库,现在,
Joe 要添加一个名为 backup 的新的复制节点,这个节点的同步进度要比 trade 晚半小时。他应该怎么做?
## 答案
按
`添加从库`
一节的步骤添加 backup 节点,在设置 backup 的主库订阅信息时,加入
`MASTER_DELAY=1800;`
## 选项
### A
按
`添加从库`
一节的步骤添加 backup 节点,在设置 backup 的主库订阅信息时,加入
`MASTER_DELAY=0.5;`
### B
按
`添加从库`
一节的步骤添加 backup 节点,在主库重启推送之前,执行
`SET BACKUP_DELAY=1800`
### C
所有都不对
\ No newline at end of file
data/3.MySQL高阶/6.运维与架构/8.读写分离/config.json
已删除
100644 → 0
浏览文件 @
08b2eae4
{
"node_id"
:
"mysql-f4d43d35c4c846baa2761d02fff5b09a"
,
"keywords"
:
[
"读写分离"
],
"children"
:
[],
"export"
:
[],
"keywords_must"
:
[],
"keywords_forbid"
:
[],
"group"
:
0
}
\ No newline at end of file
data/3.MySQL高阶/6.运维与架构/9.HA高可用/config.json
已删除
100644 → 0
浏览文件 @
08b2eae4
{
"node_id"
:
"mysql-46c46e16ac404db99e61412a948e3a3c"
,
"keywords"
:
[],
"children"
:
[],
"export"
:
[],
"keywords_must"
:
[],
"keywords_forbid"
:
[],
"group"
:
0
}
\ No newline at end of file
data/tree.json
浏览文件 @
f411bfa8
...
@@ -2366,7 +2366,13 @@
...
@@ -2366,7 +2366,13 @@
{
{
"从主从复制到链式复制"
:
{
"从主从复制到链式复制"
:
{
"node_id"
:
"mysql-88333dcb84a946a78bfd9f413c6e795b"
,
"node_id"
:
"mysql-88333dcb84a946a78bfd9f413c6e795b"
,
"keywords"
:
[],
"keywords"
:
[
"chains"
,
"slave"
,
"master"
,
"主从复制"
,
"replication"
],
"children"
:
[],
"children"
:
[],
"keywords_must"
:
[],
"keywords_must"
:
[],
"keywords_forbid"
:
[],
"keywords_forbid"
:
[],
...
@@ -2377,8 +2383,11 @@
...
@@ -2377,8 +2383,11 @@
"从链式复制到主从复制"
:
{
"从链式复制到主从复制"
:
{
"node_id"
:
"mysql-2f6f847907d4415788e98d2f70f64d3c"
,
"node_id"
:
"mysql-2f6f847907d4415788e98d2f70f64d3c"
,
"keywords"
:
[
"keywords"
:
[
"链式复制"
,
"chains"
,
"主从复制"
"slave"
,
"master"
,
"主从复制"
,
"replication"
],
],
"children"
:
[],
"children"
:
[],
"keywords_must"
:
[],
"keywords_must"
:
[],
...
@@ -2389,7 +2398,11 @@
...
@@ -2389,7 +2398,11 @@
{
{
"多源复制"
:
{
"多源复制"
:
{
"node_id"
:
"mysql-91ba7f7a6b684b8aad01abd583cf0442"
,
"node_id"
:
"mysql-91ba7f7a6b684b8aad01abd583cf0442"
,
"keywords"
:
[],
"keywords"
:
[
"多源复制"
,
"multimaster"
,
"replication"
],
"children"
:
[],
"children"
:
[],
"keywords_must"
:
[],
"keywords_must"
:
[],
"keywords_forbid"
:
[],
"keywords_forbid"
:
[],
...
@@ -2400,7 +2413,9 @@
...
@@ -2400,7 +2413,9 @@
"复制过滤器"
:
{
"复制过滤器"
:
{
"node_id"
:
"mysql-b3cba2e9c7ea46d5beeb1948b41a74d5"
,
"node_id"
:
"mysql-b3cba2e9c7ea46d5beeb1948b41a74d5"
,
"keywords"
:
[
"keywords"
:
[
"复制过滤器"
"复制过滤器"
,
"filter"
,
"replication"
],
],
"children"
:
[],
"children"
:
[],
"keywords_must"
:
[],
"keywords_must"
:
[],
...
@@ -2411,37 +2426,11 @@
...
@@ -2411,37 +2426,11 @@
{
{
"延迟复制"
:
{
"延迟复制"
:
{
"node_id"
:
"mysql-9dee640902204fcbbe780c0f04bc7c18"
,
"node_id"
:
"mysql-9dee640902204fcbbe780c0f04bc7c18"
,
"keywords"
:
[],
"keywords"
:
[
"children"
:
[],
"delay"
,
"keywords_must"
:
[],
"延迟复制"
,
"keywords_forbid"
:
[],
"replication"
"group"
:
0
],
}
},
{
"读写分离"
:
{
"node_id"
:
"mysql-f4d43d35c4c846baa2761d02fff5b09a"
,
"keywords"
:
[],
"children"
:
[],
"keywords_must"
:
[],
"keywords_forbid"
:
[],
"group"
:
0
}
},
{
"HA高可用"
:
{
"node_id"
:
"mysql-46c46e16ac404db99e61412a948e3a3c"
,
"keywords"
:
[],
"children"
:
[],
"keywords_must"
:
[],
"keywords_forbid"
:
[],
"group"
:
0
}
},
{
"分区"
:
{
"node_id"
:
"mysql-ac73930a15c149b9ba0b250e46a109e2"
,
"keywords"
:
[],
"children"
:
[],
"children"
:
[],
"keywords_must"
:
[],
"keywords_must"
:
[],
"keywords_forbid"
:
[],
"keywords_forbid"
:
[],
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录