This is an automated email from the ASF dual-hosted git repository. rong pushed a commit to branch xianyi in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 9ca9cd2549563f9c3b13b932d18e3e12cb62d291 Author: Steve Yurong Su <[email protected]> AuthorDate: Fri Nov 26 23:14:22 2021 +0800 modify conf --- server/src/assembly/resources/conf/iotdb-engine.properties | 12 ++++++------ server/src/assembly/resources/conf/iotdb-env.sh | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/server/src/assembly/resources/conf/iotdb-engine.properties b/server/src/assembly/resources/conf/iotdb-engine.properties index 026ad0c..ceb68f8 100644 --- a/server/src/assembly/resources/conf/iotdb-engine.properties +++ b/server/src/assembly/resources/conf/iotdb-engine.properties @@ -65,7 +65,7 @@ rpc_port=6667 # Is insert ahead log enable # Datatype: boolean -enable_wal=false +enable_wal=true # Add a switch to drop ouf-of-order data # Out-of-order data will impact the aggregation query a lot. Users may not care about discarding some out-of-order data. @@ -136,7 +136,7 @@ enable_wal=false # wal_dir=data\\wal # For Linux platform # If its prefix is "/", then the path is absolute. Otherwise, it is relative. -# wal_dir=data/wal +wal_dir=data/wal # TSFile storage file system. Currently, Tsfiles are supported to be stored in LOCAL file system or HDFS. @@ -196,7 +196,7 @@ enable_wal=false # Use this value to set timestamp precision as "ms", "us" or "ns". # Once the precision is been set, it can not be changed. # Datatype: String -timestamp_precision=ms +timestamp_precision=ns # Default TTL for storage groups that are not set TTL by statements, in ms. If not set (default), # the TTL will be unlimited. @@ -671,7 +671,7 @@ enable_last_cache=false # register time series as which type when receiving an integer string "67" # Datatype: TSDataType -# integer_string_infer_type=FLOAT +integer_string_infer_type=INT32 # register time series as which type when receiving an integer string and using float may lose precision # num > 2 ^ 24 @@ -693,7 +693,7 @@ enable_last_cache=false # INT32 encoding when creating schema automatically is enabled # Datatype: TSEncoding -# default_int32_encoding=RLE +default_int32_encoding=PLAIN # INT64 encoding when creating schema automatically is enabled # Datatype: TSEncoding @@ -746,7 +746,7 @@ enable_last_cache=false # Compression configuration # Data compression method, supports UNCOMPRESSED, SNAPPY or LZ4. Default value is SNAPPY -# compressor=SNAPPY +compressor=GZIP # Maximum degree of a metadataIndex node, default value is 256 # Datatype: int [xsy] diff --git a/server/src/assembly/resources/conf/iotdb-env.sh b/server/src/assembly/resources/conf/iotdb-env.sh index a62f99e..53950b3 100755 --- a/server/src/assembly/resources/conf/iotdb-env.sh +++ b/server/src/assembly/resources/conf/iotdb-env.sh @@ -202,9 +202,9 @@ calculate_heap_sizes #HEAP_NEWSIZE="`expr $system_memory_in_mb \* $min_percentage / 100`M" # Maximum heap size -#MAX_HEAP_SIZE="2G" +MAX_HEAP_SIZE="64G" # Minimum heap size -#HEAP_NEWSIZE="2G" +HEAP_NEWSIZE="64G" # maximum direct memory size MAX_DIRECT_MEMORY_SIZE=${MAX_HEAP_SIZE}
