Hacker News new | ask | show | jobs
by vtesucks 2758 days ago
Would you like to TLDR TiDB? And a quick comparison with other time series dbs?
2 comments

TiDB is an open source NewSQL database that speaks the MySQL protocol. You can scale it horizontally by adding nodes.

It is a relational DB (not time series). To describe a couple of differentiators from its peers:

- It aims to optimize both OLTP and OLAP workloads (aka HTAP)

- It uses a component-based architecture (the TiDB server is stateless and speaks the MySQL protocol. TiKV is the distributed storage layer. Thus, you can scale either independently. You can also connect to tikv directly from Spark).

I don't believe TiDB is a time series DB, it's an OLTP and OLAP database and not indexed by time by default unless that's part of the table schema. I would also assume that TiKV by default is using size/leveled based compaction as it uses RocksDB, not time window compaction.