tonbo-io / tonbo

A portable embedded database using Arrow.
https://tonbo.io
Apache License 2.0
606 stars 42 forks source link

feat: support DataType `bytes::Bytes` #147

Closed KKould closed 6 days ago

KKould commented 1 week ago

ref: https://github.com/tonbo-io/tonbo/issues/88

github-actions[bot] commented 1 week ago

Read:

+--------------------------------------------+----------+---------+
|                                            | tonbo    | rocksdb |
+=================================================================+
| random range reads                         | 124128ms | 36588ms |
|--------------------------------------------+----------+---------|
| random range reads                         | 123581ms | 36584ms |
|--------------------------------------------+----------+---------|
| random range projection reads              | 51253ms  | 37135ms |
|--------------------------------------------+----------+---------|
| random range projection reads              | 52115ms  | 37145ms |
|--------------------------------------------+----------+---------|
| random range projection reads (4 threads)  | 39592ms  | 37341ms |
|--------------------------------------------+----------+---------|
| random range projection reads (8 threads)  | 36160ms  | 37190ms |
|--------------------------------------------+----------+---------|
| random range projection reads (16 threads) | 35622ms  | 35564ms |
|--------------------------------------------+----------+---------|
| random range projection reads (32 threads) | 33001ms  | 35639ms |
+--------------------------------------------+----------+---------+
github-actions[bot] commented 1 week ago

Write:

+-------------------------------+--------+---------+
|                               | tonbo  | rocksdb |
+==================================================+
| bulk load                     | 6366ms | 9607ms  |
|-------------------------------+--------+---------|
| individual writes             | 8344ms | 10814ms |
|-------------------------------+--------+---------|
| individual writes (4 threads) | 9407ms | 10885ms |
|-------------------------------+--------+---------|
| individual writes (8 threads) | 8504ms | 10869ms |
|-------------------------------+--------+---------|
| batch writes                  | 8574ms | 7374ms  |
|-------------------------------+--------+---------|
| batch writes (4 threads)      | 7733ms | 7173ms  |
|-------------------------------+--------+---------|
| batch writes (8 threads)      | 8626ms | 7157ms  |
|-------------------------------+--------+---------|
| removals                      | 3157ms | 3884ms  |
+-------------------------------+--------+---------+
github-actions[bot] commented 1 week ago

Read:

+--------------------------------------------+----------+---------+
|                                            | tonbo    | rocksdb |
+=================================================================+
| random range reads                         | 129767ms | 37299ms |
|--------------------------------------------+----------+---------|
| random range reads                         | 127355ms | 37060ms |
|--------------------------------------------+----------+---------|
| random range projection reads              | 52310ms  | 38288ms |
|--------------------------------------------+----------+---------|
| random range projection reads              | 52287ms  | 38485ms |
|--------------------------------------------+----------+---------|
| random range projection reads (4 threads)  | 39724ms  | 38027ms |
|--------------------------------------------+----------+---------|
| random range projection reads (8 threads)  | 36953ms  | 38050ms |
|--------------------------------------------+----------+---------|
| random range projection reads (16 threads) | 35583ms  | 36740ms |
|--------------------------------------------+----------+---------|
| random range projection reads (32 threads) | 33253ms  | 36579ms |
+--------------------------------------------+----------+---------+
github-actions[bot] commented 1 week ago

Write:

+-------------------------------+--------+---------+
|                               | tonbo  | rocksdb |
+==================================================+
| bulk load                     | 6436ms | 9581ms  |
|-------------------------------+--------+---------|
| individual writes             | 8335ms | 10633ms |
|-------------------------------+--------+---------|
| individual writes (4 threads) | 9228ms | 10668ms |
|-------------------------------+--------+---------|
| individual writes (8 threads) | 8509ms | 10736ms |
|-------------------------------+--------+---------|
| batch writes                  | 8628ms | 7199ms  |
|-------------------------------+--------+---------|
| batch writes (4 threads)      | 7747ms | 7177ms  |
|-------------------------------+--------+---------|
| batch writes (8 threads)      | 8683ms | 7227ms  |
|-------------------------------+--------+---------|
| removals                      | 3152ms | 3931ms  |
+-------------------------------+--------+---------+