Database node-based data access method and system
A data access and database technology, applied in electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of storage space expansion processing, low efficiency, and inability to run work, and achieve the effect of improving performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] Embodiment 1. A data access method based on database nodes. Combine below Figure 2-Figure 6 The method provided by the present invention is described in detail.
[0026] figure 2 , S201. Receive a database access request message sent by a client, and extract a SQL statement to be executed from the database access request message.
[0027] Specifically, see image 3 , the database in this embodiment is based on a multi-level distributed database and is based on a MySQL database, that is, there are multiple database nodes in each level of database management center, and each level of databases has sub-node databases. Therefore, it is first necessary to establish a distributed cluster database, install the storage node database in the database management center, set up the lower-level storage node database, and set the access data access authority by setting the IP, user name, password and port information for accessing the database; Unify the data storage model in e...
Embodiment 2
[0046] Embodiment 2. A data access system based on database nodes. Combine below Figure 8 The system provided by the present invention is described in detail.
[0047] Figure 8 Among them, the system provided by the present invention includes a request message receiving unit 801, a node matching unit 802, a heartbeat detection unit 803, a judging unit 804, an authority verification unit 805, an execution unit 806, a connection recycling unit 807 and an execution result merging unit 808.
[0048] Wherein, the request message receiving unit 801 is mainly used for receiving the database access request message sent by the client, and extracting the SQL statement to be executed from the database access request message.
[0049] Specifically, the database in this embodiment is based on a multi-level distributed database and is based on a MySQL database, that is, there are multiple database nodes in each level of database management center, and each level of database has a sub-no...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 