11###########################################
2- # init storage parameters:
2+ # init storage parameters
3+ # (cannot be changed after
4+ # the 1st launch of node)
35###########################################
46
5- # node identifier of the current instance
6-
7+ # identifier of current node in the cluster - integer value from 1 to 64
78local.node.id=1
89
9- # amount of internal storage threads
10- # = amount of files for each storage types:
11- # data, index, temp, undo
12-
10+ # amount of internal storage threads and amount of files for each storage types
1311files.amount=4
1412
15- # frame size for all data, temp, undo files
16-
13+ # the size of physical storage frame (in bytes) for all data, temp, undo files
1714frame.size=8192
1815
19- # frame size for index files
20-
16+ # the size of physical storage frame (in bytes) for index files
2117frame.size.ix=8192
2218
23- # system code page
19+ # system code page for serialize/deserialize String objects
2420codepage=UTF8
2521
2622###########################################
27- # runtime parameters
23+ # runtime parameters (may be changed later)
2824###########################################
2925
3026# path where datafiles stored
@@ -33,29 +29,70 @@ db.path=c:/test0
3329# path where checkpoint log files stored
3430journal.path=c:/test0
3531
36- # management console
32+ # management console (not used now)
3733mmport=8086
3834
39- # remote api
35+ # current node's server port for transport interactions
4036rmport=8059
41- rmhost.start=localhost
42- rmhost.range=1
43- rmport.start=8059
44- rmport.range=10
4537
4638# date format used in management console
4739dateformat=dd.MM.yyyy
4840
4941# disk write mode: write through = sync/write back = async
5042diskio.mode=sync
5143
44+ # time between writes of changed frames from the queue to disk in milliseconds
5245sync.period=1000
46+
47+ # lock data changes for the duration of a scheduled sync of frames to disk
5348sync.lock.enable=true
54- retrieve.queue.size=20000
5549
50+ # size of blocking queue, which use in SQL retrieve
51+ # mechanism for prevent of heap overload
52+ retrieve.queue.size=100000
53+
54+ # the number of threads for parallel processing of the SQL query
55+ retrieve.threads.amount=8
56+
57+ # list of nodeIds, hosts and ports of cluster nodes, separated by commas.
58+ # the list must contains string of the following format:
59+ # nodeId:host:port,nodeId:host:port, : etc.
60+ # list of nodes must contains all cluster nodes exclude current one
61+ # if the value is not set, the node will function in single mode (as local database)
5662cluster.nodes=
63+
64+ # a list of fully qualified names of entity classes, separated by commas,
65+ # for which when the service starts, verification will be performed and,
66+ # if necessary, automatic registration
5767auto.register.classes=su.interference.test.entity.Dept,su.interference.test.entity.Emp,su.interference.test.entity.StreamTable
5868
69+ # transport parameters - do not change this values
70+ transport.sync.timeout=60000
71+ transport.read.buffer=33554432
72+ transport.write.buffer=33554432
73+
74+ # cleanup parameters
75+
76+ # enable heap cleanup if possible
77+ cleanup.enable=true
78+
79+ # closed transaction cleanup timeout
80+ cleanup.tx.timeout=5000
81+
82+ # cleanup of unused frames in heap timeout
83+ cleanup.frames.timeout=3000
84+
85+ # max amount of data frames in cleanup excluded table
86+ cleanup.data.threshold=1000
87+
88+ # max amount of index frames in cleanup excluded index
89+ cleanup.ix.threshold=2000
90+
91+ # thresholds in percent in heap for cleanup launch
92+ cleanup.heap.data.threshold=60
93+ cleanup.heap.ix.threshold=70
94+ cleanup.heap.temp.threshold=50
95+ cleanup.heap.undo.threshold=50
5996
6097#-Dlogback.configurationFile=config/app-log-config.xml
6198#-Dsu.interference.config=properties
0 commit comments