CN101876924B - Database fault automatic detection and transfer method - Google Patents

Database fault automatic detection and transfer method Download PDF

Info

Publication number
CN101876924B
CN101876924B CN 200910050435 CN200910050435A CN101876924B CN 101876924 B CN101876924 B CN 101876924B CN 200910050435 CN200910050435 CN 200910050435 CN 200910050435 A CN200910050435 A CN 200910050435A CN 101876924 B CN101876924 B CN 101876924B
Authority
CN
China
Prior art keywords
server
database
client
mdha
master
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN 200910050435
Other languages
Chinese (zh)
Other versions
CN101876924A (en
Inventor
余伟
徐景春
李�杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai spades Interactive Network Technology Co., Ltd.
Original Assignee
Shengdong Network Technology Development (Shanghai) Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shengdong Network Technology Development (Shanghai) Co Ltd filed Critical Shengdong Network Technology Development (Shanghai) Co Ltd
Priority to CN 200910050435 priority Critical patent/CN101876924B/en
Publication of CN101876924A publication Critical patent/CN101876924A/en
Application granted granted Critical
Publication of CN101876924B publication Critical patent/CN101876924B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Hardware Redundancy (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a database fault automatic detection and transfer method which is configured with a client (100), a cache memorizer (200), an MDHA module (210), a management terminal (500) and a plurality of database server groups (300 and 400), and comprises the main steps that each database server group is divided into a master server (300) and a slave server (400); the MDHA module (210) is arranged between the client (100) and a database and is used for detecting the database; when the client connection is started, a detection thread is set up; when in running, the client (100) can be used for detecting the master server (300) through the MDHA module (210); when the master server (300) is detected to be abnormal, the MDHA module (210) leads the access of the client to be automatically switched into the slave server; and when the master server is recovered, intermediate leads the access of the client to be switched into the master server. The method can be applied into a small and medium size data base management systems adopting a My SQL system, can guarantee the continuity of the service operation of a network server, and improves the reliability.

Description

Database failure detects and transfer method automatically
Technical field
The present invention relates to a kind of database access technology, relate in particular to a kind of database failure and automatically detect and transfer method, can be applicable to database service is had the method for operating of the system of high-availability requirement.
Background technology
MySQL is a small-sized Relational DBMS, and the developer is Sweden MySQL AB company.Purchased by Sun Microsystems on January 16th, 2008.At present MySQL is widely used in the middle-size and small-size website on the Internet.Because its volume is little, speed is fast, the total cost of ownership is low, these characteristics of open source code especially, many middle-size and small-size websites have selected MySQL as site databases in order to reduce the website total cost of ownership.
The most widely used free database open source software MySQL of internet industry provides a kind of small-sized correlation data base management system (DBMS).At present MySQL is widely used in the middle-size and small-size website on the Internet.Because its volume is little, speed is fast, the total cost of ownership is low, these characteristics of open source code especially, many middle-size and small-size websites have selected MySQL as site databases in order to reduce the website total cost of ownership.Because these characteristics of MySQL can be applicable to various medium and small databases very easily, and the supvr can pass through Web interface management database, is particularly useful for remittance and the remittance abroad of mass data.And it is applicable to the webpage servomechanism well, can be easily at any one local telemanagement database of realizing.
Yet the foundation along with remote data base, its safe and stable problem is just following, namely how to guarantee as much as possible the operation that remote data base is continual and steady, and when network connection fault or database failure occur, the function that how to guarantee system can find application, and becomes the problem that people are concerned about.
There is an effective solution to be known as dual computer group (HA) system, dual computer group (HA) system is a kind of server cluster system solution of high reliability, a standby server namely is provided, when master server breaks down when can't use, process is transferred on the standby server, so that the server downtime is shortened as far as possible.Avoid the user is produced too much loss.
But in the toy data base management system that MySQL provides, a little less than the design relative thin for the HA link, often stop using owing to Single Point of Faliure causes whole database server, cause service disruption.Report according to the issue of U.S. parallel computing company points out that planned and unexpected database is shut down the revenue losses that causes and per hour is generally $ 78,000.
Therefore, in the small and medium databases management system of using MySQL, provide data, services with how guaranteeing steady and continuous, become a problem in the urgent need to address.
Summary of the invention
The objective of the invention is for better in the toy data base management system, solve stable continue data, services is provided, and ensure connect accurately and validity.
The database failure that provides of the present invention detects and transfer method automatically, and the scheme of taking is as follows:
The invention provides a kind of database failure and automatically detect and transfer method, dispose client (100), buffer memory (200), MDHA module (210), management end (500) and a plurality of database servers group (300,400), wherein:
Be master server (300) and from server (400) with the server component;
The MDHA module (210) that is provided with between client (100) and the database, is set up and is detected thread when the connection of client starts for detection of database;
When operation, client (100) detects master server (300) by MDHA module (210);
When detecting master server (300) when unusual, MDHA module (210) automatically switches to the access of client from server;
After master server recovered, middle access with client switched to master server.
Above-mentioned database failure automatically detects and transfer method, wherein, is provided with database server parallel more than three in each server group, comprising a master server and many from server.
Above-mentioned database failure detects and transfer method automatically, and wherein, the master server in the described same server group is with synchronous by MySQL system synchronization module realization data from server.
Above-mentioned database failure automatically detects and transfer method, wherein, after described master server fault, switch by substituting master server work from server, and former master server switches to from server, and it is synchronous to carry out data with new server master slave relation again.
Above-mentioned database failure detects and transfer method automatically, wherein, when the master server abnormal state, and detects from server also abnormal state, then sends the disabled notice of server to client.
Above-mentioned database failure automatically detects and transfer method, and wherein, after client sent the disabled notice of server, the MDHA module continued to detect that to search in this server group other available from server.
Above-mentioned database failure automatically detects and transfer method, and wherein, the distribution of MDHA module is by the HASH policy calculation, and server address is confirmed and pointed to.
Above-mentioned database failure detects and transfer method automatically, wherein, described HASH strategy is the MD5 algorithm, transmit a user name as request by client, the MDHA module calculates the MD5 value of this user name of client transmission subsequently, according to current database configuration, carries out segmentation or delivery by the MD5 value, thereby find the database server of depositing corresponding data, make client be connected to correct server.
Above-mentioned database failure detects and transfer method automatically, and wherein, the MDHA module detects in real time to database server, and its frequency is that per second detects a server state.
Above-mentioned database failure detects and transfer method automatically, wherein, also comprises the steps:
Step 1: client (100) and caching server (200) UNICOM, invokes thread reads while write caching server (200) according to the HASH strategy immediately;
Step 2: upgraded the thread of caching server, simultaneously the relevant updates content has been write journal file;
Step 3: open same 1 pair 1 thread simultaneously according to journal file asynchronism and concurrency new database more.
Step 4: the log file update is to the situation of database;
Step 5:MDHA detection module, the running status of detection master server (300);
Step 6: when master server (300) but the time spent, then all read-write threads all point to master server, by caching server and client realization reading and writing data; If detect master server (300) when unavailable, suspend immediately the read-write requests of oriented master server;
Step 7: detect the situation from server (400);
Step 8: the change by MDHA is pointed to, and the whole read requests of connection of the client (100) after master server (300) is unusual all are directed to from server;
Step 9: the data base administrator locates by the MDHA module returning to form of database master server (300) to be judged at data base administration end (500);
Step 10; Exchange by the address with former master server (300) from server (400), become new master server, open simultaneously and write database thread;
Step 11: recover when data base administration end (500) detects master server (300) by MDHA, then open and recover the database thread of writing to master server, and again all read-write requests are pointed to master server again, continue by buffer memory (200) master server (500) to be carried out database and read and write.
Database failure of the present invention detects and transfer method automatically, can be applied to adopt the small and medium databases management system of MySQL system, can ensure the continuity of webserver service operation, improves reliability.
In addition, MDHA is with respect to other HA software, can detect the various abnormality of MySQL, comprise global lock, a series of database down states such as read-only, and can switch moment, and rear the administrative mechanism of MDHA, for state is cut control, the active and standby switching of server, the Web operation sublimity that manual operation is provided convenience.
Description of drawings
Fig. 1 is the module diagram of the automatic detection of database failure of the present invention and transfer system.
Fig. 2 is the process flow diagram of the automatic detection of database failure of the present invention and transfer method;
Embodiment
As shown in Figure 1, the synoptic diagram that respectively forms module for the automatic detection of database failure of the present invention and transfer system, it comprises, user side 100, buffer memory (Cache) server 200, database master (Master) server 300, database is from (Slave) server 400, and management end 500.Database server of the present invention adopts two redundancy structures of Master/Slave, and the Slave server is also configurable many simultaneously, and the data between the database are implemented synchronously strict, and are consistent with the data of guaranteeing Master server and Slave server.In addition, caching server 200 of the present invention directly is connected with a plurality of independently user sides 100 by the internet, and carries out data transmission; The related data of user side is all by caching server 200 subsequently, and data are synchronous with carrying out between the database server (300,400), comprises reading and writing, upgrades operation.Simultaneously, has MDHA (based on the HA system that is applied to the MySQL distributed database of MD algorithm) module 210 in the caching server 200, described MDHA module 210 inside comprise the MDHA access interface of customization, client 500 can be carried out transparent access to database server by this access interface, and carry out alternately with database server, the MDHA interface for client is distributed corresponding server, can have access to correct database server to guarantee client according to the strategy of setting.This MDHA inside modules also comprises a fault detection module, in order to Test database server (300,400), per second can carry out one-time detection to database server, if find that current database can't use, can learn immediately and upgrade the current database work state information.MDHA module 210 is connected with management end 500, and can manage by management end 500, as carries out parameter setting, manual operation, modification etc.In addition, this MDHA inside modules also comprises an administration module, externally provides a udp port for monitoring.Any inquiry of 500 couples of MDHA of management end, the management such as modification can be undertaken by this udp port.
In addition, described management end 500 can be by record and the journal file that calls the MDHA module, the state of Query Database server.Simultaneously, the various recorded informations of MDHA be connected with management end 500 by a web port, and management end also can manage MDHA by this web port.
The present invention also provides a kind of database failure automatically to detect and transfer method, is used for guaranteeing that client can have access to correct database server.In the client terminal start-up process, the MDHA module all records a Status Flag to the master server of database with from server, init state is " ok " or " normally ", when detecting any abnormality subsequently, then corresponding abnormality is illustrated in the server state sign, such as " authority is unusual ", " database lock ", " the network response slowly ", " network disconnection " etc.In each request of client, a user name (by the client input) is transmitted in the capital, caching server 200 receives this username information, pass through again the calculating of MDHA module, obtain the MD5 value of this user name, according to the configuration of current database, find corresponding database servers group, database servers group comprises that at least one master (Master) server 300 and at least one are from (Slave) server 400.The calculative strategy of MDHA module is the HASH calculative strategy, especially preferably adopts the MD5 algorithm, according to two kinds of strategies of the segmentation of MD5 value and delivery, indicates respectively herein.When the primary server database normal operation, the MDHA module is routed to master server with the request of client; When the master server operation exception, Update Table storehouse respective flag (such as the IP address) at once; And to detecting from server, if normal from server, then the request of access with client is routed to the server from (Slave).And simultaneously master (Master) server is continued to detect, in case main (Master) server working properly after, by the interface of MDHA module, the Master server is switched back in the access of client.
It is transfer method that database failure of the present invention detects automatically, comprises the steps:
A) with the server component be main (Master) server and from (Slave) server;
B) be provided with the intermediate module with measuring ability between client and the database, such as the MDHA module, for detection of database, when the connection of client starts, set up and detect thread;
C) when operation, client detects master server by intermediate module;
D) when detecting master server when unusual, intermediate module automatically switches to the access of client from server;
E) after master server recovers, middle access with client switches to master server.
Database of the present invention need keep strict synchronously, namely lead (Master) server and should be consistent as far as possible from the interior storage information of (Slave) server database.Generally, when all normally moving when master server with from server, realize that by the synchronization module of MySQL system data are synchronous.Behind the master server abnormal state, be routed to from server by the access of MDHA module with database, after master server recovers, with be switched substitute master server from server as new master server, original master server is then as from server, both are all after the normal operation, and it is synchronous again to carry out data.Simultaneously, this kind master server and reversible from servers switch namely when new master server breaks down, also can switch back it from server, and will become master server from Server switching.The master server of this Dual Computers Cluster System and should be approaching as far as possible from the performance configuration of server, unstable with the Internet Transmission avoiding causing owing to master and slave Server switching.
As shown in Figure 2, the process flow diagram for the automatic detection of the preferred database failure of the present invention and transfer method wherein, specifically comprises following these steps:
Step 1: client 100 and caching server 200 UNICOMs, invokes thread reads while write buffer memory (Cache) server 200 according to HASH strategy (hashing algorithm) immediately.Wherein, the general MD5 algorithm of the preferred employing of HASH strategy of the present invention, concrete, client transmits a user name as request, the MDHA module then calculates the MD5 value of this user name of client transmission, according to current database configuration, carries out segmentation or delivery by the MD5 value, thereby find the database server of depositing corresponding data, make client be connected to correct server.
Step 2: upgraded the thread of caching server, simultaneously the relevant updates content has been write journal file (LOG).
Step 3: open same 1 pair 1 thread simultaneously according to journal file (LOG) asynchronism and concurrency new database (DB) more.
Step 4: log file (LOG) is updated to the situation of database (DB), as: be recorded in another journal file or the server.
Step 5:MDHA detection module, to the running status of master (Master) server 300, per second carries out one-time detection, to detect the various abnormality of server.Abnormality generally has two kinds, and a kind of MySQL of being can provide the unusual of response, and can identify this moment according to the return code that MySQL provides, to judge concrete abnormal conditions.Unusual or database table can be identified by the response of abnormal conditions such as locking such as the current database authority.In the another kind of situation, MySQL does not provide response, and whether whether this kind unusual condition by a normal timeout value that sets in advance, surpasses this timeout value according to the response time of detecting a request signal, unusual to learn server.The MySQL process withdraws from as working as, current network is blocked up, and in the situation that low-response or network disconnect, by comparing new response time and an acceptable timeout value of asking that sends, draws the unusual result of network state.
Step 6: as master (Master) but 300 times spent of server, then all read-write threads all point to master server, by caching server and client realization reading and writing data.It is unusual no matter which kind of occurs, once detect main (Master) server 300 unavailable after, suspend immediately the read-write requests of oriented master server, and these requests are retained in the buffer memory.
Step 7: detect the situation from (Slave) server 400, if from (Slave) server in order, then by two-shipper (HA) group system, all write into Databasce request failures of mark, all write former database server, and (for example: thread master server 300) all stops, and the MDHA module will be pointed to from server 400 from all read requests that client is received simultaneously.If also unusual from server state, then by buffer memory (Cache) server, the disabled information of server is sent to client 100.
Step 8: the change by MDHA is pointed to, and the whole read requests of connection of the clients after master server 300 is unusual all are directed to from server, thus latter linked new user, the client 100 by separately is all by from server continuation reading out data.And before the master server abnormal state, the old user who has been connected with master server 300, by its client 100, by from master server 300, calling in the user data in buffer memory (Cache) storer 200, continue the thread of reading of realization and these clients.
Step 9; The data base administrator judges returning to form of database master (Master) server 300 by the MDHA module at data base administration end 500 places, if the data base administrator of management end 500 judges that master server needs can to recover for a long time or is unavailable, then directly change master server 300 by management end 500 and from the IP address of server 400, be that both point to the address, exchange heavy duty configuration (Reload conf.).
Step 10: exchange by the address with former master (Master) server 300 from (Slave) server 400, become new " master " (Master) server, open simultaneously and write database thread, by client 100 write request is imported (former in server) in the new master server.
Step 11: recovered when data base administration end 500 detects master server 300 by MDHA, then open and recover the database thread of writing to master server, and again all read-write requests are pointed to master server again, continue to carry out database by 200 pairs of master servers of buffer memory 500 and read and write.

