You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Transaction mode used in TinkerPop Blueprints implementation. 0 = Automatic (default), 1 = Manual
Index
Parameter
Def.32bit
Def.64bit
Def.Server 32bit
Def.Server 64bit
Allowed input
Description
Since
index.auto.rebuildAfterNotSoftClose
true
true
true
true
true or false
Auto rebuild all automatic indexes after upon database open when wasn't closed properly
1.3.0
MVRB Tree (index and dictionary)
Parameter
Def.32bit
Def.64bit
Def.Server 32bit
Def.Server 64bit
Allowed input
Description
Since
mvrbtree.lazyUpdates
20000
20000
1
1
-1=Auto, 0=always lazy until explicit lazySave() is called by application, 1=No lazy, commit at each change. >1=Commit at every X changes
Configure the MVRB Trees (indexes and dictionaries) as buffered or not
mvrbtree.nodePageSize
128
128
128
128
63-65535
Page size of each single node. 1,024 means that 1,024 entries can be stored inside a node
mvrbtree.loadFactor
0.7f
0.7f
0.7f
0.7f
0.1-0.9
HashMap load factor
mvrbtree.optimizeThreshold
100000
100000
100000
100000
10-N
Auto optimize the MVRB Tree every X operations as get, put and remove. -1=Auto (default)
mvrbtree.entryPoints
16
16
16
16
1-200
Number of entry points to start searching entries
mvrbtree.optimizeEntryPointsFactor
1.0f
1.0f
1.0f
1.0f
0.1-N
Multiplicand factor to apply to entry-points list (parameter mvrbtree.entrypoints) to determine if needs of optimization
mvrbtree.ridBinaryThreshold
8
8
8
8
-1 - N
Valid for set of rids. It's the threshold as number of entries to use the binary streaming instead of classic string streaming. -1 means never use binary streaming
mvrbtree.ridNodePageSize
16
16
16
16
4 - N
Page size of each treeset node. 16 means that 16 entries can be stored inside each node
mvrbtree.ridNodeSaveMemory
False
False
False
False
true or false
Save memory usage by avoid keeping RIDs in memory but creating them at every access
Lazy Collections
Parameter
Def.32bit
Def.64bit
Def.Server 32bit
Def.Server 64bit
Allowed input
Description
Since
lazyset.workOnStream
true
true
false
false
true or false
Work directly on streamed buffer to reduce memory footprint and improve performance
File (I/O)
Parameter
Def. 32bit
Def. 64bit
Def. Server 32bit
Def. Server 64bit
Allowed input
Description
Since
file.lock
false
false
false
false
true or false
Locks the used files so other process can't modify them
file.defrag.strategy
0
0
0
0
0,1
Strategy to recycle free space. 0=recycles the first hole with enough size (default): fast, 1=recycles the best hole: better usage of space but slower
file.defrag.holeMaxDistance
32768 (32Kb)
32768 (32Kb)
32768 (32Kb)
32768 (32Kb)
8K-N
Max distance in bytes between holes to defragment them. Set it to -1 to use dynamic size. Pay attention that if the database is huge, then moving blocks to defragment could be expensive
file.mmap.useOldManager
false
false
false
false
true or false
Manager that will be used to handle mmap files. true = USE OLD MANAGER, false = USE NEW MANAGER
file.mmap.lockMemory
true
true
true
true
true or false
When using new map manager this parameter specify prevent memory swap or not. true = LOCK MEMORY, false = NOT LOCK MEMORY(If you want this parameter take effect you need to have Orient Native OS jar in class path)
file.mmap.strategy
0
0
0
0
0-4
Strategy to use with memory mapped files. 0 = USE MMAP ALWAYS, 1 = USE MMAP ON WRITES OR ON READ JUST WHEN THE BLOCK POOL IS FREE, 2 = USE MMAP ON WRITES OR ON READ JUST WHEN THE BLOCK IS ALREADY AVAILABLE, 3 = USE MMAP ONLY IF BLOCK IS ALREADY AVAILABLE, 4=NEVER USE MMAP
file.mmap.blockSize
1048576 (1Mb)
1048576 (1Mb)
1048576 (1Mb)
1048576 (1Mb)
10k-N
Size of the memory mapped block(this property takes effect only if file.mmap.useOldManager is set up to true)
file.mmap.bufferSize
8192 (8Kb)
8192 (8Kb)
8192 (8Kb)
8192 (8Kb)
1K-N
Size of the buffer for direct access to the file through the channel(this property takes effect only if file.mmap.useOldManager is set up to true)
file.mmap.maxMemory
134Mb
(maxOsMem - maxProcessHeapMem) / 2
like Def. 32 bit
like Def. 64 bit
100000-the maximum allowed by OS
Max memory allocable by memory mapping manager. Note that on 32-bit OS the limit is to 2Gb but can change to OS by OS(this property takes effect only if file.mmap.useOldManager is set up to true)
file.mmap.overlapStrategy
2
2
2
2
0-2
Strategy when a request overlap in-memory buffers: 0 = Use the channel access, 1 = force the in memory buffer and use the channel access, 2 = always create an overlapped in-memory buffer (default) (this property takes effect only if file.mmap.useOldManager is set up to true)
file.mmap.forceDelay
500 (0.5sec)
500 (0.5sec)
500 (0.5sec)
500 (0.5sec)
100-5000
Delay time in ms to wait for another force flush of the memory mapped block to the disk
file.mmap.forceRetry
20
20
20
20
0-N
Number of times the memory mapped block will try to flush to the disk
JNA
Parameter
Def.32bit
Def.64bit
Def.Server 32bit
Def.Server 64bit
Allowed input
Description
Since
jna.disable.system.library
true
true
true
true
true or false
This property disable to using JNA installed in your system. And use JNA bundled with database.
Networking (I/O)
Parameter
Def.32bit
Def.64bit
Def.Server 32bit
Def.Server 64bit
Allowed input
Description
Since
network.socketBufferSize
32768
32768
32768
32768
8K-N
TCP/IP Socket buffer size
network.lockTimeout
15000 (15secs)
15000 (15secs)
15000 (15secs)
15000 (15secs)
0-N
Timeout in ms to acquire a lock against a channel, 0=no timeout
network.socketTimeout
10000 (10secs)
10000 (10secs)
10000 (10secs)
10000 (10secs)
0-N
TCP/IP Socket timeout in ms, 0=no timeout
network.retry
5
5
5
5
0-N
Number of times the client connection retries to connect to the server in case of failure
network.retryDelay
500 (0.5sec)
500 (0.5sec)
500 (0.5sec)
500 (0.5sec)
1-N
Number of ms the client wait to reconnect to the server in case of failure
network.binary.maxLength
100000 (100Kb)
100000 (100Kb)
100000 (100Kb)
100000 (100Kb)
1K-N
TCP/IP max content length in bytes of BINARY requests
network.binary.readResponse.maxTime
30
30
30
30
0-N
Maximum time (in seconds) to wait until response will be read. Otherwise response will be dropped from chanel
1.0rc9
network.binary.debug
false
false
false
false
true or false
Debug mode: print all the incoming data on binary channel
network.http.maxLength
100000 (100Kb)
100000 (100Kb)
100000 (100Kb)
100000 (100Kb)
1000-N
TCP/IP max content length in bytes of HTTP requests
network.http.charset
utf-8
utf-8
utf-8
utf-8
Supported HTTP charsets
Http response charset
network.http.sessionExpireTimeout
300 (5min)
300 (5min)
300 (5min)
300 (5min)
0-N
Timeout in seconds before considering an HTTP session expired
Dumps the profiler values at regular intervals. Time is expressed in seconds
1.0rc8
profiler.autoDump.reset
true
true
true
true
true or false
Resets the profiler at every auto dump
1.0rc8
profiler.config
null
null
null
null
String with 3 values separated by comma with the format: <seconds-for-snapshot>,<archive-snapshot-size>,<summary-size>
Configure the profiler
1.2.0
Log
Parameter
Def.32bit
Def.64bit
Def.Server 32bit
Def.Server 64bit
Allowed input
Description
Since
log.console.level
info
info
info
info
fine, info, warn, error
Console's logging level
log.file.level
fine
fine
fine
fine
fine, info, warn, error
File's logging level
Client
Parameter
Def.32bit
Def.64bit
Def.Server 32bit
Def.Server 64bit
Allowed input
Description
Since
client.channel.minPool
1
1
1
1
1-N
Minimum size of the channel pool
client.channel.maxPool
5
5
5
5
1-N
maximum size of the channel pool
Server
Parameter
Def.32bit
Def.64bit
Def.Server 32bit
Def.Server 64bit
Allowed input
Description
Since
server.channel.cleanDelay
5000
5000
5000
5000
0-N
Time in ms of delay to check pending closed connections
1.0
server.log.dumpClientExceptionLevel
FINE
FINE
FINE
FINE
OFF, FINE, CONFIG, INFO, WARNING, SEVERE
Logs client exceptions. Use any level supported by Java java.util.logging.Level class
1.0
server.log.dumpClientExceptionFullStackTrace
false
false
false
false
true or false
Dumps the full stack trace of the exception to sent to the client
1.0
server.cache.staticFile
false
false
false
false
true or false
Cache static resources after loaded. It was server.cache.file.static before 1.0
Distributed cluster
Parameter
Def.32bit
Def.64bit
Def.Server 32bit
Def.Server 64bit
Allowed input
Description
Since
distributed.async.timeDelay
0
0
0
0
0-N
Delay time (in ms) of synchronization with slave nodes. 0 means early synchronization
distributed.sync.maxRecordsBuffer
100
100
100
100
0-10000
Maximum number of records to buffer before to send to the slave nodes
NOTE: On 64-bit systems you have not the limitation of 32-bit systems with memory.
Logging
Logging is configured in a separate file, look at Logging for more information.
Storage configuration
OrientDB allows modifications to the storage configuration. Even though this will be supported with high level commands, for now it's pretty "internal" using Java API.
To get the storage configuration for the current database:
To change the default settings for new clusters get the file template object. In this example we change the initial file size from the default 500Kb down to 10Kb: