Mercurial > hg > blitz_condensed
comparison src/org/dancres/blitz/disk/db.properties @ 0:3dc0c5604566
Initial checkin of blitz 2.0 fcs - no installer yet.
author | Dan Creswell <dan.creswell@gmail.com> |
---|---|
date | Sat, 21 Mar 2009 11:00:06 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3dc0c5604566 |
---|---|
1 #################################################### | |
2 # Example Berkeley DB, Java Edition property file | |
3 # Each parameter is set to its default value | |
4 #################################################### | |
5 | |
6 # Use ConsoleHandler in logging system. | |
7 java.util.logging.ConsoleHandler.on=false | |
8 | |
9 # Use DbLogHandler in logging system. | |
10 #java.util.logging.DbLogHandler.on=true | |
11 | |
12 # Log file count for FileHandler. | |
13 # minimum = 1 | |
14 #java.util.logging.FileHandler.count=10 | |
15 | |
16 # Log file limit for FileHandler. | |
17 # minimum = 1000 | |
18 # maximum = 1000000000 | |
19 #java.util.logging.FileHandler.limit=10000000 | |
20 | |
21 # Use FileHandler in logging system. | |
22 #java.util.logging.FileHandler.on=false | |
23 | |
24 # Trace messages equal and above this level will be logged. | |
25 # Value should be one of the predefined java.util.logging.Level values | |
26 #java.util.logging.level=CONFIG | |
27 | |
28 # Cleaner specific detailed trace messages will be issued at this | |
29 # level. The Value should be one of the predefined | |
30 # java.util.logging.Level values | |
31 java.util.logging.level.cleaner=CONFIG | |
32 | |
33 # Evictor specific trace messages will be issued at this level. | |
34 # Value should be one of the predefined java.util.logging.Level values | |
35 java.util.logging.level.evictor=CONFIG | |
36 | |
37 # Lock manager specific trace messages will be issued at this level. | |
38 # Value should be one of the predefined java.util.logging.Level values | |
39 #java.util.logging.level.lockMgr=CONFIG | |
40 | |
41 # Recovery specific trace messages will be issued at this level. | |
42 # Value should be one of the predefined java.util.logging.Level values | |
43 #java.util.logging.level.recovery=CONFIG | |
44 | |
45 # Ask the checkpointer to run every time we write this many bytes | |
46 # to the log. If set, supercedes je.checkpoint.wakeupInterval. To | |
47 # use time based checkpointing, set this to 0. | |
48 # minimum = 0 | |
49 # maximum = 9223372036854775807 | |
50 je.checkpointer.bytesInterval=20000000 | |
51 | |
52 # The number of times to retry a checkpoint if it runs into a deadlock. | |
53 # minimum = 0 | |
54 # maximum = 2147483647 | |
55 #je.checkpointer.deadlockRetry=3 | |
56 | |
57 # The checkpointer wakeup interval in microseconds. By default, this | |
58 # is inactive and we wakeup the checkpointer as a function of the | |
59 # number of bytes written to the log. (je.checkpointer.bytesInterval) | |
60 # minimum = 1000000 | |
61 # maximum = 4294967296 | |
62 #je.checkpointer.wakeupInterval=0 | |
63 | |
64 # The cleaner checks disk utilization every time we write this many | |
65 # bytes to the log. If zero (and by default) it is set to the | |
66 # je.log.fileMax value divided by four. | |
67 # minimum = 0 | |
68 # maximum = 9223372036854775807 | |
69 #je.cleaner.bytesInterval=0 | |
70 | |
71 # The number of times to retry cleaning if a deadlock occurs. | |
72 # The default is set to 3. | |
73 # minimum = 0 | |
74 # maximum = 2147483647 | |
75 #je.cleaner.deadlockRetry=3 | |
76 | |
77 # If true, the cleaner deletes log files after successful cleaning. | |
78 # If false, the cleaner changes log file extensions to .DEL | |
79 # instead of deleting them. The default is set to true. | |
80 je.cleaner.expunge=true | |
81 | |
82 # The lock timeout for cleaner transactions in microseconds. | |
83 # The default is set to 0.5 seconds. | |
84 # minimum = 0 | |
85 # maximum = 4294967296 | |
86 #je.cleaner.lockTimeout=500000 | |
87 | |
88 # The percentage of the je.maxDiskSpace setting at which aggressive | |
89 # cleaning measures will be taken. | |
90 # ** This is an experimental setting and is unsupported. ** | |
91 # minimum = 1 | |
92 # maximum = 100 | |
93 #je.cleaner.maxDiskSpaceTolerance=5 | |
94 | |
95 # The minimum age of a file (number of files between it and the | |
96 # active file) to qualify it for cleaning under any conditions. | |
97 # The default is set to 2. | |
98 # minimum = 1 | |
99 # maximum = 1000 | |
100 #je.cleaner.minAge=2 | |
101 | |
102 # The cleaner will keep the disk space utilization percentage above | |
103 # this value. The default is set to 50 percent. | |
104 # minimum = 0 | |
105 # maximum = 90 | |
106 #je.cleaner.minUtilization=50 | |
107 | |
108 # The number of files to clean after retries is exceeded, | |
109 # before retrying the file again. The default is set to 5. | |
110 # minimum = 0 | |
111 # maximum = 1000 | |
112 #je.cleaner.restartRetries=5 | |
113 | |
114 # The number of times to retry a file when cleaning fails because | |
115 # the application is writing to the file. The default is set to 10. | |
116 # minimum = 0 | |
117 # maximum = 1000 | |
118 #je.cleaner.retries=10 | |
119 | |
120 # Number of times to retry a compression run if a deadlock occurs. | |
121 # minimum = 0 | |
122 # maximum = 2147483647 | |
123 je.compressor.deadlockRetry=3 | |
124 | |
125 # The lock timeout for compressor transactions in microseconds. | |
126 # minimum = 0 | |
127 # maximum = 4294967296 | |
128 je.compressor.lockTimeout=500000 | |
129 | |
130 # The compressor wakeup interval in microseconds. | |
131 # minimum = 1000000 | |
132 # maximum = 4294967296 | |
133 je.compressor.wakeupInterval=5000000 | |
134 | |
135 # Debugging support: check leaked locks and txns at env close. | |
136 je.env.checkLeaks=true | |
137 | |
138 # Debugging support: call Thread.yield() at strategic points. | |
139 #je.env.forcedYield=false | |
140 | |
141 # If true, create the environment read only. | |
142 #je.env.isReadOnly=false | |
143 | |
144 # If true, create the environment w/ transactions. | |
145 je.env.isTransactional=true | |
146 | |
147 # If true, an environment is created with recovery and the related | |
148 # daemons threads enabled. | |
149 je.env.recovery=true | |
150 | |
151 # If true, starts up the checkpointer at environment creation. | |
152 je.env.runCheckpointer=false | |
153 | |
154 # If true, starts up the cleaner at environment creation. | |
155 je.env.runCleaner=true | |
156 | |
157 # If true, starts up the evictor at environment creation. | |
158 je.env.runEvictor=true | |
159 | |
160 # If true, starts up the INCompressor at environment creation. | |
161 je.env.runINCompressor=true | |
162 | |
163 # The number of times to retry the evictor if it runs into a deadlock. | |
164 # minimum = 0 | |
165 # maximum = 2147483647 | |
166 je.evictor.deadlockRetry=3 | |
167 | |
168 # The evictor percentage of scanned nodes to evict per wakeup. | |
169 # minimum = 1 | |
170 # maximum = 100 | |
171 je.evictor.evictionBatchPercentage=10 | |
172 | |
173 # The evictor percentage of total nodes to scan per wakeup. | |
174 # minimum = 1 | |
175 # maximum = 100 | |
176 je.evictor.nodeScanPercentage=10 | |
177 | |
178 # When eviction happens, the evictor will push memory usage to this | |
179 # percentage of je.maxMemory. | |
180 | |
181 # minimum = 50 | |
182 # maximum = 100 | |
183 je.evictor.useMemoryFloor=80 | |
184 | |
185 # The lock timeout in microseconds. | |
186 # minimum = 1000 | |
187 # maximum = 4294967296 | |
188 #je.lock.timeout=500000 | |
189 je.lock.timeout=0 | |
190 | |
191 # maximum starting size of a JE log buffer | |
192 # minimum = 1024 | |
193 je.log.bufferSize=1048576 | |
194 | |
195 # If true, perform a checksum check when reading entries from log. | |
196 #je.log.checksumRead=true | |
197 je.log.checksumRead=false | |
198 | |
199 # The buffer size for faulting in objects from disk, in bytes. | |
200 # minimum = 32 | |
201 je.log.faultReadSize=2048 | |
202 | |
203 # The size of the file handle cache. | |
204 # minimum = 3 | |
205 je.log.fileCacheSize=100 | |
206 | |
207 # The maximum size of each individual JE log file, in bytes. | |
208 # minimum = 64 | |
209 # maximum = 4294967296 | |
210 je.log.fileMax=10000000 | |
211 | |
212 # Timeout limit for group file sync, in microseconds. | |
213 # minimum = 10000 | |
214 je.log.fsyncTimeout=500000 | |
215 | |
216 # The buffer size for log iterators, such as in recovery, in bytes. | |
217 # minimum = 128 | |
218 je.log.iteratorReadSize=1024 | |
219 | |
220 # If true, operates in an in-memory fashion without | |
221 # flushing the log to disk. The system operates until it runs | |
222 # out of memory, in which case a java.lang.OutOfMemory error is | |
223 # thrown. | |
224 je.log.memOnly=false | |
225 | |
226 # The number of JE log buffers | |
227 # minimum = 2 | |
228 je.log.numBuffers=5 | |
229 | |
230 # The total memory taken by log buffers, in bytes. If 0, use | |
231 # 7% of je.maxMemory | |
232 # minimum = 25 | |
233 je.log.totalBufferBytes=4620000 | |
234 | |
235 # The maximum disk space that may be used by the JE environment. | |
236 # ** This is an experimental setting and is unsupported. ** | |
237 # minimum = 1024 | |
238 #je.maxDiskSpace=9223372036854775807 | |
239 | |
240 # The Total memory used by JE, in bytes. The system attempts to stay | |
241 # within this budget and will evict database objects when it comes | |
242 # within a prescribed margin of the limit. The default is set to | |
243 # the approximate memory available to a JVM with -Xmx64M. | |
244 # minimum = 1024 | |
245 je.maxMemory=66000000 | |
246 | |
247 # The maximum number of entries in a internal btree node. | |
248 # minimum = 4 | |
249 # maximum = 32767 | |
250 je.nodeMaxEntries=128 | |
251 | |
252 # If less than this percentage of entries are changed on a BIN, | |
253 # logs a delta instead of a full version. | |
254 # minimum = 0 | |
255 # maximum = 75 | |
256 je.tree.binDelta=25 | |
257 | |
258 # After this many deltas, logs a full version. | |
259 # minimum = 0 | |
260 # maximum = 100 | |
261 je.tree.maxDelta=10 | |
262 | |
263 # The transaction timeout, in microseconds. A value of 0 means no limit. | |
264 # minimum = 0 | |
265 # maximum = 4294967296 | |
266 je.txn.timeout=0 | |
267 |