Claims (9)

1. a database failure detects and transfer method automatically, disposes client (100), buffer memory (200), and MDHA module (210), management end (500) and a plurality of database servers group (300,400) is characterized in that:
Be master server (300) and from server (400) with the server component;
The MDHA module (210) that is provided with between client (100) and the database, is set up and is detected thread when the connection of client starts for detection of database;
When operation, client (100) detects master server (300) by MDHA module (210);
When detecting master server (300) when unusual, MDHA module (210) automatically switches to the access of client from server;
After master server recovered, middle access with client switched to master server;
Wherein, also comprise: step 1: client (100) and caching server (200) UNICOM, invokes thread reads while write caching server (200) according to the HASH strategy immediately;
Step 2: upgraded the thread of caching server, simultaneously the relevant updates content has been write journal file;
Step 3: open same 1 pair 1 thread simultaneously according to journal file asynchronism and concurrency new database more;
Step 4: the log file update is to the situation of database;
Step 5:MDHA module detects the running status of master server (300);
Step 6: when master server (300) but the time spent, then all read-write threads all point to master server, by caching server and client realization reading and writing data; If detect master server (300) when unavailable, suspend immediately the read-write requests of oriented master server;
Step 7: detect the situation from server (400);
Step 8: the change by the MDHA module is pointed to, and the whole read requests of connection of the client (100) after master server (300) is unusual all are directed to from server;
Step 9: the data base administrator locates by the MDHA module returning to form of database master server (300) to be judged at data base administration end (500);
Step 10: exchange by the address with former master server (300) from server (400), become new master server, open simultaneously and write database thread;
Step 11: recover when data base administration end (500) detects master server (300) by the MDHA module, then open and recover the database thread of writing to master server, and again all read-write requests are pointed to master server again, continue by buffer memory (200) master server (500) to be carried out database and read and write;
Wherein, described MDHA module is the HA system that is applied to the MySQL distributed database based on the MD algorithm.
2. database failure as claimed in claim 1 automatically detects and transfer method, it is characterized in that, is provided with database server parallel more than three in each server group, comprising a master server and many from server.
3. database failure as claimed in claim 2 detects and transfer method automatically, it is characterized in that, the master server in the described same server group is with synchronous by MySQL system synchronization module realization data from server.
4. database failure as claimed in claim 3 detects and transfer method automatically, it is characterized in that, after described master server fault, switch by substituting master server work from server, and former master server switches to from server, and it is synchronous to carry out data with new server master slave relation again.
5. automatically detect and transfer method such as the described database failure of any one in the claim 1 to 4, it is characterized in that, when the master server abnormal state, and detect from server also abnormal state, then send the disabled notice of server to client.
6. database failure as claimed in claim 5 automatically detects and transfer method, it is characterized in that, after client sent the disabled notice of server, the MDHA module continued to detect that to search in this server group other available from server.
7. database failure as claimed in claim 3 automatically detects and transfer method, it is characterized in that, the distribution of MDHA module is by the HASH policy calculation, and server address is confirmed and pointed to.
8. database failure as claimed in claim 7 detects and transfer method automatically, it is characterized in that, described HASH strategy is the MD5 algorithm, transmit a user name as request by client, the MDHA module calculates the MD5 value of this user name of client transmission subsequently, according to current database configuration, carries out segmentation or delivery by the MD5 value, thereby find the database server of depositing corresponding data, make client be connected to correct server.
9. database failure as claimed in claim 1 detects and transfer method automatically, it is characterized in that the MDHA module detects in real time to database server, and its frequency is that per second detects a server state.
CN 200910050435 2009-04-30 2009-04-30 Database fault automatic detection and transfer method Active CN101876924B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910050435 CN101876924B (en) 2009-04-30 2009-04-30 Database fault automatic detection and transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910050435 CN101876924B (en) 2009-04-30 2009-04-30 Database fault automatic detection and transfer method

