I have read some concept about time-series database and some answers about the differences between these 2 but I can't still get my head around these differences.
How data is written and stored to disk that make the differences between time-series database and rdbms?
What are the best use cases for time-series database over rdbms and VICE VERSA?. I mean the cases that make the time-series database provide outstanding performance over rdbms, also I want to know the cases that rdbms is a more suitable choice than time-series database.
While relational databases are great at displaying the current state of your data, it's not so great at telling you the history of your data—and your energy data's history is crucial. This is where time-series databases are useful. You might use a time-series database for: Monitoring systems over time.
Relational database management systems (RDBS), which are often considered general-purpose database systems, can be used to store and retrieve time series data.
The majority of people working with time series data nowadays are doing so using noSQL databases. Still, there's a significant number using relational database management systems (RDBMS) for time series data.
Relational databases include: MySQL, MariaDB Server, PostgreSQL. NoSQL databases include: Elastic, InfluxDB, MongoDB, Cassandra, Couchbase, Graphite, Prometheus, ClickHouse, OpenTSDB, DalmatinerDB, KairosDB, RiakTS.
Time Series Database Advantages:
Relational Database Advantages:
By writing your own application code and stored procedures you can accomplish almost everything that TSDBs provide, but you may end up with an implementation that is slower and more demanding in terms of underlying compute and storage resources.
For all practical purposes and with some compromises to referential integrity, you can have both databases run concurrently: store your extended app schema in relational database and time-series in TSDB.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With