Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for improving data read-write performance based on mysql database cluster

A data reading and writing, database technology, applied in the database field, can solve the problems of people's life and property threats, untimely release of early warning information, easy bottlenecks in the database, etc., to improve the reliability of data storage, improve reading performance, and improve retrieval speed effect

Active Publication Date: 2020-08-11
GUILIN UNIV OF ELECTRONIC TECH
View PDF7 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, improving the reading and writing ability of the system is the key to monitoring and early warning of geological disasters. However, in the current solutions, most of them only use a single master-slave mysql database to store Beidou high-precision positioning data. With the increase of monitoring sites, the single The master-slave database is easy to reach the bottleneck, resulting in slow reading and writing data, and the release of early warning information is not timely, posing a certain threat to the lives and property of the people

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for improving data read-write performance based on mysql database cluster
  • Method for improving data read-write performance based on mysql database cluster
  • Method for improving data read-write performance based on mysql database cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0044] see figure 1 , figure 1 It is a schematic flowchart of a method for improving data read and write performance based on a mysql database cluster provided by an embodiment of the present invention. Specifically, the method for improving data read and write performance based on a mysql database cluster may include the following steps:

[0045] S101, through the master-slave replication structure and the master-master replication structure between multiple mysql database servers, using the mycat middleware to jointly build a ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for improving data read-write performance based on a mysql database cluster. The method comprises the following steps: establishing a mysql database cluster system; realizing read-write separation and library division functions of the mysql database cluster system by utilizing mycat intermediate; using MYISAM as a storage engine of a table; when a new table is created, implementing a mysql partitioning strategy; and performing data caching by using a redis database. A set of large mysql database cluster system is designed by utilizing mycat + mysql, landslide and debris flow real-time monitoring data can be quickly written into a database, and Beidou high-precision positioning data is stored by using an MYISAM data table; the data storage reliability can beimproved by utilizing a multi-master and multi-slave structure, and the query efficiency is further improved by using mysql partitions; a keyword index can be used for increasing the retrieval speed,and redis cache is used for improving the reading performance; the functions of read-write separation and library division can be achieved, and the data read-write speed is effectively increased. Onthe whole, the read-write performance of the system is not reduced along with the increasing of the data volume.

Description

technical field [0001] The invention relates to the technical field of databases, in particular to a method for improving data reading and writing performance based on a mysql database cluster. Background technique [0002] my country's landforms are complex and changeable, and geological disasters occur frequently. Geological disasters such as landslides and mudslides seriously threaten the safety of people's lives and property. In order to effectively prevent geological disasters and ensure the safety of people's lives and property, a Beidou intelligent real-time monitoring and early warning system has been developed. While monitoring landslides, debris flows and other geological disasters at fixed points, the read and write performance of real-time dynamic monitoring data is related to the operation and maintenance efficiency of the entire monitoring and early warning system. The system reads and writes data quickly, which can effectively improve data storage and query ef...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/27G06F3/06G06F16/18G06F16/242G06F16/215G06F16/172G06F16/14G06F16/13H04L29/08
CPCG06F16/278G06F3/0644G06F16/27G06F16/1815G06F16/2433G06F16/215G06F16/172G06F16/13G06F16/144H04L67/568Y02D10/00
Inventor 孙希延王超峰纪元法肖建明李有明付文涛严素清
Owner GUILIN UNIV OF ELECTRONIC TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products