BTrDB vs UnitDB
BTrDB
btrdb.readthedocs.ioUnitDB
github.comSide by side
| Figure | BTrDB | UnitDB |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Linux | Yes | Yes |
| API | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 0 |
| Spec score · Time-Series Databases | 8.8 (#3) | 6.9 (#34) |
| Integrations | The Python documentation includes examples using Dash and Plotly to plot data queried from BTrDB. | The maker lists supported Go and Flutter/Dart client libraries for connecting to a UnitDB server. |
| License | The BTrDB server repository identifies its license as MIT. | The repository states that UnitDB is licensed under Apache-2.0. |
| Performance | The documentation reports 53 million inserted values per second and 119 million queried values per second on a measured four-node cluster of large EC2 nodes. | The project says it is optimized for fast lookups and writes and supports writing billions of records per hour. |
| Product | BTrDB is a time-partitioned, version-annotated clustered time-series database for high-density univariate data. | UnitDB is an open-source time-series database and publish-subscribe messaging server aimed at IoT and real-time connected devices. |
Plans
In their own words
BTrDB
BTrDB is a free, MIT-licensed, self-hosted time-series database for dense, high-precision univariate data. It partitions data by time, supports clustered deployments, and records stream changes as new versions that queries can target. Streams have unique UUIDs and can be grouped into collections with tags and annotations. The Python btrdb package supports nanosecond-timestamp queries and insertion through Stream.insert, PyArrow tables, or pandas DataFrames. Statistical queries can return minimum, maximum, mean, count, and standard deviation without reading every underlying point. StreamSets can be filtered and converted to pandas DataFrames or CSV files. Documentation shows Dash and Plotly visualization, Ray-worker serialization, TLS on port 4411, and API-key authentication requiring that TLS port. Arrow-based tabular methods are documented for commercial customers with Arrow-enabled servers. BTrDB reports measured cluster throughput and compression figures, and describes smart-grid aggregation at city or country scale as one target use case.