Research on coal mine safety monitoring data storage based on HBase
Lizheng Jiang, Yanbin Li · Journal of Physics Conference Series · 2020
Abstract In order to solve the problem of low storage efficiency and slow query speed when massive coal mine safety monitoring data is stored in relational database, a method of storage and retrieval based on HBase was designed. By combining the hash value of the combination of coal mine code, substation code and transducer code as well as the timestamp after inversion, the hot spot and data skew caused by the unreasonable design of rowkey in HBase were avoided. In order to improve the efficiency of data storage, the swing door trending (SDT) algorithm was used to compress the monitoring data, and in order to improve the efficiency of data retrieval, a secondary index based on ElasticSearch was constructed. The experimental results on the real coal mine data show that the efficiency of data storage and retrieval has been significantly improved.