时间序列数据库和关系数据库之间的差异 [英] Difference between time-series database and relational database

查看:3511
本文介绍了时间序列数据库和关系数据库之间的差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经阅读了关于时间序列数据库的一些概念,以及关于这两个数据库之间的差异的一些解答,但我还是不能理解这些差异。

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.

如何将数据写入磁盘并存储到磁盘,使时间序列数据库和rdbms之间的区别?

How data is written and stored to disk that make the differences between time-series database and rdbms?

对于rdbms和VICE的时间序列数据库,最好的用例是什么VERSA?我的意思是使时间序列数据库提供卓越的性能超过rdbms的情况下,我想知道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.

推荐答案

时间序列数据库的优点:

Time Series Database Advantages:


  1. 每秒100K +
  2. 每时间/值元组存储的字节数:2-10和30-100(rdbms)

  3. 内置时间序列转换和聚合函数

  4. 为内置分片和索引的时间序列数组优化的架构

关系数据库优点:


  1. 完全SQL支持

  2. 能够存储除时间序列之外的任何数据

  3. 广泛的DBA资源和工具



通过编写自己的应用程序代码和存储过程,您几乎可以完成TSDB提供的一切,但是你最终可能会遇到一个在底层计算和存储资源方面速度较慢,要求更高的实现。

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.

对于所有实际目的,您可以同时运行两个数据库:将扩展应用程序模式存储在关系数据库中,将时间序列存储在TSDB中。

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.

这篇关于时间序列数据库和关系数据库之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