Ian Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 1 | <!-- |
| 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 Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 21 | <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 Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 45 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 46 | <property> |
| 47 | <name>nc.java.opts</name> |
| 48 | <value>-Xmx1536m</value> |
| 49 | <description>JVM parameters for each Node Contoller (NC)</description> |
| 50 | </property> |
Ian Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 51 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 52 | <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 Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 58 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 59 | <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 Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 66 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 67 | <property> |
| 68 | <name>storage.buffercache.pagesize</name> |
Taewoo Kim | bddc811 | 2016-08-11 16:33:46 -0700 | [diff] [blame] | 69 | <value>128KB</value> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 70 | <description>The page size in bytes for pages in the buffer cache. |
| 71 | (Default = "131072" // 128KB) |
| 72 | </description> |
| 73 | </property> |
Ian Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 74 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 75 | <property> |
| 76 | <name>storage.buffercache.size</name> |
Taewoo Kim | bddc811 | 2016-08-11 16:33:46 -0700 | [diff] [blame] | 77 | <value>512MB</value> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 78 | <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 Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 83 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 84 | <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 Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 91 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 92 | <property> |
| 93 | <name>storage.memorycomponent.pagesize</name> |
Taewoo Kim | bddc811 | 2016-08-11 16:33:46 -0700 | [diff] [blame] | 94 | <value>128KB</value> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 95 | <description>The page size in bytes for pages allocated to memory |
| 96 | components. (Default = "131072" // 128KB) |
| 97 | </description> |
| 98 | </property> |
Ian Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 99 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 100 | <property> |
| 101 | <name>storage.memorycomponent.numpages</name> |
| 102 | <value>256</value> |
| 103 | <description>The number of pages to allocate for a memory component. |
Taewoo Kim | 709273a | 2016-10-13 13:55:08 -0700 | [diff] [blame] | 104 | 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 Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 108 | </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 Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 117 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 118 | <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 Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 125 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 126 | <property> |
| 127 | <name>storage.memorycomponent.globalbudget</name> |
Taewoo Kim | bddc811 | 2016-08-11 16:33:46 -0700 | [diff] [blame] | 128 | <value>512MB</value> |
Taewoo Kim | 709273a | 2016-10-13 13:55:08 -0700 | [diff] [blame] | 129 | <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 Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 134 | </description> |
| 135 | </property> |
Ian Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 136 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 137 | <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 Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 144 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 145 | <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 Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 151 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 152 | <property> |
| 153 | <name>txn.log.buffer.pagesize</name> |
Taewoo Kim | bddc811 | 2016-08-11 16:33:46 -0700 | [diff] [blame] | 154 | <value>512KB</value> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 155 | <description>The size of pages in the in-memory log buffer. (Default = |
| 156 | "524288" // 512KB) |
| 157 | </description> |
| 158 | </property> |
Ian Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 159 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 160 | <property> |
| 161 | <name>txn.log.partitionsize</name> |
Taewoo Kim | bddc811 | 2016-08-11 16:33:46 -0700 | [diff] [blame] | 162 | <value>2GB</value> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 163 | <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 Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 168 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 169 | <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 Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 176 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 177 | <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 Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 184 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 185 | <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 Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 192 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 193 | <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 Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 201 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 202 | <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 Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 209 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 210 | <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 Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 218 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 219 | <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 Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 226 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 227 | <property> |
| 228 | <name>compiler.sortmemory</name> |
Taewoo Kim | bddc811 | 2016-08-11 16:33:46 -0700 | [diff] [blame] | 229 | <value>32MB</value> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 230 | <description>The amount of memory in bytes given to sort operations. |
| 231 | (Default = "33554432" // 32mb) |
| 232 | </description> |
| 233 | </property> |
Ian Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 234 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 235 | <property> |
| 236 | <name>compiler.joinmemory</name> |
Taewoo Kim | bddc811 | 2016-08-11 16:33:46 -0700 | [diff] [blame] | 237 | <value>32MB</value> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 238 | <description>The amount of memory in bytes given to join operations. |
| 239 | (Default = "33554432" // 32mb) |
| 240 | </description> |
| 241 | </property> |
Ian Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 242 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 243 | <property> |
| 244 | <name>compiler.framesize</name> |
Taewoo Kim | bddc811 | 2016-08-11 16:33:46 -0700 | [diff] [blame] | 245 | <value>128KB</value> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 246 | <description>The Hyracks frame size that the compiler configures per |
| 247 | job. (Default = "131072" // 128KB) |
| 248 | </description> |
| 249 | </property> |
Ian Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 250 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 251 | <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 Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 257 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 258 | <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 Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 264 | |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 265 | <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 Maxon | 231c24d | 2015-09-29 15:43:25 -0700 | [diff] [blame] | 271 | </asterixConfiguration> |