{"title":"Relational Database Query Optimization Strategy Based on Industrial Internet Situation Awareness System","authors":"Xiaofei Yao, Jin Li, Yaodong Tao, Shenglong Ji","doi":"10.1109/icccs55155.2022.9846105","DOIUrl":null,"url":null,"abstract":"In relational databases, when the amount of data in a single table is too large, the retrieval performance of the data table will drop sharply. In this regard, this paper proposes a retrieval optimization strategy of relational databases based on the change data capture mechanism. Log-based data capture mechanism to capture the addition, deletion, and modification of relational databases in real time, and synchronize the changes of specified fields in the relational database to the non-relational database Elasticsearch in near real time. Elasticsearch stores all search conditions. Using Elasticsearch's advantages in the field of massive data retrieval, it effectively solves the retrieval problem of data tables with excessive data in a single table. At the same time, through the change data capture mechanism, unnecessary indexes in relational databases are reduced, and database data writing is improved. Performance. Applying the retrieval strategy proposed in this article to an industrial Internet situational awareness system proves that the strategy can effectively improve the data retrieval ability and performs well.","PeriodicalId":121713,"journal":{"name":"2022 7th International Conference on Computer and Communication Systems (ICCCS)","volume":"35 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-04-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 7th International Conference on Computer and Communication Systems (ICCCS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/icccs55155.2022.9846105","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5
Abstract
In relational databases, when the amount of data in a single table is too large, the retrieval performance of the data table will drop sharply. In this regard, this paper proposes a retrieval optimization strategy of relational databases based on the change data capture mechanism. Log-based data capture mechanism to capture the addition, deletion, and modification of relational databases in real time, and synchronize the changes of specified fields in the relational database to the non-relational database Elasticsearch in near real time. Elasticsearch stores all search conditions. Using Elasticsearch's advantages in the field of massive data retrieval, it effectively solves the retrieval problem of data tables with excessive data in a single table. At the same time, through the change data capture mechanism, unnecessary indexes in relational databases are reduced, and database data writing is improved. Performance. Applying the retrieval strategy proposed in this article to an industrial Internet situational awareness system proves that the strategy can effectively improve the data retrieval ability and performs well.