Data access method and device as well as distributed database system
A data access and database technology, which is applied in the database field, can solve problems such as poor data recoverability and poor scalability of distributed memory database server systems, and achieve the effects of timely data recovery, flexible and convenient system expansion, and improved scalability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] refer to figure 1 , shows a flow chart of steps of a data access method according to Embodiment 1 of the present invention.
[0024] The data access method of the present embodiment includes the following steps:
[0025] Step S102: When the scheduling server receives the request to add a database server or delete a database server, it performs data migration on the database server to be added or the database server to be deleted.
[0026] When the system needs to be expanded, a new database server will be added, and the newly added database server may be a memory database server or a disk database server. The newly added database server will send a request for adding a database server to the scheduling server, but it is not limited thereto, and the scheduling server may find that a new database server has been added through monitoring, and generate a request for adding a database server. When the database server fails or needs to be deleted, the scheduling server will...
Embodiment 2
[0037] refer to figure 2 , shows a flow chart of steps of a data access method according to Embodiment 2 of the present invention.
[0038] In this embodiment, a scheduling server, an in-memory database server cluster including at least one in-memory database server, and a disk database server cluster including at least one disk database server are set, and the number of servers in the in-memory database server cluster can be equal to that of the disk database server cluster. The number of servers in is the same or different. Among them, the scheduling server implements the scheduling, access, synchronization and management functions of the memory database server cluster and the disk database server cluster, the memory database server cluster implements data reading, the disk database server cluster implements data writing, and the memory database server cluster implements data synchronization Achieve data consistency with the disk database server cluster. Preferably, some ...
Embodiment 3
[0082] In this embodiment, a distributed memory database system is taken as an example to describe the data access method of the present invention.
[0083] The structure of the distributed memory database system of this embodiment is as follows image 3 As shown, including writing layer scheduling server, data synchronization server, reading layer scheduling server, WDC (Writing-layer Database Cluster, writing layer database cluster), and RDC (Reading-layer Database Cluster, reading layer database cluster) . Among them, WDC is a disk database server cluster, and RDC is a memory database server cluster. The writing layer scheduling server, the data synchronization server and the reading layer scheduling server belong to the same machine physically, but they are logically divided into three logical nodes. Of course, it can also be the actual three physical machines.
[0084] Among them, the main function of the writing layer scheduling server is to control the WDC, update th...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com