youbbs avatar

性能比leveldb好的数据库:Sophia

🕒 by youbbs

c client 下 3 million 和 10 million 数据的性能比较,结果完爆leveldb

plaintext: 数据的性能比较
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
Number of operations: 3 million and 10 million
Key size: 16 bytes
Value size: 100 bytes
Batch size: 512 key-value pairs

RANDOM (3M)

Write
leveldb 78957 op/sec
sophia 258042 op/sec
Read
leveldb 167476 op/sec
sophia 438084 op/sec
Iteration
leveldb 1.7M op/sec
sophia 2.5M op/sec

RANDOM (10M)

Write
leveldb 43890 op/sec
sophia 228555 op/sec
Read
leveldb 167695 op/sec
sophia 467180 op/sec
Iteration
leveldb 1.7 op/sec
sophia 2.3M op/sec

RANDOM (3M, cached)

Read
leveldb 296941 op/sec
sophia 707547 op/sec
Iteration
leveldb 3.8M op/sec
sophia 22M op/sec

RANDOM (10M, cached)

Read
leveldb 146621 op/sec
sophia 571657 op/sec
Iteration
leveldb 2.4M op/sec
sophia 21.6M op/sec

BATCH

Random
leveldb 100006 op/sec
sophia 630119 op/sec

各语言的接口

SOURCE

TOOLS

💘 相关文章

写一条评论

Based on Golang + fastHTTP + sdb | go1.17.1 Processed in 1ms