Skip to content

Latest commit

 

History

History
149 lines (56 loc) · 5.44 KB

20200326_26.md

File metadata and controls

149 lines (56 loc) · 5.44 KB

IoT 数据库选型

作者

digoal

日期

2020-03-26

标签

PostgreSQL , IoT


背景

什么样的数据库适合IoT?

Is a database necessary for IoT?

The Internet of Things creates many tedious challenges, especially in the field of database management systems, like integrating tons of voluminous data in real-time, processing events as they stream and dealing with the security of data. For instance, IoT based traffic sensors applied in smart cities would produce huge amounts of data on traffic in real-time.

Databases have a very important role to play in handling IoT data adequately. Therefore, along with a proper platform, the right database is equally important. As IoT operates across a diverse environment in the world, it becomes very challenging to choose an adequate database.

The factors that should be considered before choosing a database for IoT applications are:

IoT场景特色

  1. Size, scale and indexing
  2. Effectiveness while handling a huge amount of data
  3. User-friendly schema
  4. Portability
  5. Query languages
  6. Process modelling and transactions
  7. Heterogeneity and integration
  8. Time series aggregation
  9. Archiving
  10. Security and cost

The types of data in the Internet of Things are:

数据类型

  1. RFID: Radio frequency identification
  2. Addresses/unique identifiers
  3. Descriptive data for processes, systems and objects
  4. Pervasive environmental data and positional data
  5. Sensor data: Multi-dimensional time series data
  6. Historical data
  7. Physics models: Models that are templates for reality
  8. State of actuators and command data for control

为什么PG适合IoT?

PG适合边缘、也适合数据中心. 理由如下:

1、IoT需要一间可以压缩到盒子里的数据工厂。
PG类BSD许可, 无分发风险,轻松嵌入到终端.

2、PG可扩展, 开源的有2000个以上扩展插件, 处理几乎所有场景的数据诉求。

苹果手机是怎么流行起来的, app store起了决定性作用.

3、PG开放接口, 方便扩展, 插件应有尽有: 数据压缩降低成本,GIS, 图处理, 流式计算, JOB, 自动归档, sharding, 机器学习, 相似运算,化学计算,指纹检索,范围类型, 并行计算,跨界数据融合等等. 非常适合IoT

参考

https://opensourceforu.com/2017/05/best-open-source-databases-iot-applications/

https://opensourceforu.com/2018/05/open-source-databases-that-work-best-for-iot/

https://www.quora.com/What-are-suitable-databases-for-IoT

https://www.dbbest.com/blog/database-decisions/?__cf_chl_captcha_tk__=d7ee2f0539031d50625c1e44c11b398e937a367a-1585188371-0-AUWbbwlZVVG0X_-b9q3biZl5Al5xYDV8oBqMx9OQy28C9QVIMRn_Sx-cNp5Uz9Smc_Q32k3xs0Tn5R_7YQrIXFAmd9l3F0Qh1K93THAHl1fvxaijVDL0AtJWXXXBrGfYDKwgiEeK1suygJDqtIvF9yNUs3CBe4ZDDk2fR7yoLfBYOL5q6Q4T_U6kxQJjq-XM1Tn8MhB6xzt0qzg3dgP-MOpNg1RQKzNZXk4LsmoZZGKJoVh4SvnKlItF2_spw-GVfMIKg6zqqKQRernCvl7EBNISkS_N_uRe6eQJWXrD9_VEPCaG1ttOkVKq1opMfp_HsyEj62uf35uZYUyQVlBLAcaMxFgdleI1pwIyWPe44rhocw4-RqpHjEcrczbJmCWXuB_Qb9cTBZgLxat4dy63vxc

您的愿望将传达给PG kernel hacker、数据库厂商等, 帮助提高数据库产品质量和功能, 说不定下一个PG版本就有您提出的功能点. 针对非常好的提议,奖励限量版PG文化衫、纪念品、贴纸、PG热门书籍等,奖品丰富,快来许愿。开不开森.

digoal's wechat