当前位置:网站首页>TDengine 助力西门子轻量级数字化解决方案
TDengine 助力西门子轻量级数字化解决方案
2022-07-28 13:27:00 【InfoQ】
项目背景
一、系统架构

二、业务挑战
三、技术选型
- 高性能,可以支持百万级别的并发写入、万级的并发读取,大量聚合查询时依然有高性能表现
- 高可用,可支持集群部署,可横向扩展,不存在单点故障
- 低成本,数据库对硬件资源要求低,数据压缩率高
- 高度一体化,在具备以上三个特点的基础上,是否具备一定的消息队列、流式计算和缓存的功能
四、落地实践
数据流程

数据建模
创建数据库
create database if not exists simicas_data keep 712 replica 3 update 2;创建实时数据表格
create stable if not exists product_${productKey} (ts timestamp,linestate bool,${device_properties}) tags (device_code binary(64));create table if not exists device_${device_code} using product_${productKey} tags (${device_code})创建状态表
create stable if not exists device_state (ts timestamp,linestate bool,run_status int,error_code binary(64),run_total_time int,stop_total_time int,error_total_time int) tags (device_code binary(64),product_key binary(64));create table if not exists device_state_${device_code} using device_state tags (${device_code},${productKey})指标计算

五、遇到的问题

六、写在最后
边栏推荐
- Read how to deploy highly available k3s with external database
- 多所“双一流”大学,保研预报名启动!
- [lvgl events] Application of events on different components (I)
- Target detection: speed and accuracy comparison (fater r-cnn, r-fcn, SSD, FPN, retinanet and yolov3)
- jenkins
- VOS3000如何呼入送到OKCC
- 什么是自旋锁 自旋锁是指当一个线程尝试获取某个锁时,如果该锁已被其他线程占用,就一直循环检测锁是否被释放,而不是进入线程挂起或睡眠状态。 /** * 为什么用自旋锁:多个线程对同一个变量
- 线程阻塞的三种情况。
- 用友BIP CRM新品发布,赋能大中型企业营销增长
- Mobile phone scrolling screenshot software recommendation
猜你喜欢

Istio IV fault injection and link tracking

一文读懂如何部署具有外部数据库的高可用 K3s

在centos中安装mysql5.7.36

Security assurance is based on software life cycle - networkpolicy application

Security assurance is based on software life cycle -psp application

多所“双一流”大学,保研预报名启动!

Clickhouse architecture and design

LeetCode 0142.环形链表 II

How did Dongguan Huawei cloud data center become a new model of green data center?

RSA encrypts data with private key and decrypts data with public key (not a signature verification process)
随机推荐
[ecmascript6] class
[lvgl events] event code
Jmeter安装教程及登录增加token
【Utils】FastDFS工具类
LeetCode 0143. 重排链表
QML picture preview
HCIP第十一天
Security assurance is based on software life cycle -psp application
协同办公工具:在线白板初起步,在线设计已红海
如何有效进行回顾会议(上)?
Mobile phone scrolling screenshot software recommendation
Thoroughly master binary search
走进音视频的世界——FLV视频封装格式
Custom Configuration Sections
一文读懂如何部署具有外部数据库的高可用 K3s
As a programmer, how to manage time efficiently?
Several solutions to spanning
Leetcode 0142. circular linked list II
Websocket chat
QQ robot configuration record based on nonebot2