1922|0

25

帖子

0

TA的资源

一粒金砂(中级)

楼主
 

【米尔MYC-JX8MPQ评测】运行TDengine [复制链接]

 

因为之前的项目上有用到涛思数据库,后面项目上可能也会用到数据库,所以在这个板子上运行试试看

 

TDengine 社区版是一开源版本,采用的是AGPL许可证,是一个处理中小规模的物联网数据平台。它具备高效处理物联网数据所需要的所有功能,包括:

  • 类SQL查询语言来插入或查询数据
  • 支持C/C++, Java(JDBC), Python, Go, RESTful, and Node.JS 等开发接口
  • 通过TDengine Shell或Python/R/Matlab可做各种Ad Hoc查询分析
  • 通过连续查询,支持基于滑动窗口的流式计算
  • 引入超级表,让设备之间的数据聚合通过标签变得简单、灵活
  • 内嵌消息队列,应用可订阅最新的数据
  • 内嵌缓存机制,每台设备的最新状态或记录都可快速获得
  • 无历史数据与实时数据之分,对应用而言,透明且完全一样
  • 分布式架构,支持线性扩展,以保证任何规模的数据量都可以处理
  • 支持多副本,无单点故障,以保证系统的高可用与高可靠

1 解压TDengine软件(TDengine的软件包我已经编译好了这里直接使用,如果哪位同学也想用的话私信邮箱给我)

  • root@myd-jx8mp:~/TDengine# ls -a
  • . .. bin cfg lib

2将lib目录下的所有文件拷贝到/usr/lib/目录下面

  • root@myd-jx8mp:~/TDengine# cp lib/* /usr/lib/

