BTrDB
btrdb.readthedocs.io
- Free plan
- Linux
- API
- Self-hosted
What BTrDB is
BTrDB is an open-source, self-hosted time-series database for high-density univariate data. It partitions data by time, clusters deployments and records stream changes as new versions, allowing queries to target a chosen version. 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. StatPoint 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 covers Dash and Plotly visualisation and Ray worker serialization. TLS access uses port 4411 with API-key authentication. The project describes smart-grid aggregation at city or country scale, while supporting other dense streaming telemetry uses. The server repository identifies an MIT license.
Who it suits
BTrDB suits teams self-hosting dense telemetry databases, especially high-precision sensor or large smart-grid data, with Python-based workflows.
Good to know, and what to watch
- Open-source MIT-licensed server
- Nanosecond timestamp queries
- Versioned streams support pinned queries
- Statistical summaries include five measures
- Supports clustered horizontal scaling
- Arrow tabular methods require commercial access
- Data requests are fully materialized
- No SQL support is listed
- Self-hosting requires deployment responsibility
Plans
Every plan and priceBTrDB
Open source
Getting started
- Open the BTrDB documentation website
- Install the btrdb-python package with pip
- Use Anaconda installation if preferred
- Run or connect to a self-hosted BTrDB deployment
- Insert data through Stream.insert, PyArrow, or pandas
- Configure TLS on port 4411 for API-key authentication
Limits to check
The free BTrDB plan is listed as free and has no stated plan or usage limits. Arrow-based tabular methods are documented for commercial customers using Arrow-enabled servers.
The verdict
BTrDB focuses on versioned, high-density time-series workloads with Python and clustered deployment options. Its documented integrations and statistical queries fit telemetry pipelines, while some tabular features are commercially restricted.
Questions people ask
Is BTrDB free?
Yes. The BTrDB plan is listed as free, and the project is open source under the MIT license.
Where does BTrDB run?
BTrDB is deployed as self-hosted software on Linux, with API access.
Can BTrDB use SQL?
No. SQL support is listed as unavailable.
What data formats can it produce?
StreamSets can be converted to pandas DataFrames and CSV files. Arrow-based tabular methods are also documented for commercial customers with Arrow-enabled servers.
How does authentication work?
The documentation describes TLS access on port 4411 and API-key authentication, which requires the TLS port.
What integrations are documented?
Examples cover Dash and Plotly visualizations, plus Ray workers for parallel processing.
What the maker publishes
- Aggregates
- StatPoint queries can return min, max, mean, count, and standard deviation, with query time proportional to the number of results. source
- Client library
- The documentation provides Python access to BTrDB through the btrdb package. source
- Commercial feature limit
- Arrow-based tabular data methods are documented as available to commercial customers using Arrow-enabled servers. source
- Commercial feature limit
- The documentation says native tabular data formats are enabled for commercial customers. source
- Compression
- The documentation reports 2.93x compression for high-precision nanosecond streams. source
- Data formats
- StreamSets can be filtered and converted to formats including pandas DataFrames and CSV files. source
- Data integrations
- The documentation describes StreamSet conversions to pandas DataFrames and CSV, and Arrow-enabled methods for tabular data. source
- Data request behavior
- The docs state that data requests are fully materialized and that generator-based processing is planned for a future release. source
- Install
- The maker recommends installing btrdb-python with pip and also documents installation with Anaconda. source
- Installation
- The maker recommends installing btrdb-python with pip and offers data-science and all-optional-dependency extras. source
- Integrations
- The Python documentation includes examples using Dash and Plotly to plot data queried from BTrDB. source
- License
- The BTrDB server repository identifies its license as MIT. source
- Nanosecond timestamps
- BTrDB’s example client uses nanosecond timestamps to query time-series values. source
- Parallel processing
- The client documents a serializer for passing BTrDB connections, streams, and StreamSets to Ray workers. source
- 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. source
- Product
- BTrDB is a time-partitioned, version-annotated, clustered time-series database for high-density univariate data. source
- Product
- BTrDB is a time-partitioned, version-annotated clustered time-series database for high-density univariate data. source
- Python client
- The documented btrdb-python library connects to a BTrDB server and supports stream lookup and time-series retrieval. source
- Query summaries
- Statistical points can provide min, max, mean, count, and standard deviation without reading every underlying point. source
- Security
- The documentation describes TLS access on port 4411 and API-key authentication, which requires the TLS port. source
- Self-hosting and audience
- The project describes BTrDB as deployable software and says Smartgrid.store targets very large city- or country-scale aggregation from smart-grid devices, while noting BTrDB can support other use cases. source
- Stream collections
- Streams have unique UUIDs and can be grouped into collections with tags and annotations for metadata. source
- Support
- The documentation invites users to submit pull requests or open GitHub issues for additions or corrections. source
- Support
- The documentation invites users to submit pull requests or open a GitHub issue for additions or corrections. source
Checked against the maker's pages on 11 Oct 2026.