Comments (3)
前面也说明了,就是说刚开始建了这个 n 多个(逻辑)库,可能在同一台 DB 服务器上。之后 DB 服务器新增扩容,就把原先的一些 DB 迁移到新的 DB 服务器上。
from advanced-java.
前面也说明了,就是说刚开始建了这个 n 多个(逻辑)库,可能在同一台 DB 服务器上。之后 DB 服务器新增扩容,就把原先的一些 DB 迁移到新的 DB 服务器上。
感谢,又仔细看了一遍,算是明白了!
from advanced-java.
我有一个疑问,为什么说成倍扩容了之后, 路由逻辑不需要改变呢。 比如我原来是32个库 , 扩容成 64 , 那不是要把 orderId%32 改成 orderId%64吗 ? 还有这样的话, 依然会有数据会落到 前32个库 。 这样扩容,每扩容一次,前面的库的数据都会增加, 不用做均衡迁移吗。
from advanced-java.
Related Issues (20)
- need a debit card number
- 关于题目:如何在大量的数据中判断一个数是否存在 HOT 2
- a HOT 1
- I want to join HOT 1
- 奈学教育真是垃圾 HOT 2
- 发现一处错误拼写 HOT 3
- 为什么消息队列的总结里只有rabbitmq 和kafka, 没有rocketmq ? HOT 1
- Java
- Facebook account Hack 10 Minutes HOT 2
- Rwpo
- 关于分库分表可扩容部分的建议 HOT 2
- 想加入 Doocs HOT 1
- 图裂了,无法查看图片 HOT 1
- ES面试解析关于索引的解释有误 HOT 2
- Is there an error about Delay-double-deletion's example code? HOT 14
- Translation HOT 1
- Java
- Doc
- This is an automated pull request to sync changes between the public and private repos.
- 😮 卡顿立刻消失!实用稳定快速的科学上网技巧 ChatGPT可用
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from advanced-java.