Database access method and system
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- 杭州有赞科技有限公司
- Publication Date
- 2020-08-04
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention relates to the technical field of database systems, in particular to a database access method and system. Background technique
[0002] In the prior art, a virtual network address (Virtual IP, VIP for short) is usually used to drift from the primary database to the standby database, so that the client accesses the changed database. When the virtual network address is uninstalled from the server where the main database is located, the uninstallation may not be completed due to host machine failure, which may easily cause network address (ie IP) conflicts. Moreover, when the address of the virtual network changes, an Address Resolution Protocol (ARP) broadcast needs to be sent. If the client fails to receive the broadcast, it cannot perceive the change of the virtual network address, which will lead to access to the wrong database.
[0003] Therefore, the existing method of using the virtual network address to realize client access to a c...