-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path2-1-toplinconf.json.txt
122 lines (118 loc) · 3.2 KB
/
2-1-toplinconf.json.txt
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"http": {
"document_root": "/home/topling/db",
"listening_ports": "8081"
},
"setenv": {
"DictZipBlobStore_zipThreads": 8,
"StrSimpleEnvNameNotOverwrite": "StringValue",
"IntSimpleEnvNameNotOverwrite": 16384,
"OverwriteThisEnv": { "overwrite": true,
"value": "overwrite is default to false, can be manually set to true"
}
},
"permissions": {
"web_compact": true
},
"Cache": {
"lru-cache-4G": {
"class": "LRUCache",
"params": {
"capacity": "4G", "num_shard_bits": -1,
"strict_capacity_limit": false, "high_pri_pool_ratio": 0.5,
"use_adaptive_mutex": false,
"metadata_charge_policy": "kFullChargeCacheMetadata"
}
}
},
"WriteBufferManager" : {
"wbm": {
"class": "Default",
"params": {
"//comment": "share mem budget with cache object ${lru-cache-4G}",
"buffer_size": "2048M", "cache": "${lru-cache-4G}"
}
}
},
"Statistics": { "stat": "default" },
"TableFactory": {
"block_based": {
"class": "BlockBasedTable",
"params": {
}
},
"cuckoo": {
"class": "CuckooTable",
"params": {
}
},
"plain": {
"class": "PlainTable",
"params": {
}
}
},
"CFOptions": {
"default": {
"max_write_buffer_number": 4, "write_buffer_size": "128M",
"target_file_size_base": "16M", "target_file_size_multiplier": 2,
"table_factory": "block_based",
"compression_per_level": [
"kNoCompression", "kNoCompression", "kNoCompression",
"kZlibCompression", "kZlibCompression",
"kZlibCompression", "kZlibCompression"
],
"ttl": 0
}
},
"SliceTransform": {
"default": {
"class" : "FixedPrefixTransform",
"params" :{
"prefix_len" : 10
}
}
},
"databases": {
"db1": {
"method": "DB::Open",
"params": {
"options": {
"write_buffer_manager": "${wbm}",
"create_if_missing": true,
"table_factory": "block_based"
}
}
},
"db_mcf": {
"method": "DB::Open",
"params": {
"db_options": {
"create_if_missing": true,
"create_missing_column_families": true,
"write_buffer_manager": "${wbm}",
"allow_mmap_reads": true
},
"column_families": {
"default": "$default",
"custom_cf" : {
"max_write_buffer_number": 4,
"target_file_size_base": "16M",
"target_file_size_multiplier": 2,
"table_factory": "block_based",
"ttl": 0
},
"cuckoo_cf" : {
"table_factory": "cuckoo"
},
"plain_cf" : {
"table_factory": "plain",
"prefix_extractor" : "$default"
}
},
"path": "/home/topling/db/db_mcf"
}
}
},
"open": "db_mcf"
}