Publications (2)

Publication Number Publication Date
CN101876924A CN101876924A (en) 2010-11-03
CN101876924B true CN101876924B (en) 2013-10-30

Family

ID=43019485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910050435 Active CN101876924B (en) 2009-04-30 2009-04-30 Database fault automatic detection and transfer method

Country Status (1)

Country Link
CN (1) CN101876924B (en)

Families Citing this family (53)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541885A (en) * 2010-12-10 2012-07-04 中国移动通信集团浙江有限公司 Method and device for detecting database blockage
CN102571834A (en) * 2010-12-15 2012-07-11 金华六度信息科技有限公司 WEB instant messaging system based on server push technology, and method
CN102194009B (en) * 2011-06-09 2013-06-05 北京新媒传信科技有限公司 Database hosting method and database hosting platform system
CN102841895B (en) * 2011-06-22 2015-06-24 阿里巴巴集团控股有限公司 Method and system for processing database state transition
WO2012149750A1 (en) * 2011-09-19 2012-11-08 华为技术有限公司 User service migration method, device and system
CN102307115A (en) * 2011-09-21 2012-01-04 大唐移动通信设备有限公司 Method and device for recovering fault entity
CN102752164B (en) * 2011-10-19 2017-12-29 新奥特(北京)视频技术有限公司 A kind of switching method and system of the two-node cluster hot backup of scoring system
CN102420708A (en) * 2011-12-16 2012-04-18 广东高新兴通信股份有限公司 Load balancing processing system of service data and method thereof
CN102541693A (en) * 2011-12-31 2012-07-04 曙光信息产业股份有限公司 Multi-copy storage management method and system of data
CN102629260A (en) * 2012-02-29 2012-08-08 浪潮(北京)电子信息产业有限公司 Processing method, device and system for database collapse
CN103425645B (en) * 2012-05-14 2017-03-01 阿里巴巴集团控股有限公司 The monitoring system and method for single point of failure of database cluster
CN103516668B (en) * 2012-06-20 2017-03-01 中国银联股份有限公司 The data processing server being reconnected based on broadcast data storehouse and broadcast data storehouse reconnection method
CN102779191B (en) * 2012-07-03 2015-09-02 互动在线(北京)科技有限公司 A kind of system that realizes of MySQL database smooth upgrade and implementation method
CN103780417B (en) * 2012-10-23 2018-10-26 上海盛大网络发展有限公司 A kind of database failure transfer method and device based on cloud hard disk
CN103049348B (en) * 2012-12-21 2016-03-16 四川川大智胜软件股份有限公司 The method that under multiserver environment, data fault-tolerant stores
CN103346903B (en) * 2013-06-20 2017-02-15 北京捷成世纪科技股份有限公司 Dual-machine backup method and device
CN104252500B (en) * 2013-06-29 2017-11-28 北京新媒传信科技有限公司 The fault repairing method and device of a kind of database management platform
CN104252485B (en) * 2013-06-29 2017-08-04 北京新媒传信科技有限公司 A kind of database management platform
CN104348842B (en) * 2013-07-23 2019-03-15 腾讯科技(深圳)有限公司 Distributed memory system method for routing, routing management server and system
CN104601354B (en) * 2013-10-31 2019-05-17 深圳市腾讯计算机系统有限公司 A kind of business diary storage method, apparatus and system
CN103793538A (en) * 2014-03-06 2014-05-14 赛特斯信息科技股份有限公司 System and method for realizing restoration of web service in case of crash of database
CN104216943A (en) * 2014-06-24 2014-12-17 用友优普信息技术有限公司 Method and device for automatically collecting blockage information to facilitate post analysis on database blockage
CN105404633B (en) * 2014-09-16 2018-06-19 无锡科技职业学院 A kind of client-based database multi-point backup system and its backup method
CN104506353A (en) * 2014-12-23 2015-04-08 北京奇虎科技有限公司 Authentication management method, equipment and system
CN104679604A (en) * 2015-02-12 2015-06-03 大唐移动通信设备有限公司 Method and device for switching between master node and standby node
KR101717360B1 (en) * 2015-07-30 2017-03-16 엘에스산전 주식회사 Apparatus and method for managing of data base in energy management system
CN105159944A (en) * 2015-08-10 2015-12-16 北京思特奇信息技术股份有限公司 Database emergency handling method and system
JP2017101974A (en) * 2015-11-30 2017-06-08 株式会社東芝 Data logger and program applied to the same
CN106897288B (en) * 2015-12-18 2021-01-08 阿里巴巴集团控股有限公司 Service providing method and system for database
CN105429826A (en) * 2015-12-25 2016-03-23 北京奇虎科技有限公司 Fault detection method and device for database cluster
CN105554143A (en) * 2015-12-25 2016-05-04 浪潮(北京)电子信息产业有限公司 High-availability cache server and data processing method and system thereof
CN106254103B (en) * 2016-07-28 2019-08-16 北京国电通网络技术有限公司 A kind of dynamically configurable method and device of RTMP group system
CN106161644B (en) * 2016-08-12 2021-11-02 珠海格力电器股份有限公司 Distributed system for data processing and data processing method thereof
CN107870830B (en) * 2016-09-23 2021-07-20 北京京东尚科信息技术有限公司 Method and device for improving availability of database
CN108154045B (en) * 2016-12-02 2019-11-26 中科星图股份有限公司 A method of creation authentic data library
CN108259259A (en) * 2016-12-29 2018-07-06 北京国双科技有限公司 Cluster stability diagnostic method and device
CN106776157A (en) * 2017-01-19 2017-05-31 国网山东省电力公司滨州供电公司 It is used for the device of big customer's power supply service in a kind of electric power system
CN106919478B (en) * 2017-03-07 2020-12-01 中国建设银行股份有限公司 Website page element backup method and system
CN107066354B (en) * 2017-04-18 2021-01-05 中国银联股份有限公司 Database switching method, master server and slave server
CN107480014B (en) * 2017-07-24 2021-01-01 奇安信科技集团股份有限公司 High-availability equipment switching method and device
CN109491830A (en) * 2017-09-12 2019-03-19 北京京东尚科信息技术有限公司 The method and system in switch data source
CN108134854A (en) * 2017-12-15 2018-06-08 江苏神州信源系统工程有限公司 A kind of hot spare method and system based on NAT technologies
CN110019484B (en) * 2018-01-04 2023-06-02 腾讯科技(深圳)有限公司 Database system, implementation method, management device, data interface device and medium
CN108259242B (en) * 2018-01-12 2022-08-12 深圳市卓讯信息技术有限公司 Data exchange management method, terminal, system and computer readable storage medium based on dual-computer disaster recovery backup guarantee mechanism
CN108647113B (en) * 2018-03-30 2022-02-18 创新先进技术有限公司 Disaster recovery method and server
CN108959604B (en) * 2018-07-13 2020-11-10 浙江彩虹鱼科技有限公司 Method, apparatus and computer readable storage medium for maintaining database cluster
PL3617887T3 (en) * 2018-08-27 2021-09-27 Ovh Method and system for providing service redundancy between a master server and a slave server
CN109474674B (en) * 2018-10-26 2021-06-25 腾讯科技(成都)有限公司 Content transmission method and device, storage medium and electronic device
CN110347343B (en) * 2019-07-16 2020-09-18 珠海格力电器股份有限公司 Data management method and device
CN111414247A (en) * 2020-04-24 2020-07-14 北京金山云网络技术有限公司 Server switching method, device, management node and storage medium
CN111641716B (en) * 2020-06-01 2023-05-02 第四范式(北京)技术有限公司 Self-healing method of parameter server, parameter server and parameter service system
CN111966488B (en) * 2020-07-17 2024-04-23 北京思特奇信息技术股份有限公司 Interface gateway multi-center application system and method
CN114661827A (en) * 2022-05-23 2022-06-24 武汉四通信息服务有限公司 Database taking-over method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1371058A (en) * 2001-02-22 2002-09-25 北京北信源自动化技术有限公司 Hot mirror image base driven hot back-up method of server data
CN201497981U (en) * 2009-04-30 2010-06-02 升东网络科技发展(上海)有限公司 Database failure automatic detecting and shifting system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002312312A (en) * 2001-04-13 2002-10-25 Kit Asp:Kk Application service method using network constitution of logical hierarchical structure and application server system
US8341120B2 (en) * 2003-09-05 2012-12-25 Oracle International Corporation Apparatus and methods for transferring database objects into and out of database systems

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1371058A (en) * 2001-02-22 2002-09-25 北京北信源自动化技术有限公司 Hot mirror image base driven hot back-up method of server data
CN201497981U (en) * 2009-04-30 2010-06-02 升东网络科技发展(上海)有限公司 Database failure automatic detecting and shifting system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2002-312312A 2002.10.25

