Database switching method and system
A technology for switching systems and databases, applied in database design/maintenance, database distribution/replication, structured data retrieval, etc., can solve problems such as long downtime, achieve fast switching speed, easy implementation, and high switching efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] Specifically, the database switching method of the present invention includes the following steps,
[0044] Step 1, build a database system with dual databases. In this embodiment, the dual databases include database A and database B; the present invention can be widely applied to various intelligent refrigerators, so the database system can be a database disaster recovery system for refrigerators .
[0045] Step 2, the script with monitoring function is started. In this embodiment, the analysis shows that database A is working. Through the analysis of configuration file file-A, it is found that database A is working. The configuration file file-A points to database A. At this time, the application server Establish communication with database A through the configuration file file-A. Of course, the working database may also be database B, and this step of the present invention is only to illustrate that a database is working in the double database, such as figure 1 As ...
Embodiment 2
[0053] The database switching method of the second embodiment is basically the same as that of the first embodiment, the difference being that in step 4, when the database A fails, the method of establishing communication between the application server and the database B is different. In this embodiment, during the process of switching from database A to database B, an alarm message and / or email is sent to the operator, and database B obtains the virtual IP address of database A, so that the configuration file file-A points to database B, and the application server configures File file-A establishes communication with database B.
[0054] The invention also discloses a database switching system, which includes database A, database B, an application server and a control server. The database A and database B are the same database, and under the action of the control server, the control server automatically sends a monitoring , switching and other commands, the application server...
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