2023年6月10日第7卷第11期现代信息科技ModernInformationTechnologyJun.2023Vol.7No.111011012023.062023.06收稿日期:2022-12-28基金项目:海南省重大科技计划项目(ZDKJ2019002)基于时序数据库的海洋装备监控数据存储系统倪昱,郑志恒(中国船舶科学研究中心深海载人装备国家重点实验室,江苏无锡214082)摘要:目前在海洋装备上通常使用关系数据库存储海量监控数据,存在空间占用大、查询性能差的问题。文章提出了基于时序数据库的海洋装备监控数据存储解决方案,并基于国产数据库TDEngine完成了系统工程实现,实现了监控数据的自动建表、自动存储以及快速可视化。经测试表明,该系统的数据压缩和查询性能相比于传统关系型数据库具有明显优势,为解决海洋装备海量监控数据存储的难题提供了良好的解决方法。关键词:时序数据库;监控数据存储;海洋装备;TDEngine中图分类号:TP39;U665.26文献标识码:A文章编号:2096-4706(2023)11-0101-04MonitoringDataStorageSystemforMarineEquipmentBasedonTimeSeriesDatabaseNIYu,ZHENGZhiheng(StateKeyLaboratoryofDeep-SeaMannedVehicles,ChinaShipScientificResearchCenter,Wuxi214082,China)Abstract:Atpresent,relationaldatabaseisusuallyusedtostoremassivemonitoringdataonmarineequipment,whichhastheproblemsoflargespaceoccupationandpoorqueryperformance.Thispaperproposesasolutionofmonitoringdatastorageformarineequipmentbasedontimeseriesdatabase,andcompletesthesystemengineeringimplementationbasedonthedomesticdatabaseTDEngine,whichrealizesautomatictablebuilding,automaticstorageandrapidvisualizationofmonitoringdata.Thetestsshowthatthedatacompressionandqueryperformanceofthesystemhasobviousadvantagesovertraditionalrelationaldatabase,whichprovidesagoodsolutiontothedifficultproblemofmassivemonitoringdatastorageformarineequipment.Keywords:timeseriesdatabase;monitoringdatastorage;marineequipment;TDEngine0引言随着计算机软硬件技术的飞速发展,监控系统在海洋装备中得到了更加广泛的应用。对于船舶、载人潜器等有人装备,监控数据提供了运行状态分析、故障判断的有力手段;对于无人艇、水下机器人等无人装备,监控数据提供了自主决策控制的依据。为了对历史数据进行分析查看,需要实现监控数据的存储。目前对于海洋装备的监控数据存储,一般采...