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

Data storage and query method based on distributed database

A technology of data storage and query method, which is applied in the direction of database index, database model, database management system, etc., which can solve the problems of ineffective horizontal expansion of ORACLE database, basic optimization of database, and low data processing performance, etc., to improve business Operating efficiency, improving business operating efficiency and stability, and improving overall operating efficiency

Active Publication Date: 2019-11-22
SHANGHAI SNC NET INFORMATION TECH CO LTD
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] 1. The traditional ORACLE database cannot be effectively expanded horizontally: the horizontal dismantling of the ORACLE database needs to evaluate the business impact, and the application comprehensive test after the dismantling of the database is carried out in the test environment. There is a shutdown window for data cutover and cutover to complete the business trial. run, time consuming
[0004] 2. No separation of data reading and writing: With the continuous expansion of business and the continuous increase of data, the pressure on the database will also increase. The basic optimization of the database or SQL cannot achieve the final effect. At this time, the separation of reading and writing is adopted. Strategy to change the status quo is a necessary choice. The application scenarios of traditional ORACLE databases do not use the read-write separation technology of the database.
[0005] 3. The core transaction data and log data are mixed and stored without data stripping, resulting in low data processing performance

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
  • Data storage and query method based on distributed database
  • Data storage and query method based on distributed database
  • Data storage and query method based on distributed database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The present invention will be further described below with reference to the accompanying drawings and embodiments.

[0020] figure 1 It is a flowchart of a method for data storage and query based on a distributed database in an embodiment of the present invention; figure 2 It is an architectural diagram of a distributed database in an embodiment of the present invention.

[0021] See figure 1 and figure 2 , the data storage and query method based on a distributed database provided by the present invention comprises the following steps:

[0022] S1: Set the connected data source through the client, and confirm the data type of the data to be processed; the data type includes core business data and log data;

[0023] The client can configure different data sources by setting connections. The data sources can be divided into core business data sources and log data sources. The core business data source mainly stores the data of the core transaction business, and the ...

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 data storage and query method based on a distributed database, and the method comprises the following steps: S1, setting a connected data source through a client, and determining the data type of to-be-processed data; S2, determining that the data is core business data, and storing the core business data in an ORACLE database; s3, confirming that the data is log data, andasynchronously storing the log data into a MySQL database at the rear end of the database middleware through a message queue; s4, storing the database middleware the data to fragmentation nodes of aMySQL database main library; and S5, enabling the MySQL database main library to regularly extract the data of each fragment node and synchronizes the data to a historical database. The message queueasynchronously lands the log service data into the log data center library, so that the data volume of the core transaction library is reduced, the performance of the core service library is guaranteed, and the overall operation efficiency of core services is improved. Meanwhile, the query and storage problems of log historical data are efficiently solved.

Description

technical field [0001] The invention relates to a data storage method, in particular to a data storage and query method based on a distributed database. Background technique [0002] At present, the ORACLE database deployment method mainly adopts the traditional C / S or B / S architecture. Whether it is based on the client or the browser, the dependence on the core database has not changed. However, due to the continuous accumulation of database storage data volume, In addition, the number of core database transactions and historical data (such as business report data and non-core business data) are stored interactively and mixed, which leads to lower and lower business processing performance, and it becomes relatively more difficult to expand horizontally, which can easily lead to database performance. problems and failures that affect business continuity. The prior art has the following shortcomings: [0003] 1. The traditional ORACLE database cannot be effectively scaled h...

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
IPC IPC(8): G06F16/27G06F16/22G06F16/25G06F16/28G06F16/2458
CPCG06F16/27G06F16/22G06F16/254G06F16/28G06F16/2471
Inventor 程永新孙玉颖王耀全
Owner SHANGHAI SNC NET INFORMATION TECH CO LTD
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