forked from mongodb/mongo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
46 lines (36 loc) · 926 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Fork from origin mongodb, I want to add some features which not official open source, or not official support.
First, In-Memory Storage Engine
official In-Memory storage engine manual
https://docs.mongodb.com/manual/core/inmemory/#storage-inmemory
below is the configure file example:
processManagement:
fork: false
pidFilePath: ./mongod.pid
net:
port: 27017
maxIncomingConnections: 200
unixDomainSocket:
pathPrefix: ./
systemLog:
destination: file
logRotate: reopen
path: ./mongod.log
logAppend: true
verbosity: 5
replication:
replSetName: mgset-name
storage:
dbPath: ./data
engine: inMemory
inMemory:
engineConfig:
inMemorySizeGB: 1
mmapv1:
preallocDataFiles: true
nsSize: 16
wiredTiger:
engineConfig:
cacheSizeGB: 10
security:
authorization: disabled
keyFile: ./keyfile