3运行taosd涛思服务端

  • root@myd-jx8mp:~/TDengine/bin# ./taosd
  • config file:/etc/taos/taos.cfg not found, all variables are set to default
  • 09/20 11:11:18.975189 00002231 DND start to initialize TDengine
  • 09/20 11:11:18.975378 00002231 DND step:dnode-tfile is initialized
  • 09/20 11:11:18.975415 00002231 DND step:dnode-rpc is initialized
  • 09/20 11:11:18.976140 00002231 UTL localEp is: myd-jx8mp:6030
  • 09/20 11:11:18.976973 00002231 UTL WARN timezone not configured, set to system default:Universal (UTC, +0000)
  • 09/20 11:11:18.977024 00002231 UTL WARN locale not configured, set to system default:C
  • 09/20 11:11:18.977050 00002231 UTL WARN can't get locale and charset from system, set it to UTF-8
  • 09/20 11:11:18.983835 00002231 UTL check global cfg completed
  • 09/20 11:11:18.983888 00002231 UTL ==================================
  • 09/20 11:11:18.983909 00002231 UTL taos config & system info:
  • 09/20 11:11:18.983925 00002231 UTL ==================================
  • 09/20 11:11:18.983943 00002231 UTL firstEp: myd-jx8mp:6030
  • 09/20 11:11:18.983959 00002231 UTL secondEp: myd-jx8mp:6030
  • 09/20 11:11:18.983976 00002231 UTL fqdn: myd-jx8mp
  • 09/20 11:11:18.983993 00002231 UTL serverPort: 6030
  • 09/20 11:11:18.984011 00002231 UTL configDir: /etc/taos
  • 09/20 11:11:18.984027 00002231 UTL logDir: /var/volatile/log/taos
  • 09/20 11:11:18.984044 00002231 UTL scriptDir: /etc/taos
  • 09/20 11:11:18.984060 00002231 UTL arbitrator:
  • 09/20 11:11:18.984078 00002231 UTL numOfThreadsPerCore: 1.000000
  • 09/20 11:11:18.984101 00002231 UTL numOfCommitThreads: 4
  • 09/20 11:11:18.984118 00002231 UTL ratioOfQueryCores: 1.000000
  • 09/20 11:11:18.984136 00002231 UTL maxNumOfDistinctRes: 10000000
  • 09/20 11:11:18.984153 00002231 UTL numOfMnodes: 1
  • 09/20 11:11:18.984169 00002231 UTL vnodeBak: 1
  • 09/20 11:11:18.984192 00002231 UTL telemetryReporting: 1
  • 09/20 11:11:18.984218 00002231 UTL dnodeNopLoop: 0
  • 09/20 11:11:18.984235 00002231 UTL balance: 1
  • 09/20 11:11:18.984251 00002231 UTL balanceInterval: 300
  • 09/20 11:11:18.984267 00002231 UTL offlineInterval: 3
  • 09/20 11:11:18.984284 00002231 UTL role: 0
  • 09/20 11:11:18.984300 00002231 UTL maxTmrCtrl: 512
  • 09/20 11:11:18.984321 00002231 UTL monitorInterval: 30(s)
  • 09/20 11:11:18.984342 00002231 UTL monitorReplica: 1
  • 09/20 11:11:18.984362 00002231 UTL offlineThreshold: 864000(s)
  • 09/20 11:11:18.984382 00002231 UTL rpcTimer: 300(ms)
  • 09/20 11:11:18.984402 00002231 UTL rpcMaxTime: 600(s)
  • 09/20 11:11:18.984423 00002231 UTL rpcForceTcp: 0
  • 09/20 11:11:18.984443 00002231 UTL statusInterval: 1(s)
  • 09/20 11:11:18.984476 00002231 UTL shellActivityTimer: 3(s)
  • 09/20 11:11:18.984505 00002231 UTL minSlidingTime: 10(ms)
  • 09/20 11:11:18.984538 00002231 UTL minIntervalTime: 1(ms)
  • 09/20 11:11:18.984558 00002231 UTL maxStreamCompDelay: 20000(ms)
  • 09/20 11:11:18.984579 00002231 UTL maxFirstStreamCompDelay:10000(ms)
  • 09/20 11:11:18.984617 00002231 UTL retryStreamCompDelay: 1800000(ms)
  • 09/20 11:11:18.984643 00002231 UTL streamCompDelayRatio: 0.100000
  • 09/20 11:11:18.984670 00002231 UTL maxVgroupsPerDb: 0
  • 09/20 11:11:18.984691 00002231 UTL maxTablesPerVnode: 1000000
  • 09/20 11:11:18.984712 00002231 UTL minTablesPerVnode: 1000
  • 09/20 11:11:18.984732 00002231 UTL tableIncStepPerVnode: 1000
  • 09/20 11:11:18.984752 00002231 UTL cache: 16(Mb)
  • 09/20 11:11:18.984772 00002231 UTL blocks: 6
  • 09/20 11:11:18.984793 00002231 UTL days: 10
  • 09/20 11:11:18.984813 00002231 UTL keep: 3650
  • 09/20 11:11:18.984833 00002231 UTL minRows: 100
  • 09/20 11:11:18.984853 00002231 UTL maxRows: 4096
  • 09/20 11:11:18.984874 00002231 UTL precision: 0
  • 09/20 11:11:18.984898 00002231 UTL comp: 2
  • 09/20 11:11:18.984924 00002231 UTL walLevel: 1
  • 09/20 11:11:18.984939 00002231 UTL fsync: 3000
  • 09/20 11:11:18.984964 00002231 UTL replica: 1
  • 09/20 11:11:18.984979 00002231 UTL partitions: 4
  • 09/20 11:11:18.984996 00002231 UTL quorum: 1
  • 09/20 11:11:18.985011 00002231 UTL update: 0
  • 09/20 11:11:18.985025 00002231 UTL cachelast: 0
  • 09/20 11:11:18.985041 00002231 UTL compressMsgSize: 524288
  • 09/20 11:11:18.985056 00002231 UTL compressColData: -1
  • 09/20 11:11:18.985071 00002231 UTL maxSQLLength: 1048576(byte)
  • 09/20 11:11:18.985088 00002231 UTL maxWildCardsLength: 100(byte)
  • 09/20 11:11:18.985103 00002231 UTL maxRegexStringLen: 128(byte)
  • 09/20 11:11:18.985118 00002231 UTL maxNumOfOrderedRes: 1000000
  • 09/20 11:11:18.985133 00002231 UTL queryBufferSize: -1(byte)
  • 09/20 11:11:18.985148 00002231 UTL retrieveBlockingModel: 0
  • 09/20 11:11:18.985163 00002231 UTL keepColumnName: 0
  • 09/20 11:11:18.985178 00002231 UTL timezone: Universal (UTC, +0000)
  • 09/20 11:11:18.985194 00002231 UTL locale: C
  • 09/20 11:11:18.985209 00002231 UTL charset: UTF-8
  • 09/20 11:11:18.985224 00002231 UTL maxShellConns: 50000
  • 09/20 11:11:18.985237 00002231 UTL maxConnections: 5000
  • 09/20 11:11:18.985255 00002231 UTL minimalLogDirGB: 1.000000(GB)
  • 09/20 11:11:18.985273 00002231 UTL minimalTmpDirGB: 1.000000(GB)
  • 09/20 11:11:18.985290 00002231 UTL minimalDataDirGB: 2.000000(GB)
  • 09/20 11:11:18.985307 00002231 UTL mnodeEqualVnodeNum: 4
  • 09/20 11:11:18.985322 00002231 UTL flowctrl: 1
  • 09/20 11:11:18.985335 00002231 UTL slaveQuery: 1
  • 09/20 11:11:18.985351 00002231 UTL adjustMaster: 1
  • 09/20 11:11:18.985366 00002231 UTL http: 1
  • 09/20 11:11:18.985381 00002231 UTL mqtt: 0
  • 09/20 11:11:18.985396 00002231 UTL monitor: 1
  • 09/20 11:11:18.985411 00002231 UTL stream: 1
  • 09/20 11:11:18.985426 00002231 UTL topicBinaryLen: 16000
  • 09/20 11:11:18.985441 00002231 UTL httpEnableRecordSql: 0
  • 09/20 11:11:18.985456 00002231 UTL telegrafUseFieldNum: 0
  • 09/20 11:11:18.985471 00002231 UTL httpMaxThreads: 2
  • 09/20 11:11:18.985486 00002231 UTL restfulRowLimit: 10240
  • 09/20 11:11:18.985538 00002231 UTL httpDbNameMandatory: 0
  • 09/20 11:11:18.985555 00002231 UTL httpKeepAlive: 30000
  • 09/20 11:11:18.985571 00002231 UTL numOfLogLines: 10000000
  • 09/20 11:11:18.985584 00002231 UTL logKeepDays: 0
  • 09/20 11:11:18.985596 00002231 UTL asyncLog: 1
  • 09/20 11:11:18.985609 00002231 UTL debugFlag: 0
  • 09/20 11:11:18.985621 00002231 UTL mDebugFlag: 131
  • 09/20 11:11:18.985634 00002231 UTL dDebugFlag: 135
  • 09/20 11:11:18.985648 00002231 UTL sDebugFlag: 135
  • 09/20 11:11:18.985660 00002231 UTL wDebugFlag: 135
  • 09/20 11:11:18.985672 00002231 UTL sdbDebugFlag: 131
  • 09/20 11:11:18.985696 00002231 UTL rpcDebugFlag: 131
  • 09/20 11:11:18.985710 00002231 UTL tmrDebugFlag: 131
  • 09/20 11:11:18.985723 00002231 UTL cDebugFlag: 131
  • 09/20 11:11:18.985736 00002231 UTL jniDebugFlag: 131
  • 09/20 11:11:18.985749 00002231 UTL odbcDebugFlag: 131
  • 09/20 11:11:18.985761 00002231 UTL uDebugFlag: 131
  • 09/20 11:11:18.985773 00002231 UTL httpDebugFlag: 131
  • 09/20 11:11:18.985787 00002231 UTL mqttDebugFlag: 131
  • 09/20 11:11:18.985799 00002231 UTL monDebugFlag: 131
  • 09/20 11:11:18.985811 00002231 UTL qDebugFlag: 131
  • 09/20 11:11:18.985825 00002231 UTL vDebugFlag: 135
  • 09/20 11:11:18.985837 00002231 UTL tsdbDebugFlag: 131
  • 09/20 11:11:18.985850 00002231 UTL cqDebugFlag: 131
  • 09/20 11:11:18.985862 00002231 UTL enableRecordSql: 0
  • 09/20 11:11:18.985876 00002231 UTL enableCoreFile: 0
  • 09/20 11:11:18.985892 00002231 UTL gitinfo: ac6c719aef7e9a9ae791b1dde0002ff7c7c3cd28
  • 09/20 11:11:18.985911 00002231 UTL gitinfoOfInternal: ac6c719aef7e9a9ae791b1dde0002ff7c7c3cd28
  • 09/20 11:11:18.985924 00002231 UTL buildinfo: Built at 2022-02-14 10:25:08
  • 09/20 11:11:18.985937 00002231 UTL version: 2.4.0.0
  • 09/20 11:11:18.985968 00002231 UTL maxBinaryDisplayWidth: 30
  • 09/20 11:11:18.985980 00002231 UTL tempDir: /tmp/
  • 09/20 11:11:18.985993 00002231 UTL tsdbMetaCompactRatio: 0
  • 09/20 11:11:18.986005 00002231 UTL deadLockKillQuery: 1
  • 09/20 11:11:18.986018 00002231 UTL clientMerge: 0
  • 09/20 11:11:18.986030 00002231 UTL defaultJSONStrType: nchar
  • 09/20 11:11:18.986042 00002231 UTL smlChildTableName:
  • 09/20 11:11:18.986055 00002231 UTL smlTagNullName: _tag_null
  • 09/20 11:11:18.986068 00002231 UTL walFlushSize: 1024(Mb)
  • 09/20 11:11:18.986081 00002231 UTL shortcutFlag: 0
  • 09/20 11:11:18.986098 00002231 UTL os pageSize: 4096(KB)
  • 09/20 11:11:18.986110 00002231 UTL os openMax: 1024
  • 09/20 11:11:18.986122 00002231 UTL os streamMax: 16
  • 09/20 11:11:18.986133 00002231 UTL os numOfCores: 4
  • 09/20 11:11:18.986145 00002231 UTL os totalMemory: 2921(MB)
  • 09/20 11:11:18.986164 00002231 UTL os sysname: Linux
  • 09/20 11:11:18.986177 00002231 UTL os nodename: myd-jx8mp
  • 09/20 11:11:18.986189 00002231 UTL os release: 5.10.9-1.0.0+g68232600d8b7
  • 09/20 11:11:18.986205 00002231 UTL os version: #1 SMP PREEMPT Tue Nov 23 08:22:44 UTC 2021
  • 09/20 11:11:18.986221 00002231 UTL os machine: aarch64
  • 09/20 11:11:18.986238 00002231 UTL dataDir: /var/lib/taos
  • 09/20 11:11:18.986255 00002231 UTL ==================================
  • 09/20 11:11:18.986268 00002231 DND step:dnode-globalcfg is initialized
  • 09/20 11:11:18.986407 00002231 TFS disk /var/lib/taos is mounted to tier level 0 id 0
  • 09/20 11:11:18.986761 00002231 UTL ==================================
  • 09/20 11:11:18.986792 00002231 UTL os totalDisk: 6.668533(GB)
  • 09/20 11:11:18.986812 00002231 UTL os usedDisk: 3.161125(GB)
  • 09/20 11:11:18.986826 00002231 UTL os availDisk: 3.133099(GB)
  • 09/20 11:11:18.986839 00002231 UTL ==================================
  • 09/20 11:11:18.986851 00002231 DND dnode storage is initialized at /var/lib/taos/dnode
  • 09/20 11:11:18.986864 00002231 DND step:dnode-storage is initialized
  • 09/20 11:11:18.987011 00002231 DND read file /var/lib/taos/dnode/dnodeCfg.json successed
  • 09/20 11:11:18.987037 00002231 DND dnodeId is set to 1, clusterId is set to 7ebdeb06-4043-4b4f-b20e-44c8043bdcd6
  • 09/20 11:11:18.990881 00002231 DND successed to write /var/lib/taos/dnode/dnodeCfg.json
  • 09/20 11:11:18.990939 00002231 DND dnode cfg is initialized
  • 09/20 11:11:18.990952 00002231 DND step:dnode-cfg is initialized
  • 09/20 11:11:18.991075 00002231 DND read file /var/lib/taos/dnode/dnodeEps.json successed
  • 09/20 11:11:18.991138 00002231 DND dnode eps is initialized
  • 09/20 11:11:18.991161 00002231 DND step:dnode-eps is initialized
  • 09/20 11:11:18.991225 00002231 DND read file /var/lib/taos/dnode/mnodeEpSet.json successed
  • 09/20 11:11:18.991243 00002231 DND print minfos, mnodeNum:1 inUse:0
  • 09/20 11:11:18.991257 00002231 DND mnode index:1, myd-jx8mp:6030
  • 09/20 11:11:18.991283 00002231 DND print minfos, mnodeNum:1 inUse:0
  • 09/20 11:11:18.991299 00002231 DND mnode index:1, myd-jx8mp:6030
  • 09/20 11:11:18.991314 00002231 DND dnode minfos is initialized
  • 09/20 11:11:18.991331 00002231 DND step:dnode-minfos is initialized
  • 09/20 11:11:18.991518 00002231 WAL wal module is initialized, rsetId:3
  • 09/20 11:11:18.991538 00002231 DND step:dnode-wal is initialized
  • 09/20 11:11:18.991773 00002231 DND step:dnode-sync is initialized
  • 09/20 11:11:18.991911 00002231 DND dnode check is initialized
  • 09/20 11:11:18.991931 00002231 DND step:dnode-check is initialized
  • 09/20 11:11:18.991948 00002231 UTL worker:vquery is initialized, min:4 max:4
  • 09/20 11:11:18.991962 00002231 UTL worker:vfetch is initialized, min:4 max:4
  • 09/20 11:11:18.991975 00002231 DND step:dnode-vread is initialized
  • 09/20 11:11:18.991990 00002231 DND dnode vwrite is initialized, max worker 4
  • 09/20 11:11:18.992002 00002231 DND step:dnode-vwrite is initialized
  • 09/20 11:11:18.992141 00002231 DND step:vnode-backup is initialized
  • 09/20 11:11:18.992232 00002231 DND step:vnode-worker is initialized
  • 09/20 11:11:18.992250 00002231 DND step:vnode-write is initialized
  • 09/20 11:11:18.992263 00002231 DND step:vnode-read is initialized
  • 09/20 11:11:18.992283 00002231 DND step:vnode-hash is initialized
  • 09/20 11:11:18.992537 00002231 DND step:tsdb-queue is initialized
  • 09/20 11:11:18.992566 00002231 UTL worker:vmgmt is initialized, min:1 max:1
  • 09/20 11:11:18.992648 00002231 DND dnode vmgmt is initialized
  • 09/20 11:11:18.992667 00002231 DND step:dnode-vmgmt is initialized
  • 09/20 11:11:18.992700 00002231 DND step:dnode-mread is initialized
  • 09/20 11:11:18.992727 00002231 DND step:dnode-mwrite is initialized
  • 09/20 11:11:18.992753 00002231 DND step:dnode-mpeer is initialized
  • 09/20 11:11:18.997630 00002231 DND dnode inter-dnodes rpc client is initialized
  • 09/20 11:11:18.997692 00002231 DND step:dnode-client is initialized
  • 09/20 11:11:18.999606 00002231 DND dnode inter-dnodes RPC server is initialized
  • 09/20 11:11:18.999672 00002231 DND step:dnode-server is initialized
  • 09/20 11:11:18.999797 00002231 DND start 4 threads to open 1 vnodes
  • 09/20 11:11:19.000450 00002249 VND vgId:2, load vnode cfg successfully, replcia:1
  • 09/20 11:11:19.000482 00002249 VND vgId:2, dnode:1, myd-jx8mp:6040
  • 09/20 11:11:19.000560 00002249 VND vgId:2, read /var/lib/taos/vnode/vnode2/version.json successfully, fver:59
  • 09/20 11:11:19.003539 00002249 VND vgId:2, sync role changed from offline to master
  • 09/20 11:11:19.003672 00002231 DND there are total vnodes:1, opened:1
  • 09/20 11:11:19.003702 00002231 DND step:dnode-vnodes is initialized
  • 09/20 11:11:19.003781 00002231 MND starting to initialize mnode ...
  • 09/20 11:11:19.004116 00002231 DND step:sdbref is initialized
  • 09/20 11:11:19.004317 00002231 DND step:profile is initialized
  • 09/20 11:11:19.004341 00002231 DND step:cluster is initialized
  • 09/20 11:11:19.004359 00002231 DND step:accts is initialized
  • 09/20 11:11:19.004379 00002231 DND step:users is initialized
  • 09/20 11:11:19.004406 00002231 DND step:funcs is initialized
  • 09/20 11:11:19.004425 00002231 DND step:dnodes is initialized
  • 09/20 11:11:19.004451 00002231 DND step:dbs is initialized
  • 09/20 11:11:19.004474 00002231 DND step:vgroups is initialized
  • 09/20 11:11:19.005423 00002231 DND step:tables is initialized
  • 09/20 11:11:19.005465 00002231 DND step:mnodes is initialized
  • 09/20 11:11:19.005708 00002231 MND vgId:1, sdb write is opened
  • 09/20 11:11:19.005781 00002231 SDB vgId:1, open sdb wal for restore
  • 09/20 11:11:19.005887 00002231 WAL vgId:1, file:/var/lib/taos/mnode/wal/wal0, will be restored
  • 09/20 11:11:19.006093 00002231 MND dnode:1, fqdn:myd-jx8mp ep:myd-jx8mp:6030 port:6030 is created
  • 09/20 11:11:19.006138 00002231 MND mnode:1, fqdn:myd-jx8mp ep:myd-jx8mp:6030 port:6030 is created
  • 09/20 11:11:19.006997 00002231 WAL vgId:1, file:/var/lib/taos/mnode/wal/wal0, restore success, wver:28
  • 09/20 11:11:19.007141 00002231 SDB vgId:1, sdb wal load success
  • 09/20 11:11:19.007165 00002231 SDB vgId:1, sdb start to check for integrity
  • 09/20 11:11:19.007192 00002231 SDB vgId:1, sdb:cluster is checked, rows:1
  • 09/20 11:11:19.007220 00002231 SDB vgId:1, sdb:dnodes is checked, rows:1
  • 09/20 11:11:19.007243 00002231 MND vgId:1, update mnodes epSet, numOfMnodes:1
  • 09/20 11:11:19.007270 00002231 MND vgId:1, mnodes epSet is set, num:1 inUse:0
  • 09/20 11:11:19.007294 00002231 MND vgId:1, mnode:1, fqdn:myd-jx8mp shell:6030 peer:6035
  • 09/20 11:11:19.007318 00002231 SDB vgId:1, sdb:mnodes is checked, rows:1
  • 09/20 11:11:19.007339 00002231 SDB vgId:1, sdb:accounts is checked, rows:1
  • 09/20 11:11:19.007359 00002231 SDB vgId:1, sdb:users is checked, rows:3
  • 09/20 11:11:19.007379 00002231 SDB vgId:1, sdb:dbs is checked, rows:1
  • 09/20 11:11:19.007399 00002231 SDB vgId:1, sdb:vgroups is checked, rows:1
  • 09/20 11:11:19.007419 00002231 SDB vgId:1, sdb:stables is checked, rows:7
  • 09/20 11:11:19.007439 00002231 SDB vgId:1, sdb:ctables is checked, rows:11
  • 09/20 11:11:19.007460 00002231 MND dnode first deploy, func restored.
  • 09/20 11:11:19.007479 00002231 SDB vgId:1, sdb:funcs is checked, rows:0
  • 09/20 11:11:19.007499 00002231 SDB vgId:1, sdb is restored, mver:28 rows:27 tables:10
  • 09/20 11:11:19.007529 00002231 DND step:sdb is initialized
  • 09/20 11:11:19.007690 00002231 MND dnode:1 set access:0 to 0
  • 09/20 11:11:19.007719 00002231 DND step:balance is initialized
  • 09/20 11:11:19.007933 00002231 DND step:show is initialized
  • 09/20 11:11:19.007958 00002231 MND mnode is initialized successfully
  • 09/20 11:11:19.007986 00002231 SDB vgId:1, work as mnode, replica:1
  • 09/20 11:11:19.008007 00002231 SDB vgId:1, mnode:1, myd-jx8mp:6040
  • 09/20 11:11:19.008146 00002231 SDB vgId:1, mnode role changed from master to master
  • 09/20 11:11:19.008173 00002231 SDB vgId:1, update mnodes role, replica:1
  • 09/20 11:11:19.008197 00002231 SDB vgId:1, mnode:1, role:master
  • 09/20 11:11:19.008221 00002231 MND vgId:1, update mnodes epSet, numOfMnodes:1
  • 09/20 11:11:19.008247 00002231 MND vgId:1, mnodes epSet is set, num:1 inUse:0
  • 09/20 11:11:19.008270 00002231 MND vgId:1, mnode:1, fqdn:myd-jx8mp shell:6030 peer:6035
  • 09/20 11:11:19.008609 00002231 DND dnode modules is initialized
  • 09/20 11:11:19.008635 00002231 HTP start http server ...
  • 09/20 11:11:19.008807 00002231 HTP http result queue is opened
  • 09/20 11:11:19.009519 00002271 HTP http server init success at 6041
  • 09/20 11:11:19.010276 00002231 MON monitor module start
  • 09/20 11:11:19.010315 00002231 DND step:dnode-modules is initialized
  • 09/20 11:11:19.013049 00002231 DND dnode shell rpc server is initialized
  • 09/20 11:11:19.013112 00002231 DND step:dnode-shell is initialized
  • 09/20 11:11:19.013145 00002231 DND dnode status timer is initialized
  • 09/20 11:11:19.013166 00002231 DND step:dnode-statustmr is initialized
  • 09/20 11:11:19.013286 00002231 DND dnode telemetry is initialized
  • 09/20 11:11:19.013316 00002231 DND step:dnode-telemetry is initialized
  • 09/20 11:11:19.018904 00002231 DND step:dnode-script is initialized
  • 09/20 11:11:19.018979 00002231 DND step:dnode-grant is initialized
  • 09/20 11:11:19.018999 00002231 DND TDengine is initialized successfully
  • 09/20 11:11:19.517104 00002263 MND dnode:1, from offline to online
  • 09/20 11:11:20.012162 00002262 MND user:monitor login from 127.0.0.1, result:success

