TDengine

官网地址:https://docs.taosdata.com/taos-sql/stable/

连接方式:数据库直接连接: 端口6030; RestfulDriver 端口6041

查询所有超表:

show stables;

查询超表下所有子表:

show table tags from super_table_name;

 创建超表:

create stable super_temperature_sensing(ts timestamp, temperature float) tags (location binary(64),  temperature_id int);

创建子表:

create table temperature_device_001 using super_temperature_sensing tags('设备点位1', 1);

 

posted @ 2024-04-29 14:46  行智障  阅读(121)  评论(0)    收藏  举报