mirror of https://github.com/apache/iotdb
remove useless config file
This commit is contained in:
parent
2351f2ae94
commit
38983d244d
|
@ -1,55 +0,0 @@
|
|||
# JDBC Server configuration
|
||||
|
||||
# port which JDBC server listens to
|
||||
rpc_port=6667
|
||||
|
||||
# Write ahead log configuration
|
||||
|
||||
# is write ahead log enable
|
||||
enable_wal=true
|
||||
|
||||
# When the total number of write ahead log in the file and memory reaches the specified size, all the logs are compressed and the unused logs are removed
|
||||
# Increase this value, it will lead to short write pause. Decrease this value, it will increase IO and CPU consumption
|
||||
wal_cleanup_threshold=500000
|
||||
|
||||
# When a certain amount ofwrite ahead log is reached, it will be flushed to disk
|
||||
# It is possible to lose at most flush_wal_threshold operations
|
||||
flush_wal_threshold=10000
|
||||
|
||||
# The cycle when write ahead log is periodically refreshed to disk(in milliseconds)
|
||||
# It is possible to lose at most flush_wal_period_in_ms ms operations
|
||||
flush_wal_period_in_ms=10
|
||||
|
||||
# database features configuration
|
||||
|
||||
# data dir
|
||||
# If this value starts with "/", use absolute path. Otherwise, it will save the data in the relative path directory under the IoTDB folder
|
||||
data_dir=data
|
||||
|
||||
# The maximum concurrent thread number for merging overflow
|
||||
# Increase this value, it will increase IO and CPU consumption
|
||||
# Decrease this value, when there is much overflow data, it will increase disk usage, which will reduce read speed
|
||||
merge_concurrent_threads=10
|
||||
|
||||
# Maximum number of folders open at the same time
|
||||
# Increase this value, it will use more memory, random I/O becomes smaller, file fragmentation (i.e., group) is more neat.
|
||||
# Decrease this value, it will use less memory, random I/O becomes greater, file fragmentation is less neat.
|
||||
# group_size_in_byte * max_opened_folder = theoretical value of maximum memory occupancy
|
||||
# For an application, the total amount of folder is equal to the number of storage_group settings in SQL
|
||||
max_opened_folder=100
|
||||
|
||||
# The amount of data that is read every time when IoTDB merge data.
|
||||
fetch_size=10000
|
||||
|
||||
# The period time of flushing data from memory to file.
|
||||
# The unit is second.
|
||||
period_time_for_flush_in_second=3600
|
||||
# The period time for merge overflow data with tsfile data.
|
||||
# The unit is second.
|
||||
period_time_for_merge_in_second=7200
|
||||
|
||||
|
||||
# time zone of server side
|
||||
# default value is +08:00
|
||||
# eg. +08:00, -01:00
|
||||
time_zone=+08:00
|
|
@ -1,32 +0,0 @@
|
|||
# Memory size threshold for flushing to disk or HDFS, default value is 128MB
|
||||
group_size_in_byte=134217728
|
||||
|
||||
# The memory size for each series writer to pack page, default value is 1MB
|
||||
page_size_in_byte=1048576
|
||||
|
||||
# The maximum number of data points in a page, defalut 1024*1024
|
||||
max_number_of_points_in_page=1048576
|
||||
|
||||
# Data type configuration
|
||||
|
||||
# Data type for input timestamp, TsFile supports INT32 or INT64
|
||||
time_series_data_type=INT64
|
||||
|
||||
# Max length limitation of input string
|
||||
max_string_length=128
|
||||
|
||||
# Floating-point precision
|
||||
float_precision=2
|
||||
|
||||
# Encoder configuration
|
||||
|
||||
# Encoder of time series, TsFile supports TS_2DIFF, PLAIN and RLE(run-length encoding) and default value is TS_2DIFF
|
||||
time_series_encoder=TS_2DIFF
|
||||
|
||||
# Encoder of value series. default value is RLE. For int, long, float, double data type, TsFile also supports TS_2DIFF and RLE(run-length encoding)
|
||||
value_encoder=PLAIN
|
||||
|
||||
# Compression configuration
|
||||
|
||||
# Data compression method, TsFile supports UNCOMPRESSED or SNAPPY. Default value is UNCOMPRESSED which means no compression
|
||||
compressor=UNCOMPRESSED
|
|
@ -16,7 +16,7 @@ public class TsfileDBConfig {
|
|||
/**
|
||||
* Is write ahead log enable
|
||||
*/
|
||||
public boolean enableWal = false;
|
||||
public boolean enableWal = true;
|
||||
|
||||
/**
|
||||
* When the total number of write ahead log in the file and memory reaches
|
||||
|
@ -27,7 +27,7 @@ public class TsfileDBConfig {
|
|||
public int walCleanupThreshold = 500000;
|
||||
|
||||
/**
|
||||
* When a certain amount ofwrite ahead log is reached, it will be flushed to
|
||||
* When a certain amount of write ahead log is reached, it will be flushed to
|
||||
* disk. It is possible to lose at most flush_wal_threshold operations
|
||||
*/
|
||||
public int flushWalThreshold = 10000;
|
||||
|
|
Loading…
Reference in New Issue