当前位置:网站首页>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 的数据节点,管理服务器,
边栏推荐
- Implementation of sequence table: static and dynamic
- Mutual conversion between QT utf8 and Unicode encoding, and the Unicode encoding output format is &xxxxx
- OpenJudge NOI 2.1 15:Counterfeit Dollar
- Qtcreator formatting code
- QT custom implemented calendar control
- 信息学奥赛一本通 1353:表达式括号匹配(stack) | 洛谷 P1739 表达式括号匹配
- Windows redis installation and simple use
- Anaconda一文入门笔记
- Hibernate entity class curd, transaction operation summary
- 28 rounds of interviews with 10 companies in two and a half years (including byte, pinduoduo, meituan, Didi...)
猜你喜欢

hiberate架构介绍及环境搭建(非常详细)

Once beego failed to find bee after passing the go get command Exe's pit

Kotlin null pointer bug

23class introduction

Xinchida nd04 nd04c nrf52832 (52810) ble module (low power Bluetooth communication module) at command test

毕业旅行 | 伦敦5日游行程推荐

The software test interview has been suspended. The interviewer always says that the logical thinking is chaotic. What should I do?

Bi-sql stored procedure (I)

hiberate核心API/配置文件/一级缓存详解

经典图像分割网络:Unet 支持libtorch部署推理【附代码】
随机推荐
C1. k-LCM (easy version)-Codeforces Round #708 (Div. 2)
Mutual conversion between QT utf8 and Unicode encoding, and the Unicode encoding output format is &xxxxx
golang Make a list of intervals with sequential numbers
C2. k-LCM (hard version)-Codeforces Round #708 (Div. 2)
谷歌浏览器(Chrome)最新v80版本下载
关于go协程超时退出控制条件与方式分析
The simplest screen recording to GIF gadget in history, licecap, can be tried if the requirements are not high
After xampp restarts, the MySQL service cannot be started.
对卡巴斯基发现的一个将shellcode写入evenlog的植入物的复现
The first public available pytorch version alphafold2 is reproduced, and Columbia University is open source openfold, with more than 1000 stars
A. Balance the Bits--Codeforces Round #712 (Div. 1)
Uniapp - call payment function: Alipay
character string
1.8 billion pixel Mars panorama Ultra HD released by NASA, very shocking
Analysis on the control condition and mode of go cooperation overtime exit
C. Yet Another Card Deck-Educational Codeforces Round 107 (Rated for Div. 2)
Xinchida nd04 nd04c nrf52832 (52810) ble module (low power Bluetooth communication module) at command test
LeetCode-1528-重新排列字符串-哈希表-字符串
Go语言逃逸分析全纪录
Graduation trip | recommended 5-day trip to London