提交 4230ebb4 authored 作者: noelgrandin's avatar noelgrandin

Revert previous change

"Bump up the sequence cache size from 64 to 1024.
 Prevents sequence writing from becoming a bottleneck when doing bulk load."
上级 f5bdb35e
...@@ -24,7 +24,7 @@ public class Sequence extends SchemaObjectBase { ...@@ -24,7 +24,7 @@ public class Sequence extends SchemaObjectBase {
/** /**
* The default cache size for sequences. * The default cache size for sequences.
*/ */
private static final int DEFAULT_CACHE_SIZE = 1024; public static final int DEFAULT_CACHE_SIZE = 32;
private long value; private long value;
private long valueWithMargin; private long valueWithMargin;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论