当前位置:网站首页>什么情况下考虑分库分表
什么情况下考虑分库分表
2022-07-07 02:37:00 【阿东-007】
1.仅当数据库连接数不够用的情况下,采用分库的方式来提高数据库性能瓶颈
2.仅当单表存储数据量超过500w或者单表大小超过2G的时候,采用分表的形式来提高表的读和写的瓶颈
当上面两种情况同时出现的时候,就是需要考虑分库分表的时候。
业务场景中,需要提前考虑分库分表,比如未来3年内,如果你的表会出现上述情况,应该尽早做好分库分表。
边栏推荐
- Postgresql源码(60)事务系统总结
- Several key steps of software testing, you need to know
- 健身房如何提高竞争力?
- ceres-solver和g2o性能比较
- Which foreign language periodicals are famous in geology?
- Navicat importing 15g data reports an error [2013 - lost connection to MySQL server during query] [1153: got a packet bigger]
- Linear algebra (1)
- UIC(组态UI工程)公版文件库新增7款行业素材
- 学术报告系列(六) - Autonomous Driving on the journey to full autonomy
- Etcd database source code analysis -- starting from the start function of raftnode
猜你喜欢
随机推荐
二十岁的我4面拿到字节跳动offer,至今不敢相信
缓存在高并发场景下的常见问题
Networkx绘图和常用库函数坐标绘图
Shared memory for interprocess communication
Ant manor safety helmet 7.8 ant manor answer
Google Chrome browser released patch 103.0.5060.114 to fix the 0-day vulnerability
偏执的非合格公司
使用net core优势/为什么使用
[start from scratch] detailed process of deploying yolov5 in win10 system (CPU, no GPU)
Tkinter window selects PCD file and displays point cloud (open3d)
品牌·咨询标准化
JWT certification
港科大&MSRA新研究:关于图像到图像转换,Fine-tuning is all you need
Installing redis and windows extension method under win system
MYSQL binlog相关命令
Which foreign language periodicals are famous in geology?
Postgresql中procedure支持事务语法(实例&分析)
怎样查找某个外文期刊的文献?
当前发布的SKU(销售规格)信息中包含疑似与宝贝无关的字
使用TCP/IP四层模型进行网络传输的基本流程