4 另起一个终端运行taos涛思客户端

  • root@myd-jx8mp:~/TDengine/bin# ./taos
  • Welcome to the TDengine shell from Linux, Client Version:2.4.0.0
  • Copyright (c) 2020 by TAOS Data, Inc. All rights reserved.
  • config file:/etc/taos/taos.cfg not found, all variables are set to default
  • taos>

5 查看数据库

  • taos> show databases;
  • name | created_time | ntables | vgroups | replica | quorum | days | keep | cache(MB) | blocks | minrows | maxrows | wallevel | fsync | comp | cachelast | precision | update | status |
  • ====================================================================================================================================================================================================================================================================================
  • log | 2020-09-20 11:02:24.386 | 11 | 1 | 1 | 1 | 10 | 30 | 1 | 3 | 100 | 4096 | 1 | 3000 | 2 | 0 | us | 0 | ready |
  • Query OK, 1 row(s) in set (0.003743s)
  • taos>

至此涛思数据库在MYC-JX8MP上运行起来了  

点赞 关注
 
 

回复
举报
您需要登录后才可以回帖 登录 | 注册

随便看看
查找数据手册?

EEWorld Datasheet 技术支持

相关文章 更多>>
关闭
站长推荐上一条 1/10 下一条
有奖直播:当AI遇见仿真,会有什么样的电子行业革新之路?
首场直播:Simcenter AI 赋能电子行业研发创新
直播时间:04月15日14:00-14:50

查看 »

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

 
机器人开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 国产芯 安防电子 汽车电子 手机便携 工业控制 家用电子 医疗电子 测试测量 网络通信 物联网 4

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved
快速回复 返回顶部 返回列表