Also Published As

Publication number Publication date
CN101876924A (en) 2010-11-03

Similar Documents

Publication Publication Date Title
CN101876924B (en) Database fault automatic detection and transfer method
CN201497981U (en) Database failure automatic detecting and shifting system
EP3352433B1 (en) Node connection method and distributed computing system
US9753954B2 (en) Data node fencing in a distributed file system
US7076691B1 (en) Robust indication processing failure mode handling
US9734025B2 (en) Automatic client side seamless failover
EP2435916B1 (en) Cache data processing using cache cluster with configurable modes
CN100547558C (en) The method and system of the redundancy protecting in the concurrent computational system
US9286298B1 (en) Methods for enhancing management of backup data sets and devices thereof
WO2017177941A1 (en) Active/standby database switching method and apparatus
US6910150B2 (en) System and method for state preservation in a stretch cluster
US11892922B2 (en) State management methods, methods for switching between master application server and backup application server, and electronic devices
CN109101364B (en) Double-center double-activity data processing system and method
CN111787055B (en) Redis-based transaction mechanism and multi-data center oriented data distribution method and system
CN109194753B (en) Method for processing event in service grid
CN111740877B (en) Link detection method and system
CN112118130A (en) Self-adaptive distributed cache master/standby state information switching method and device
CN113360579A (en) Database high-availability processing method and device, electronic equipment and storage medium
CN108512753B (en) Method and device for transmitting messages in cluster file system
CN113961397A (en) High-availability cluster disaster tolerance method based on backup disaster tolerance system
CN111309515A (en) Disaster recovery control method, device and system
CN113065963A (en) Futures chairman trading system
CN112650629A (en) Block chain index data recovery method, device, equipment and computer storage medium
CN105323271A (en) Cloud computing system, and processing method and apparatus thereof
EP3167372B1 (en) Methods for facilitating high availability storage services and corresponding devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160526

Address after: 201800, room 8, building 25, 2260 North Street, Wai Gang Town, Shanghai, Jiading District

Patentee after: Shanghai spades Interactive Network Technology Co., Ltd.

Address before: 2415 room 2, Gangcheng Road, Pudong New Area, Shanghai, 201204

Patentee before: Shengdong Network Technology Development (Shanghai) Co., Ltd.