Database access method and system
An access method and database technology, applied in the direction of database distribution/replication, structured data retrieval, special data processing applications, etc., can solve problems such as accessing wrong databases, network address conflicts, accessing errors, etc., to achieve improved reliability, reliable host Standby switching and little impact on the network
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 2
[0079] see image 3 and Figure 4 , Embodiment 2: active switching
[0080] Such as image 3 As shown, the initial state: database 1 is the primary database, which can provide write requests; database 2, database 3 to database n are standby databases, which can only provide read requests, and select database 2 as the new primary database.
[0081] The switching process is as Figure 4 shown, including the following steps:
[0082] S11. Send a request to downgrade the database 1 to the database agent.
[0083] Since there may be one or more database agents, you must wait for all database agents to return a successful result or confirm that the database agent no longer provides services before proceeding to the next step to ensure data consistency. After the S11 operation is completed, the database agent no longer forwards the write request to the database 1.
[0084] S12, database 2 and database 1 perform data synchronization.
[0085] After this step is completed, the d...
Embodiment 3
[0092] see Figure 5 and Figure 6 , Embodiment Three: Failover
[0093] Such as Figure 5 As shown, the initial state: database 1 is the primary database, and has failed; database 2, database 3 to database n are standby databases, which can only provide read requests, and select database 2 as the new primary database.
[0094] The switching process is as Figure 6 shown, including the following steps:
[0095] S21. Send an offline database 1 request to the database agent.
[0096] Since there may be one or more database agents, you must wait for all database agents to return a successful result or confirm that the database agent no longer provides services before proceeding to the next step to ensure data consistency. After the operation is completed, the database agent no longer forwards any requests to database 1, and disconnects the existing connection.
[0097] S22. Synchronize data between database 2 and database n.
[0098] After this step is completed, the data ...
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