当前位置:网站首页>什么情况下考虑分库分表
什么情况下考虑分库分表
2022-07-07 02:37:00 【阿东-007】
1.仅当数据库连接数不够用的情况下,采用分库的方式来提高数据库性能瓶颈
2.仅当单表存储数据量超过500w或者单表大小超过2G的时候,采用分表的形式来提高表的读和写的瓶颈
当上面两种情况同时出现的时候,就是需要考虑分库分表的时候。
业务场景中,需要提前考虑分库分表,比如未来3年内,如果你的表会出现上述情况,应该尽早做好分库分表。
边栏推荐
- 剑指offer-高质量的代码
- 使用TCP/IP四层模型进行网络传输的基本流程
- C language interview to write a function to find the first public string in two strings
- ICML 2022 | 探索语言模型的最佳架构和训练方法
- What are the classic database questions in the interview?
- JESD204B时钟网络
- Redhat5 installing vmware tools under virtual machine
- String (explanation)
- Redis(二)—Redis通用命令
- Go straight to the 2022ecdc fluorite cloud Developer Conference: work with thousands of industries to accelerate intelligent upgrading
猜你喜欢
LM small programmable controller software (based on CoDeSys) Note 23: conversion of relative coordinates of servo motor operation (stepping motor) to absolute coordinates
Learning notes | data Xiaobai uses dataease to make a large data screen
Stack and queue-p78-8 [2011 unified examination true question]
品牌·咨询标准化
JESD204B时钟网络
Abnova 免疫组化服务解决方案
华为机试题素数伴侣
Ant manor safety helmet 7.8 ant manor answer
哈趣投影黑馬之姿,僅用半年强勢突圍千元投影儀市場!
MATLAB小技巧(29)多项式拟合 plotfit
随机推荐
中英文说明书丨ProSci LAG-3 重组蛋白
Several key steps of software testing, you need to know
Kotlin之 Databinding 异常
POI导出Excel:设置字体、颜色、行高自适应、列宽自适应、锁住单元格、合并单元格...
精准时空行程流调系统—基于UWB超高精度定位系统
常用函数detect_image/predict
当前发布的SKU(销售规格)信息中包含疑似与宝贝无关的字
UIC (configuration UI Engineering) public file library adds 7 industry materials
Tkinter window selects PCD file and displays point cloud (open3d)
多学科融合
How can I check the DOI number of a foreign document?
Postgresql源码(59)分析事务ID分配、溢出判断方法
MySQL (x)
反射(二)
程序员的日常 | 每日趣闻
UIC(组态UI工程)公版文件库新增7款行业素材
Jmeter 5.5版本发布说明
MATLAB小技巧(29)多项式拟合 plotfit
Crudini profile editing tool
项目实战 五 拟合直线 获得中线