5 Tweets 1 reads Dec 24, 2022
/1 π“π’π¦πž-π’πžπ«π’πžπ¬ 𝐃𝐁 (TSDB) in 20 lines. What is π“π’π¦πž-π’πžπ«π’πžπ¬ 𝐃𝐁 (TSDB)? How is it 𝐝𝐒𝐟𝐟𝐞𝐫𝐞𝐧𝐭 from Relational DB?
/2 A couple of weeks ago, I had a great discussion with the CEO of TDengine @jhtao about time-series databases. This sparked my interest in learning more about this topic. The diagram below shows the 𝐒𝐧𝐭𝐞𝐫𝐧𝐚π₯ 𝐝𝐚𝐭𝐚 𝐦𝐨𝐝𝐞π₯ of a typical Time-Series DB.
/3 A TSDB is a database optimized for time series data.
πŸ”Ή From the users’ perspective, the data looks similar to the relational DB table. But behind the scenes, the weather table is stored in 4 TSMs (Time-Structured Merge Trees) in the format of [Measurement, Tag, Field Name].
/4 πŸ”Ή In this way, we can quickly aggregate and analyze data based on time and tags.
πŸ”Ή Typical usage:
- Trades and market data updates in a market
- Server metrics
- Application performance monitoring
- Network data
- Sensor data
- Events
- Clicks streams
/5 πŸ‘‰ Over to you: Have you used TSDB before, and what did you use it for? What’s your favorite TSDB?

Loading suggestions...