You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by xi...@apache.org on 2022/06/26 10:24:51 UTC
[iotdb] branch enable_schema_cache created (now f31a6ba829)
This is an automated email from the ASF dual-hosted git repository.
xingtanzjr pushed a change to branch enable_schema_cache
in repository https://gitbox.apache.org/repos/asf/iotdb.git
at f31a6ba829 change partition cache size to default 10000
This branch includes the following new commits:
new f31a6ba829 change partition cache size to default 10000
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[iotdb] 01/01: change partition cache size to default 10000
Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
xingtanzjr pushed a commit to branch enable_schema_cache
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit f31a6ba829fa433441baecb6eee05c880214a6e8
Author: Jinrui.Zhang <xi...@gmail.com>
AuthorDate: Sun Jun 26 18:24:40 2022 +0800
change partition cache size to default 10000
---
server/src/assembly/resources/conf/iotdb-engine.properties | 2 +-
server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/server/src/assembly/resources/conf/iotdb-engine.properties b/server/src/assembly/resources/conf/iotdb-engine.properties
index 2e446322b5..8d8f31fbaa 100644
--- a/server/src/assembly/resources/conf/iotdb-engine.properties
+++ b/server/src/assembly/resources/conf/iotdb-engine.properties
@@ -1031,7 +1031,7 @@ timestamp_precision=ms
# cache size for partition.
# This cache is used to improve partition fetch from config node.
# Datatype: int
-# partition_cache_size=0
+# partition_cache_size=10000
####################
### Schema File Configuration
diff --git a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
index 0f32800616..1a3dcc9a8a 100644
--- a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
+++ b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
@@ -896,7 +896,7 @@ public class IoTDBConfig {
* Cache size of partition cache in {@link
* org.apache.iotdb.db.mpp.plan.analyze.ClusterPartitionFetcher}
*/
- private int partitionCacheSize = 0;
+ private int partitionCacheSize = 10000;
/** Cache size of user and role */
private int authorCacheSize = 100;