Skip to content

Commit 09b0be3

Browse files
author
Cary Huang
committed
updateS
1 parent a0be8ec commit 09b0be3

File tree

2 files changed

+44
-44
lines changed

2 files changed

+44
-44
lines changed

docs/en/user-guide/configure_infinispan.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -95,38 +95,38 @@ END;
9595

9696
**Behaviors Under Large Transaction**
9797

98-
1. no infinispan setting + low JVM heap (synchdb.jvm_max_heap_size=128)
98+
no infinispan setting + low JVM heap (synchdb.jvm_max_heap_size=128)
9999

100-
--> OutOfMemory error will occur
100+
* --> OutOfMemory error will occur
101101

102-
2. low JVM heap (128) + high infinispan off heap (2048)
102+
low JVM heap (128) + high infinispan off heap (2048)
103103

104-
--> large transaction handled successfully
104+
* --> large transaction handled successfully
105105

106-
3. low JVM heap (128) + low infinispan off heap (128)
106+
low JVM heap (128) + low infinispan off heap (128)
107107

108-
--> passivation will occur
109-
--> `ispn_[connector name]_[destination database name]` size will grow during processing and reduce once large transaction finished processing
110-
--> large transaction handled successfully but at slower speed.
108+
* --> passivation will occur
109+
* --> `ispn_[connector name]_[destination database name]` size will grow during processing and reduce once large transaction finished processing
110+
* --> large transaction handled successfully but at slower speed.
111111

112-
4. low JVM heap (128) + high infinispan heap (2048)
112+
low JVM heap (128) + high infinispan heap (2048)
113113

114-
--> OutOfMemory error will occur
115-
--> do not configure infinispan to use more heap memory than JVM max heap.
114+
* --> OutOfMemory error will occur
115+
* --> do not configure infinispan to use more heap memory than JVM max heap.
116116

117-
5. low JVM heap (128) + low infinispan heap (64)
117+
low JVM heap (128) + low infinispan heap (64)
118118

119-
--> passivation will occur
120-
--> `ispn_[connector name]_[destination database name]` size will grow during processing and reduce once large transaction finished processing
121-
--> not recommended as half of the JVM heap can potentially be used by infinispan and may not have enough left for other Debezium operations
119+
* --> passivation will occur
120+
* --> `ispn_[connector name]_[destination database name]` size will grow during processing and reduce once large transaction finished processing
121+
* --> not recommended as half of the JVM heap can potentially be used by infinispan and may not have enough left for other Debezium operations
122122

123-
6. low JVM heap (128) + same infinispan heap (128)
123+
low JVM heap (128) + same infinispan heap (128)
124124

125-
--> not recommended as all of the JVM heap can potentially be used by infinispan and eventually causing OutOfMemory error
125+
* --> not recommended as all of the JVM heap can potentially be used by infinispan and eventually causing OutOfMemory error
126126

127-
7. high JVM heap (2048) + low infinispan heap (128)
127+
high JVM heap (2048) + low infinispan heap (128)
128128

129-
--> passivation will occur
130-
--> `ispn_[connector name]_[destination database name]` size will grow during processing and reduce once large transaction finished processing
131-
--> large transaction handled successfully
132-
--> not efficient - as only a small portion of JVM heap is used as cache + unnessary passivation.
129+
* --> passivation will occur
130+
* --> `ispn_[connector name]_[destination database name]` size will grow during processing and reduce once large transaction finished processing
131+
* --> large transaction handled successfully
132+
* --> not efficient - as only a small portion of JVM heap is used as cache + unnessary passivation.

docs/zh/user-guide/configure_infinispan.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -93,38 +93,38 @@ END;
9393

9494
**大事务下的行为**
9595

96-
1. 未设置 infinispan + 低 JVM heap size (128)
96+
未设置 infinispan + 低 JVM heap size (128)
9797

98-
--> 将发生 OutOfMemory 错误
98+
* --> 将发生 OutOfMemory 错误
9999

100-
2. 低 JVM heap size (128) + 高 infinispan heap size (2048)
100+
低 JVM heap size (128) + 高 infinispan heap size (2048)
101101

102-
--> 大型事务成功处理
102+
* --> 大型事务成功处理
103103

104-
3. 低 JVM heap size (128) + 低 infinispan heap size (128)
104+
低 JVM heap size (128) + 低 infinispan heap size (128)
105105

106-
--> 将发生钝化
107-
--> `ispn_[连接器名称]_[目标数据库名称]` 大小在处理过程中会增加,大型事务处理完成后会减小
108-
--> 大型事务已成功处理,但速度较慢。
106+
* --> 将发生钝化
107+
* --> `ispn_[连接器名称]_[目标数据库名称]` 大小在处理过程中会增加,大型事务处理完成后会减小
108+
* --> 大型事务已成功处理,但速度较慢。
109109

110-
4. 低 JVM heap size (128) + 高 infinispan heap size (2048)
110+
低 JVM heap size (128) + 高 infinispan heap size (2048)
111111

112-
--> 将发生 OutOfMemory 错误
113-
--> 请勿将 infinispan 配置 heap size 超过 JVM 最大 heap 内存
112+
* --> 将发生 OutOfMemory 错误
113+
* --> 请勿将 infinispan 配置 heap size 超过 JVM 最大 heap 内存
114114

115-
5. 较低的 JVM heap size (128) + 较低的 infinispan heap size (64)
115+
较低的 JVM heap size (128) + 较低的 infinispan heap size (64)
116116

117-
--> 将发生钝化
118-
--> `ispn_[连接器名称]_[目标数据库名称]` 的大小将在处理过程中增加,并在大型事务处理完成后减小。
119-
--> 不建议使用,因为 infinispan 可能会占用一半的 JVM heap,而剩余空间可能不足以用于其他 Debezium 操作。
117+
* --> 将发生钝化
118+
* --> `ispn_[连接器名称]_[目标数据库名称]` 的大小将在处理过程中增加,并在大型事务处理完成后减小。
119+
* --> 不建议使用,因为 infinispan 可能会占用一半的 JVM heap,而剩余空间可能不足以用于其他 Debezium 操作。
120120

121-
6. 低 JVM heap size (128) + 相同的 infinispan heap size (128)
121+
低 JVM heap size (128) + 相同的 infinispan heap size (128)
122122

123-
--> 不建议使用,因为 infinispan 可能会占用所有 JVM 堆空间,最终导致 OutOfMemory 错误。
123+
* --> 不建议使用,因为 infinispan 可能会占用所有 JVM 堆空间,最终导致 OutOfMemory 错误。
124124

125-
7. 高 JVM heap size (2048) + 低 infinispan heap size (128)
125+
高 JVM heap size (2048) + 低 infinispan heap size (128)
126126

127-
--> 将发生钝化。
128-
--> `ispn_[连接器名称]_[目标数据库名称]` 的大小在处理过程中会增加,并在大型事务处理完成后减小。
129-
--> 大型事务处理成功。
130-
--> 效率低下 - 因为只有一小部分 JVM heap 空间用作缓存 + 不必要的钝化。
127+
* --> 将发生钝化。
128+
* --> `ispn_[连接器名称]_[目标数据库名称]` 的大小在处理过程中会增加,并在大型事务处理完成后减小。
129+
* --> 大型事务处理成功。
130+
* --> 效率低下 - 因为只有一小部分 JVM heap 空间用作缓存 + 不必要的钝化。

0 commit comments

Comments
 (0)