You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Incorporate feedback on resharding performance section
- Refine content based on review feedback
- Improve clarity and technical accuracy of resharding documentation
- Update performance characteristics and factor descriptions
- Enhance readability and flow of the resharding process explanation
Copy file name to clipboardExpand all lines: content/operate/rs/databases/memory-performance/memory-limit.md
+5-13Lines changed: 5 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ If you observe this behavior, consider [monitoring]({{< relref "/operate/rs/moni
83
83
84
84
Resharding enables you to increase database capacity by adding shards and utilizing more cluster memory. Understanding resharding duration helps you plan maintenance operations and minimize database risk.
85
85
86
-
### Resharding process overview
86
+
### Resharding overview
87
87
88
88
Resharding follows a three-stage process for each new shard:
89
89
@@ -99,26 +99,18 @@ Resharding is an atomic operation that cannot be interrupted. Database corruptio
99
99
100
100
Flexible sharding optimizes the key trimming stage, significantly reducing the time required to remove unnecessary keys from original shards.
101
101
102
-
### Duration characteristics
102
+
### Resharding duration factors
103
103
104
-
Resharding duration increases linearly with the number of keys in your database. Several factors affect resharding duration:
104
+
Resharding duration increases linearly with the number of keys in your database. Flexible sharding, key length, and network traffic affect resharding duration:
105
105
106
-
### Flex sharding impact
106
+
Flexible sharding improves resharding duration compared to standard sharding.
107
107
108
-
Flex sharding improves resharding duration compared to standard sharding.
109
-
110
-
### Key length considerations
111
-
112
-
Key length directly affects resharding duration. Longer keys require more time to process due to increased hash calculation overhead per key.
113
-
114
-
The decrease in duration provided by flex sharding varies based on key length:
108
+
Key length directly affects resharding duration. Longer keys require more time to process due to increased hash calculation overhead per key. The decrease in duration provided by flex sharding varies based on key length:
115
109
116
110
-**Short keys (10 bytes)**: Flex sharding provides up to 50% improvement
-**Critical threshold**: Between 50-100 bytes, flex sharding advantages begin to diminish
119
113
120
-
### Traffic impact during resharding
121
-
122
114
Network traffic has a measurable but limited effect on resharding duration. Since resharding operations typically don't reach CPU limits, the impact on both resharding time and ongoing traffic remains minimal.
0 commit comments