|
1 | 1 | # Comparisons.PostgreSQLVSDoublets |
2 | 2 |
|
3 | | -The comparison between PostgreSQL and Doublets |
| 3 | +The comparison between PostgreSQL and LinksPlatform's Doublets (links) on basic database operations with objects (create table, read table, delete table, update table). |
| 4 | +All benchmarks ran with 3000 links in background and 1000 in active use (i.e. insert, delete, update). |
| 5 | + |
| 6 | +## Operations |
| 7 | +- **Update** – basic update operation |
| 8 | +- **Each All** – take all links matching `[*, *, *]` constraint |
| 9 | +- **Each Incoming** – take all links matching `[*, *, target]` constraint |
| 10 | +- **Each Outgoing** – take all links matching `[*, source, *]` constraint |
| 11 | +- **Each Concrete** – take all links matching `[*, source, target]` constraint |
| 12 | +- **Each Identity** – take all links matching `[id, *, *]` constraint |
| 13 | +- **Delete** – basic delete operation |
| 14 | +- **Create** – insert point (link with id = source = target) |
| 15 | + |
| 16 | +## Results |
| 17 | +The results below represent the amount of time (ns) the operation takes per iteration. |
| 18 | +- First picture shows time in a pixel scale. |
| 19 | +- Second picture shows time in a logarithmic scale. |
| 20 | + |
| 21 | +### Rust |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | +## Conclusion |
| 26 | +As we can see in this comparison, Doublets are blazingly faster than PostgreSQL in basic database operations. |
0 commit comments