当前位置:网站首页>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 的数据节点,管理服务器,
边栏推荐
- Efr32bg22 ble module (low power Bluetooth communication module) at command test
- LeetCode-1528-重新排列字符串-哈希表-字符串
- 关于go中资源泄漏/goroutine泄漏/内存泄漏/CPU打满等情况分析
- My vscode
- CSDN原力值
- hiberate核心API/配置文件/一级缓存详解
- Qt 中文和英文分别使用不同的字体
- Leetcode (605) -- flower planting
- The package name of the manifest file in the library project and the app project are not the same
- proxy
猜你喜欢

漏刻有时API接口实战开发系列(13):小鹅通云服务PHP-API二维数组传参解决方案

My vscode

Hbuilderx uses the gaude map to obtain the current location

What is Unified Extensible Firmware Interface (UEFI)?

BI-SQL丨存储过程(一)

CTS RTS RX TX in serial port flow control UART (direct communication between serial port module and MCU)

平衡二叉树AVL

Online customer service - charging standards and service provision of third parties

Audio basics and PCM to WAV

After xampp restarts, the MySQL service cannot be started.
随机推荐
#23class介绍
hiberate核心API/配置文件/一级缓存详解
Konva series tutorial 2: drawing graphics
Hibernate core api/ configuration file / L1 cache details
UE4 learning records create a role and control its movement
史上最简单的录屏转gif小工具LICEcap,要求不高可以试试
Qt自定义实现的日历控件
String object (constant) pool
C1. k-LCM (easy version)-Codeforces Round #708 (Div. 2)
Uni app -- listen for the exit of the return key
The package name of the manifest file in the library project and the app project are not the same
字符串
信息学奥赛一本通 1353:表达式括号匹配(stack) | 洛谷 P1739 表达式括号匹配
Style setting when there is a separator in the qcombobox drop-down menu
Use of xinchida ble 5.0 Low Power Bluetooth module (at command serial port transparent transmission) rsbrs02abr
Implementation of sequence table: static and dynamic
Count the number of different palindrome subsequences in the string
Bi-sql stored procedure (I)
php性能优化
C2. k-LCM (hard version)-Codeforces Round #708 (Div. 2)