Database management method and device, server and storage medium
A management method and database technology, applied in special data processing applications, database design/maintenance, database distribution/replication, etc., can solve problems such as difficult recovery of faulty databases, data disorder and data corruption in data protection systems
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] figure 1 It is a flow chart of database management provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the primary database, standby database, and split-brain database are managed in the data protection system. Specifically, the database management method can be executed by a database management device, and the database management device can be realized by means of software and / or hardware, and integrated into a server. Further, the server includes but not limited to: industrial integration server, system background server and cloud server.
[0044] refer to figure 1 , the method specifically includes the following steps:
[0045] S110. Obtain open records in the system tables corresponding to at least two databases.
[0046] Specifically, each database maintains a system table for storing open (Open) records of the main database. In this embodiment, a system table is specially maintained by the main library to rec...
Embodiment 2
[0061] figure 2 It is a flow chart of a database management method provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above embodiments, and further explains the determination of the attributes of each database according to the comparison results of Open records. It should be noted that for technical details not exhaustively described in this embodiment, reference may be made to any of the foregoing embodiments.
[0062] Specifically, refer to figure 2 , the method specifically includes the following steps:
[0063] S201. Obtain open records in system tables corresponding to at least two databases.
[0064] Further, the open records in the system tables of each database are regularly obtained, so as to regularly update database attributes and identify split-brain databases in time.
[0065] S202. Compare open records in each of the system tables according to preset fields.
[0066] S203. Whether the contents of the open re...
Embodiment 3
[0109] image 3 It is a flowchart of a database management method provided by Embodiment 3 of the present invention. This embodiment is optimized on the basis of the above embodiments, further improves the accuracy of database detection and management by recording more detailed preset fields in the open record, and further explains the database operations to be performed by the daemon process. It should be noted that for technical details not exhaustively described in this embodiment, reference may be made to any of the foregoing embodiments. Such as image 3 As shown, the method includes:
[0110] S310. Obtain open records in the system tables corresponding to at least two databases.
[0111] S320. Compare open records in each of the system tables according to preset fields.
[0112] Specifically, when the main database enters the open state but has not operated on the data, the main database is used as the target database, and an open record of the target database is gen...
PUM
![No PUM](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/noPUMSmall.5c5f49c7.png)
Abstract
Description
Claims
Application Information
![application no application](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/application.06fe782c.png)
- 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