提交 c89ab9ef authored 作者: Thomas Mueller's avatar Thomas Mueller

Server mode: the number of CLOB / BLOB values that were cached on the server is…

Server mode: the number of CLOB / BLOB values that were cached on the server is now 5 times the SERVER_RESULT_SET_FETCH_SIZE (which is 100 by default).
上级 e04366ec
...@@ -52,7 +52,7 @@ public class TcpServerThread implements Runnable { ...@@ -52,7 +52,7 @@ public class TcpServerThread implements Runnable {
private Command commit; private Command commit;
private SmallMap cache = new SmallMap(SysProperties.SERVER_CACHED_OBJECTS); private SmallMap cache = new SmallMap(SysProperties.SERVER_CACHED_OBJECTS);
private SmallLRUCache<Long, CachedInputStream> lobs = private SmallLRUCache<Long, CachedInputStream> lobs =
SmallLRUCache.newInstance(SysProperties.SERVER_RESULT_SET_FETCH_SIZE * 2); SmallLRUCache.newInstance(SysProperties.SERVER_RESULT_SET_FETCH_SIZE * 5);
private int threadId; private int threadId;
private int clientVersion; private int clientVersion;
private String sessionId; private String sessionId;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论