NanoTDB – Golang Append-Only Time Series DB

github.com

56 points by aymanhs72 2 days ago


eska - an hour ago

The i suffix forces integer interpretation for values that look like floats.

Which integers look like floats?

aymanhs72 - 18 hours ago

Sorry being late. Rollups were only pushed recently, as I thought about them for a long time until it finally clicked. This is main advantage over straight log files. Another things is that it is designed to be extremely efficient with SD cards. It uses WALS for keeping things safe, which is optional, and it writes very compressible data to the main database. My tests averaged 2-3 bytes per point, and the more data you have the more compression you get. So you can store many days of 10s data at less than few MBs.

amluto - a day ago

Wow, Home Assistant should try something along these lines. Home Assistant’s current handling of time series data is comically poor.

Another decent option might be Clickhouse. Sadly, as far as I know, DuckDB has no real understanding of sorted or ordered data, so it might be challenging to avoid absurd amounts of read amplification.

xnx - a day ago

How does this differ from a log file?

PunchyHamster - a day ago

the history of every append only database:

* we will make it append only, the type of data makes sense for it and it will simplify the design

* whoops, devs fucked something up and added a bunch of nonsense that have to be removed, let's figure out how to make at least occasional deletes work

hpcgroup - a day ago

[flagged]

- 2 days ago
[deleted]