当前位置:网站首页>mysql集群
mysql集群
2022-06-25 22:02:00 【bingoabin】
一、优缺点
在使用mysql集群之前,先仔细了解mysql集群的优缺点,在应用场景中充分发挥集群的优点,才能把mysql集群技术用到刀刃上。
描述
- 优点
- a) 99.999%的高可用性
b) 快速的自动失效切换
c)灵活的分布式体系结构,没有单点故障
d)高吞吐量和低延迟
e)可扩展性强,支持在线扩容 缺点 - a)存在很多限制,比如:不支持外键
b)部署、管理、配置很复杂
c)占用磁盘空间大,内存大
d)备份和恢复不方便
e)重启的时候,数据节点将数据load到内存需要很长时间
二、操作
数据存储在mysql中,单节点存储如果数据量十分大,数据就很可能存不下。因此我们需要搭建部署mysql的集群模式,增加数据的存储量,而且提到数据库访问的并发。
操作步骤
1. 概述
MySQL 群集是 MySQL 适合于分布式计算环境的高可用、高冗余版本。它采用了 NDB Cluster 存储引擎,允许在 1
个群集中运行多个 MySQL 服务器。MySQL Cluster 由一组计算机构成,每台计算机上均运行着多种进程,包括 MySQL 服务器,NDB Cluster 的数据节点,管理服务器,
边栏推荐
- Qt自定义实现的日历控件
- Kotlin空指针Bug
- Bi-sql stored procedure (I)
- Reproduction of an implant found by Kaspersky that writes shellcode into evenlog
- My vscode
- Once beego failed to find bee after passing the go get command Exe's pit
- Summary of common JDBC exceptions and error solutions
- Classic image segmentation network: UNET supports libtorch deployment reasoning [with code]
- UE4 learning records create a role and control its movement
- Hibernate architecture introduction and environment construction (very detailed)
猜你喜欢
Qtcreator formatting code
Uni app -- listen for the exit of the return key
QT custom implemented calendar control
BI-SQL丨存储过程(一)
CTS RTS RX TX in serial port flow control UART (direct communication between serial port module and MCU)
UE4 学习记录二 给角色添加骨架,皮肤,及运动动画
The software test interview has been suspended. The interviewer always says that the logical thinking is chaotic. What should I do?
CSDN添加页内跳转和页外指定段落跳转
社招两年半10个公司28轮面试面经(含字节、拼多多、美团、滴滴......)
Kotlin空指针Bug
随机推荐
Uniapp - call payment function: Alipay
character string
Solve 'tuple' object has no attribute 'lower‘
C. Fibonacci Words-April Fools Day Contest 2021
[untitled] open an item connection. If it cannot be displayed normally, Ping the IP address
1.8 billion pixel Mars panorama Ultra HD released by NASA, very shocking
Download the latest V80 version of Google Chrome
Qt 中文和英文分别使用不同的字体
Leetcode-1528- rearrange string - hash table - string
UE4 learning record 2 adding skeleton, skin and motion animation to characters
Bi-sql stored procedure (I)
QT Chinese and English use different fonts respectively
RK3568+鸿蒙工控板工业网关视频网关解决方案
CSDN原力值
Hibernate architecture introduction and environment construction (very detailed)
24class static member
When are the three tools used for interface testing?
关于go协程超时退出控制条件与方式分析
Solving typeerror: Unicode objects must be encoded before hashing
Konva series tutorial 2: drawing graphics