blob: fe9827c675649b5c4fe5376ed2472bba9abd7489 [file] [log] [blame]
Ian Maxon231c24d2015-09-29 15:43:25 -07001<!--
2 ! Licensed to the Apache Software Foundation (ASF) under one
3 ! or more contributor license agreements. See the NOTICE file
4 ! distributed with this work for additional information
5 ! regarding copyright ownership. The ASF licenses this file
6 ! to you under the Apache License, Version 2.0 (the
7 ! "License"); you may not use this file except in compliance
8 ! with the License. You may obtain a copy of the License at
9 !
10 ! http://www.apache.org/licenses/LICENSE-2.0
11 !
12 ! Unless required by applicable law or agreed to in writing,
13 ! software distributed under the License is distributed on an
14 ! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 ! KIND, either express or implied. See the License for the
16 ! specific language governing permissions and limitations
17 ! under the License.
18 !-->
19
20<asterixConfiguration xmlns="asterixconf">
Michael Blowb4c1fb02016-05-09 15:41:00 -070021 <instanceName>docker-minitest</instanceName>
22 <metadataNode>nc1</metadataNode>
23 <store>
24 <ncId>nc1</ncId>
25 <storeDirs>storage1</storeDirs>
26 </store>
27 <store>
28 <ncId>nc2</ncId>
29 <storeDirs>storage2</storeDirs>
30 </store>
31 <coredump>
32 <ncId>nc1</ncId>
33 <coredumpPath>/asterixdb/</coredumpPath>
34 <ncId>nc2</ncId>
35 <coredumpPath>/asterixdb/</coredumpPath>
36 </coredump>
37 <transactionLogDir>
38 <ncId>nc1</ncId>
39 <txnLogDirPath>/asterixdb/txnLogs1/</txnLogDirPath>
40 </transactionLogDir>
41 <transactionLogDir>
42 <ncId>nc2</ncId>
43 <txnLogDirPath>/asterixdb/txnLogs2/</txnLogDirPath>
44 </transactionLogDir>
Ian Maxon231c24d2015-09-29 15:43:25 -070045
Michael Blowb4c1fb02016-05-09 15:41:00 -070046 <property>
47 <name>nc.java.opts</name>
48 <value>-Xmx1536m</value>
49 <description>JVM parameters for each Node Contoller (NC)</description>
50 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -070051
Michael Blowb4c1fb02016-05-09 15:41:00 -070052 <property>
53 <name>cc.java.opts</name>
54 <value>-Xmx1024m</value>
55 <description>JVM parameters for each Cluster Contoller (CC)
56 </description>
57 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -070058
Michael Blowb4c1fb02016-05-09 15:41:00 -070059 <property>
60 <name>max.wait.active.cluster</name>
61 <value>60</value>
62 <description>Maximum wait (in seconds) for a cluster to be ACTIVE (all nodes are available)
63 before a submitted query/statement can be executed. (Default = 60 seconds)
64 </description>
65 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -070066
Michael Blowb4c1fb02016-05-09 15:41:00 -070067 <property>
68 <name>storage.buffercache.pagesize</name>
Taewoo Kimbddc8112016-08-11 16:33:46 -070069 <value>128KB</value>
Michael Blowb4c1fb02016-05-09 15:41:00 -070070 <description>The page size in bytes for pages in the buffer cache.
71 (Default = "131072" // 128KB)
72 </description>
73 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -070074
Michael Blowb4c1fb02016-05-09 15:41:00 -070075 <property>
76 <name>storage.buffercache.size</name>
Taewoo Kimbddc8112016-08-11 16:33:46 -070077 <value>512MB</value>
Michael Blowb4c1fb02016-05-09 15:41:00 -070078 <description>The size of memory allocated to the disk buffer cache.
79 The value should be a multiple of the buffer cache page size(Default
80 = "536870912" // 512MB)
81 </description>
82 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -070083
Michael Blowb4c1fb02016-05-09 15:41:00 -070084 <property>
85 <name>storage.buffercache.maxopenfiles</name>
86 <value>214748364</value>
87 <description>The maximum number of open files in the buffer cache.
88 (Default = "214748364")
89 </description>
90 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -070091
Michael Blowb4c1fb02016-05-09 15:41:00 -070092 <property>
93 <name>storage.memorycomponent.pagesize</name>
Taewoo Kimbddc8112016-08-11 16:33:46 -070094 <value>128KB</value>
Michael Blowb4c1fb02016-05-09 15:41:00 -070095 <description>The page size in bytes for pages allocated to memory
96 components. (Default = "131072" // 128KB)
97 </description>
98 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -070099
Michael Blowb4c1fb02016-05-09 15:41:00 -0700100 <property>
101 <name>storage.memorycomponent.numpages</name>
102 <value>256</value>
103 <description>The number of pages to allocate for a memory component.
Taewoo Kim709273a2016-10-13 13:55:08 -0700104 This budget is shared by all the memory components of the primary
105 index and all its secondary indexes across all I/O devices on a node.
106 Note: in-memory components usually has fill factor of 75% since
107 the pages are 75% full and the remaining 25% is un-utilized. (Default = 256)
Michael Blowb4c1fb02016-05-09 15:41:00 -0700108 </description>
109 </property>
110 <property>
111 <name>storage.metadata.memorycomponent.numpages</name>
112 <value>64</value>
113 <description>The number of pages to allocate for a memory component.
114 (Default = 64)
115 </description>
116 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -0700117
Michael Blowb4c1fb02016-05-09 15:41:00 -0700118 <property>
119 <name>storage.memorycomponent.numcomponents</name>
120 <value>2</value>
121 <description>The number of memory components to be used per lsm index.
122 (Default = 2)
123 </description>
124 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -0700125
Michael Blowb4c1fb02016-05-09 15:41:00 -0700126 <property>
127 <name>storage.memorycomponent.globalbudget</name>
Taewoo Kimbddc8112016-08-11 16:33:46 -0700128 <value>512MB</value>
Taewoo Kim709273a2016-10-13 13:55:08 -0700129 <description>The total size of memory in bytes that the sum of all open memory
130 components cannot exceed. Consider this as the buffer cache for all memory
131 components of all indexes in a node. When this budget is fully used, a victim
132 dataset will be chosen. The chosen dataset must be evicted and closed to make
133 a space for another dataset. (Default = 512MB)
Michael Blowb4c1fb02016-05-09 15:41:00 -0700134 </description>
135 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -0700136
Michael Blowb4c1fb02016-05-09 15:41:00 -0700137 <property>
138 <name>storage.lsm.bloomfilter.falsepositiverate</name>
139 <value>0.01</value>
140 <description>The maximum acceptable false positive rate for bloom
141 filters associated with LSM indexes. (Default = "0.01" // 1%)
142 </description>
143 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -0700144
Michael Blowb4c1fb02016-05-09 15:41:00 -0700145 <property>
146 <name>txn.log.buffer.numpages</name>
147 <value>8</value>
148 <description>The number of in-memory log buffer pages. (Default = "8")
149 </description>
150 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -0700151
Michael Blowb4c1fb02016-05-09 15:41:00 -0700152 <property>
153 <name>txn.log.buffer.pagesize</name>
Taewoo Kimbddc8112016-08-11 16:33:46 -0700154 <value>512KB</value>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700155 <description>The size of pages in the in-memory log buffer. (Default =
156 "524288" // 512KB)
157 </description>
158 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -0700159
Michael Blowb4c1fb02016-05-09 15:41:00 -0700160 <property>
161 <name>txn.log.partitionsize</name>
Taewoo Kimbddc8112016-08-11 16:33:46 -0700162 <value>2GB</value>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700163 <description>The maximum size of a log file partition allowed before
164 rotating the log to the next partition. (Default = "2147483648" //
165 2GB)
166 </description>
167 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -0700168
Michael Blowb4c1fb02016-05-09 15:41:00 -0700169 <property>
170 <name>txn.log.checkpoint.lsnthreshold</name>
171 <value>67108864</value>
172 <description>The size of the window that the maximum LSN is allowed to
173 be ahead of the checkpoint LSN by. (Default = ""67108864" // 64M)
174 </description>
175 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -0700176
Michael Blowb4c1fb02016-05-09 15:41:00 -0700177 <property>
178 <name>txn.log.checkpoint.pollfrequency</name>
179 <value>120</value>
180 <description>The time in seconds between that the checkpoint thread
181 waits between polls. (Default = "120" // 120s)
182 </description>
183 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -0700184
Michael Blowb4c1fb02016-05-09 15:41:00 -0700185 <property>
186 <name>txn.log.checkpoint.history</name>
187 <value>0</value>
188 <description>The number of old log partition files to keep before
189 discarding. (Default = "0")
190 </description>
191 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -0700192
Michael Blowb4c1fb02016-05-09 15:41:00 -0700193 <property>
194 <name>txn.lock.escalationthreshold</name>
195 <value>1000</value>
196 <description>The number of entity level locks that need to be acquired
197 before the locks are coalesced and escalated into a dataset level
198 lock. (Default = "1000")
199 </description>
200 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -0700201
Michael Blowb4c1fb02016-05-09 15:41:00 -0700202 <property>
203 <name>txn.lock.shrinktimer</name>
204 <value>5000</value>
205 <description>The time in milliseconds to wait before deallocating
206 unused lock manager memory. (Default = "5000" // 5s)
207 </description>
208 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -0700209
Michael Blowb4c1fb02016-05-09 15:41:00 -0700210 <property>
211 <name>txn.lock.timeout.waitthreshold</name>
212 <value>60000</value>
213 <description>The time in milliseconds to wait before labeling a
214 transaction which has been waiting for a lock timed-out. (Default =
215 "60000" // 60s)
216 </description>
217 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -0700218
Michael Blowb4c1fb02016-05-09 15:41:00 -0700219 <property>
220 <name>txn.lock.timeout.sweepthreshold</name>
221 <value>10000</value>
222 <description>The time in milliseconds the timeout thread waits between
223 sweeps to detect timed-out transactions. (Default = "10000" // 10s)
224 </description>
225 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -0700226
Michael Blowb4c1fb02016-05-09 15:41:00 -0700227 <property>
228 <name>compiler.sortmemory</name>
Taewoo Kimbddc8112016-08-11 16:33:46 -0700229 <value>32MB</value>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700230 <description>The amount of memory in bytes given to sort operations.
231 (Default = "33554432" // 32mb)
232 </description>
233 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -0700234
Michael Blowb4c1fb02016-05-09 15:41:00 -0700235 <property>
236 <name>compiler.joinmemory</name>
Taewoo Kimbddc8112016-08-11 16:33:46 -0700237 <value>32MB</value>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700238 <description>The amount of memory in bytes given to join operations.
239 (Default = "33554432" // 32mb)
240 </description>
241 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -0700242
Michael Blowb4c1fb02016-05-09 15:41:00 -0700243 <property>
244 <name>compiler.framesize</name>
Taewoo Kimbddc8112016-08-11 16:33:46 -0700245 <value>128KB</value>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700246 <description>The Hyracks frame size that the compiler configures per
247 job. (Default = "131072" // 128KB)
248 </description>
249 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -0700250
Michael Blowb4c1fb02016-05-09 15:41:00 -0700251 <property>
252 <name>web.port</name>
253 <value>19001</value>
254 <description>The port for the ASTERIX web interface. (Default = 19001)
255 </description>
256 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -0700257
Michael Blowb4c1fb02016-05-09 15:41:00 -0700258 <property>
259 <name>api.port</name>
260 <value>19002</value>
261 <description>The port for the ASTERIX API server. (Default = 19002)
262 </description>
263 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -0700264
Michael Blowb4c1fb02016-05-09 15:41:00 -0700265 <property>
266 <name>log.level</name>
267 <value>INFO</value>
268 <description>The minimum log level to be displayed. (Default = INFO)
269 </description>
270 </property>
Ian Maxon231c24d2015-09-29 15:43:25 -0700271</asterixConfiguration>