WCSE 2022
ISBN: 978-981-18-3959-7 DOI: 10.18178/wcse.2022.06.015

Application of a Log Optimization Algorithm in the Earthquake Precursor System Data Synchronization

Wang Chen, Teng Yuntian, Liu Qingjie

Abstract— In the earthquake precursor network observation system based on user-defined operation log for database synchronization, there were multiple preprocessed and re-collection of data in the station and regional center database, and there were multiple update and deletion records of the same preprocessing data and collected data in the operation log table. The logging of multiple operations for the same data will affect the efficiency of precursor data exchange. Aiming at this problem, we in the latest earthquake precursory network data exchange scheme, proposed an optimization algorithm of a custom action log, merge the custom operation log, by calculation in the operating log table, only keep the data synchronization needs the data of the last operation records, thus greatly reduce the network data flow, improve the efficiency of database synchronization.

Index Terms—data exchange, operation log, log optimization, data transaction isolation

Wang Chen, Teng Yuntian
Institute of Geophysics, China Earthquake Administration, Beijing, CHINA
Liu Qingjie
School of Information Engineering, Institute of Disaster Prevention, Sanhe, Hebei, CHINA


Cite: Wang Chen, Teng Yuntian, Liu Qingjie, "Application of a Log Optimization Algorithm in the Earthquake Precursor System Data Synchr, " Proceedings of 2022 the 12th International Workshop on Computer Science and Engineering (WCSE 2022), pp. 96-102, June 24-27, 2022.