运维上海2017-从理论到实践,深度解析MySQL Group Replication -徐春阳Group Replication原理解析与实践经验 徐春阳 MGR原理 MGR vs SEMI-SYNC MRG实践经验 • 支持多节点并发执行事务。如何保证从各个节点并发执行 的事务在每个节点以相同的顺序被应用/执行.------paxos协 议的功能。 • 自动地事务冲突检测。节点之间不能”同时”操作主键相同 记录,如果冲突,只有一个节点成功。------冲突检测。 ���������sql)��! ��sql! mysql_parse! mysql_execute_comma nd! trans_commit_stmt! MYSQL_BIN_LOG::com mit! group_replication_trans_before_commit! waitTicket! ���������� ���������� ���������� ������paxos� ��������� MGR实践经验 Group_replication_bootstrap_group参数须谨慎 DDL操作注意事项 当心secondary节点变成可写节点 规避大事务 Secondary��������! ������Single primary ����secondary����! ��my.cnf�read_only��������! ������stop group_replicaiton������0 码力 | 32 页 | 9.55 MB | 1 年前3
Apache ShardingSphere v5.5.0 document. . . . . . . . . . . . . . . . . . . . . . 550 Group‐by Merger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 552 Aggregation Merger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 582 13.6.3 Other In SQLSever and PostgreSQL, why does the aggregation column without alias throw exception? . . . . . . . . . . . . . . . . . . . . . . . . . . . . provides complex data query and analysis capabilities across data sources, simpli‐ fying the data aggregation from different data locations. Da ta En cr yp ti on Data Encryption is a basic way to ensure0 码力 | 602 页 | 3.85 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2021.2)opt • loop • par • break • critical • group, 后面紧跟着消息内容 PlantUML 语言参考指引 (1.2021.2) 8 / 380 1.12 Secondary group label 1 时序图 可以在标头 (header) 添加需要显示的文字 (group 除外)。 关键词 end 用来结束分组。 注意,分组可以嵌套使用。 @startuml -> Alice: Authentication Accepted else some kind of failure Bob -> Alice: Authentication Failure group My own label Alice -> Log : Log attack start loop 1000 times Alice -> Bob: DNS Attack end Alice -> end else Another type of failure Bob -> Alice: Please repeat end @enduml 1.12 Secondary group label For group, it is possible to add, between[ and ], a secondary text or label that will be displayed0 码力 | 381 页 | 4.05 MB | 1 年前3
PlantUML 1.2021.1 语言参考指引opt • loop • par • break • critical • group, 后面紧跟着消息内容 PlantUML 语言参考指引 (1.2021.1) 8 / 375 1.12 Secondary group label 1 时序图 可以在标头 (header) 添加需要显示的文字 (group 除外)。 关键词 end 用来结束分组。 注意,分组可以嵌套使用。 @startuml -> Alice: Authentication Accepted else some kind of failure Bob -> Alice: Authentication Failure group My own label Alice -> Log : Log attack start loop 1000 times Alice -> Bob: DNS Attack end Alice -> end else Another type of failure Bob -> Alice: Please repeat end @enduml 1.12 Secondary group label For group, it is possible to add, between[ and ], a secondary text or label that will be displayed0 码力 | 376 页 | 4.00 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.1)2019.1) 7 / 145 1.11 给消息添加注释 1 时序图 • loop • par • break • critical • group, 后面紧跟着消息内容 可以在标头 (header) 添加需要显示的文字 (group 除外)。 关键词 end 用来结束分组。 注意,分组可以嵌套使用。 @startuml Alice -> Bob: Authentication -> Alice: Authentication Accepted else some kind of failure Bob -> Alice: Authentication Failure group My own label Alice -> Log : Log attack start loop 1000 times Alice -> Bob: DNS Attack end Alice 类图 3 类图 3.1 类之间的关系 类之间的关系通过下面的符号定义: Type Symbol Drawing Extension <|-- Composition *-- Aggregation o-- 使用.. 来代替 -- 可以得到点线. 在这些规则下,也可以绘制下列图形 @startuml Class01 <|-- Class02 Class03 *-- Class040 码力 | 146 页 | 1.91 MB | 1 年前3
PlantUML 1.2019.3 语言参考指引我们可以通过以下关键词将组合消息: • alt/else • opt • loop • par • break • critical • group, 后面紧跟着消息内容 可以在标头 (header) 添加需要显示的文字 (group 除外)。 关键词 end 用来结束分组。 注意,分组可以嵌套使用。 @startuml Alice -> Bob: Authentication -> Alice: Authentication Accepted else some kind of failure Bob -> Alice: Authentication Failure group My own label Alice -> Log : Log attack start loop 1000 times Alice -> Bob: DNS Attack end Alice -> 类图 3 类图 3.1 类之间的关系 类之间的关系通过下面的符号定义: Type Symbol Drawing Extension <|-- Composition *-- Aggregation o-- 使用.. 来代替 -- 可以得到点线. 在这些规则下,也可以绘制下列图形 @startuml Class01 <|-- Class02 Class03 *-- Class040 码力 | 157 页 | 1.78 MB | 1 年前3
PlantUML 1.2019.2 语言参考指引我们可以通过以下关键词将组合消息: • alt/else • opt • loop • par • break • critical • group, 后面紧跟着消息内容 可以在标头 (header) 添加需要显示的文字 (group 除外)。 关键词 end 用来结束分组。 注意,分组可以嵌套使用。 @startuml Alice -> Bob: Authentication -> Alice: Authentication Accepted else some kind of failure Bob -> Alice: Authentication Failure group My own label Alice -> Log : Log attack start loop 1000 times Alice -> Bob: DNS Attack end Alice -> 类图 3 类图 3.1 类之间的关系 类之间的关系通过下面的符号定义: Type Symbol Drawing Extension <|-- Composition *-- Aggregation o-- 使用.. 来代替 -- 可以得到点线. 在这些规则下,也可以绘制下列图形 @startuml Class01 <|-- Class02 Class03 *-- Class040 码力 | 157 页 | 1.78 MB | 1 年前3
PlantUML 1.2021.3 语言参考指引• opt • loop • par • break • critical • group, 后面紧跟着消息内容 PlantUML 语言参考指引 (1.2021.2) 8 / 397 1.12 次级分组标签 1 时序图 可以在标头 (header) 添加需要显示的文字 (对于 group 关键字,参看下一章节 ’ 次级分组标签’)。 关键词 end 用来结束分组。 注意,分组可以嵌套使用。 Bob -> Alice: 认证失败 group 我自己的标签 Alice -> Log : 开始记录攻击日志 loop 1000次 Alice -> Bob: DNS 攻击 end Alice -> Log : 结束记录攻击日志 end else 另一种失败 Bob -> Alice: 请重复 end @enduml 1.12 次级分组标签 对于 group 而言,在标头处的 [和] 之间可以显示次级文本或标签。 @startuml Alice -> Bob: 认证请求 PlantUML 语言参考指引 (1.2021.2) 9 / 397 1.13 给消息添加注释 1 时序图 Bob -> Alice: 认证失败 group 我自己的标签 [我自己的标签2] Alice -> Log : 开始记录攻击日志 loop 1000次 Alice -> Bob: DNS攻击 end Alice -> Log : 结束记录攻击日志0 码力 | 398 页 | 4.22 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.4)我们可以通过以下关键词将组合消息: • alt/else • opt • loop • par • break • critical • group, 后面紧跟着消息内容 可以在标头 (header) 添加需要显示的文字 (group 除外)。 关键词 end 用来结束分组。 注意,分组可以嵌套使用。 @startuml Alice -> Bob: Authentication -> Alice: Authentication Accepted else some kind of failure Bob -> Alice: Authentication Failure group My own label Alice -> Log : Log attack start loop 1000 times Alice -> Bob: DNS Attack end Alice -> 类图 3 类图 3.1 类之间的关系 类之间的关系通过下面的符号定义: Type Symbol Drawing Extension <|-- Composition *-- Aggregation o-- 使用.. 来代替 -- 可以得到点线. 在这些规则下,也可以绘制下列图形 @startuml Class01 <|-- Class02 Class03 *-- Class040 码力 | 165 页 | 1.89 MB | 1 年前3
使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.6)我们可以通过以下关键词将组合消息: • alt/else • opt • loop • par • break • critical • group, 后面紧跟着消息内容 可以在标头 (header) 添加需要显示的文字 (group 除外)。 关键词 end 用来结束分组。 注意,分组可以嵌套使用。 @startuml Alice -> Bob: Authentication -> Alice: Authentication Accepted else some kind of failure Bob -> Alice: Authentication Failure group My own label Alice -> Log : Log attack start loop 1000 times Alice -> Bob: DNS Attack end Alice -> 类图 3.1 类之间的关系 类之间的关系通过下面的符号定义: Type Symbol Drawing Extension(扩展) <|-- Composition(组合) *-- Aggregation(聚合) o-- 使用.. 来代替 -- 可以得到点线. 在这些规则下,也可以绘制下列图形 @startuml Class01 <|-- Class02 Class03 *-- Class040 码力 | 174 页 | 1.98 MB | 1 年前3
共 542 条
- 1
- 2
- 3
- 4
- 5
- 6
- 55













