CN105045678B - Database restoring method and device - Google Patents

Database restoring method and device Download PDF

Info

Publication number
CN105045678B
CN105045678B CN201510400419.0A CN201510400419A CN105045678B CN 105045678 B CN105045678 B CN 105045678B CN 201510400419 A CN201510400419 A CN 201510400419A CN 105045678 B CN105045678 B CN 105045678B
Authority
CN
China
Prior art keywords
library
data
master
master library
executed
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
CN201510400419.0A
Other languages
Chinese (zh)
Other versions
CN105045678A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510400419.0A priority Critical patent/CN105045678B/en
Publication of CN105045678A publication Critical patent/CN105045678A/en
Application granted granted Critical
Publication of CN105045678B publication Critical patent/CN105045678B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention discloses embodiment and provides a kind of database restoring method and device, the Database Systems for being formed by master library and from library, when initial described in data from library it is identical as the data of the master library;The method includes:Completed operation on the master library is obtained in chronological order;After getting the operation every time, identical operation is executed from library described after delay preset duration based on the deadline of the operation currently obtained;When the master library when the error occurs, determining leads to the faulty operation of mistake;Judge whether the faulty operation has executed described from library;If the faulty operation is not yet executed described from library, the data of the master library are restored using the data from library.The scheme that the present invention discloses embodiment can be with the state of the previous operation of Exact recovery to faulty operation, this just largely avoids the loss of data, loss is reduced to it is as small as possible, improve database operation when safety and reliability.

Description

Database restoring method and device
Technical field
The present invention, which discloses, is related to database technology more particularly to database restoring method and device.
Background technology
In the operating with of database, inevitably it will appear due to the reasons such as software program problem or attended operation error Data in database have been carried out the modification of mistake by the case where performing the database operating instruction of mistake.These maloperations are light Then influence data accuracy, it is heavy then lead to heavy economic losses, such as order information mistake, user account remaining sum mistake etc..
In the related art, it in order to retrieve a loss when there is maloperation, eliminates the effects of the act, traditional method is mostly Timed backup database, such as backup is primary daily, it, can be by database recovery to when backup then when needing to restore data State.
Invention content
To overcome the problems in correlation technique, the present invention discloses a kind of database restoring method of offer and device, with Promote safety and reliability when database operation.
According to the present invention disclose embodiment in a first aspect, provide a kind of database restoring method, the method for by Master library and the Database Systems formed from library, when initial described in data from library it is identical as the data of the master library;The method Including:
Completed operation on the master library is obtained in chronological order;
After getting the operation every time, postpone preset duration based on the deadline of the operation currently obtained Execute identical operation from library described afterwards;
When the master library when the error occurs, determining leads to the faulty operation of mistake;
Judge whether the faulty operation has executed described from library;
If the faulty operation is not yet executed described from library, using the data from library to the master library Data are restored.
Optionally, described to obtain completed operation on the master library in chronological order, including:
Sequence reads the operation being documented in master library operation log.
Optionally, it is described based on the deadline of the operation currently obtained postpone preset duration after it is described from Identical operation is executed on library, including:
Obtain the current time from library;
When whether the difference of the deadline and the current time that judge the operation currently obtained are less than described default It is long;
If it is less than the preset duration, then return acquisition it is described from the current time in library the step of;
If it is greater than or equal to the preset duration, then identical operation is executed with the operation from library described.
Optionally, described that the data of the master library are restored from the data in library described in, including:
It is described the faulty operation has been executed from library before operation;
The data of the master library are repaired using the data current from library, so that the data of the master library are restored State to before the execution faulty operation.
Optionally, the method further includes:
It is modified to the preset duration according to the input of user.
According to the second aspect of the embodiment of the present disclosure, a kind of database recovery device is provided, described device is used for by master library With the Database Systems formed from library, when initial described in data from library it is identical as the data of the master library;Described device includes:
Master library operation acquisition module is got every time for obtaining completed operation on the master library in chronological order After the operation, trigger from library async backup module;
From library async backup module, the deadline for operating the operation that acquisition module currently obtains with master library is Basis described executes identical operation after postponing preset duration from library;
Recovery judgment module is used to work as the master library when the error occurs, the determining faulty operation for leading to mistake, described in judgement Whether faulty operation has executed described from library, if the faulty operation is not yet executed described from library, triggers Data recovery module;
Data recovery module described is restored the data of the master library from the data in library for using.
Optionally, the master library operation acquisition module includes:
Sequence reading submodule reads the operation being documented in master library operation log for sequence;
Backup triggering submodule triggers after getting the operation every time from library async backup module.
Optionally, described to include from library async backup module:
Time acquisition submodule, for obtaining the current time from library;
Time compares submodule, deadline and the current time of the operation for judging to judge currently to obtain Difference whether be less than the preset duration, if it is less than the preset duration, then triggered time acquisition submodule, if it is greater than or Equal to the preset duration, then identical operation is executed with the operation from library described.
Optionally, the data recovery module includes:
Restore prepare submodule, for it is described the faulty operation has been executed from library before operation;
Data repair submodule, for use it is described the data of the master library are repaired from the current data in library, with The data of the master library are made to be restored to the state before executing the faulty operation.
Optionally, described device further includes:
Duration modified module, for being modified to the preset duration according to the input of user.
According to the third aspect of the embodiment of the present disclosure, a kind of database recovery device is provided, described device is used for by master library With the Database Systems formed from library, when initial described in data from library it is identical as the data of the master library, described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Completed operation on the master library is obtained in chronological order;
After getting the operation every time, postpone preset duration based on the deadline of the operation currently obtained Execute identical operation from library described afterwards;
When the master library when the error occurs, determining leads to the faulty operation of mistake;
Judge whether the faulty operation has executed described from library;
If the faulty operation is not yet executed described from library, using the data from library to the master library Data are restored.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the related art, when occur mistake need restore data when because very may be used between current time and backup time Many operations can be had occurred that, but the relevant technologies can only be restored to backup time, it is possible that the loss of data can be caused.And In disclosure scheme, the state of the previous operation of faulty operation can be restored to.In other words, the relevant technologies are restoring data When may be only accurate to previous " moment ", and disclosure scheme then can be as accurate as previous " operation ", this just largely keeps away The loss for having exempted from data, loss is reduced to it is as small as possible, improve database operation when safety and reliability.
It should be understood that above general description and following detailed description is only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the present invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is a kind of flow chart of database restoring method shown according to an exemplary embodiment;
Fig. 2 is to replicate the schematic diagram that master library operates from library according to shown in an exemplary embodiment;
Fig. 3 is a kind of flow chart of database restoring method shown according to an exemplary embodiment;
Fig. 4 is a kind of flow chart of database restoring method shown according to an exemplary embodiment;
Fig. 5 is a kind of block diagram of database recovery device shown according to an exemplary embodiment;
Fig. 6 is a kind of block diagram of database recovery device shown according to an exemplary embodiment;
Fig. 7 is a kind of block diagram of database recovery device shown according to an exemplary embodiment;
Fig. 8 is a kind of block diagram of database recovery device shown according to an exemplary embodiment;
Fig. 9 is a kind of block diagram of database recovery device shown according to an exemplary embodiment;
Figure 10 is a kind of block diagram of device for database recovery shown according to an exemplary embodiment.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects being described in detail in claims, of the invention.
Fig. 1 is a kind of flow chart of database restoring method shown according to an exemplary embodiment.The method is available In the Database Systems formed by master library and from library, when initial described in data from library it is identical as the data of the master library.
It is shown in Figure 1, the method may include:
In step S101, completed operation on the master library is obtained in chronological order.
For example, described obtain completed operation on the master library in chronological order, may include:
Sequence reads the operation being documented in master library operation log.
Usually after completing an operation on database, database can be sequentially recorded the lower operation in its operation log And the time completed.So reading the operation log of master library, completed operation on master library can be got one by one.
In step s 102, after getting the operation every time, using the deadline of the operation currently obtained as base Identical operation is executed from library described after plinth delay preset duration.
Two above step can be regarded as utilizing the process for backing up master library from library.
Execute the operation that operation identical with master library alternatively referred to as replicates master library.For size the present embodiment of preset duration And be not limited, user can be configured at the beginning as needed, such as could be provided as 30 minutes;In addition can also It is modified to the preset duration according to the input of user.
Backup database from library as master library, storage data identical with master library when initial.And backup procedure is then one Kind async backup also enables and occurring similarly from library during master library changes and (completes various operations on master library) Variation, and compared with master library, preset duration can be postponed from the variation in library, such as postpone 30 minutes.
As example, the scene can be found in shown in Fig. 2, and 201 be master library in fig. 2, and 202 be to be held from the operation on library, master library The operation log of master library is written after row, and can then read the operation log of master library by I/O threads from library, master library is grasped The operation made in daily record is written to from the pending operation list in library, in order passes through each operating delay after 30 minutes SQL threads are being executed from library.
It can be seen that, the operations on master library can also be replicated from library in table 1 with further reference to shown in table 1, and From the operating delay all more identical than on master library of the operation on library 30 minutes.
Table 1
Time Operation on master library From the operation on library
05:30 Operation 1
05:33 Operation 2
05:42 Operation 3
... ...
06:00 ... Operation 1
06:03 ... Operation 2
06:12 ... Operation 3
... ... ...
In step s 103, when the master library when the error occurs, determining leads to the faulty operation of mistake.
For example, can be positioned to faulty operation in the operation log of master library.
In step S104, judge whether the faulty operation has executed described from library.
In step S105, if the faulty operation is not yet executed described from library, the number from library is used Restore according to the data to the master library.
Three above step can be regarded as utilizing the process for restoring master library from library.
In this way when finding that master library occurs wrong, if mistake is in default after executing the faulty operation on master library It is found in length, namely finds to have not carried out identical faulty operation from library when mistake, then the mistake can be repaired, it can Master library is repaired using from the data in library, to retrieve the data of master library.
It should be noted that in some cases, if error detection is later, finding to have been carried out from library when mistake Identical faulty operation, then just needing other technologies to restore to master library, this kind of situation is not in the discussion model of the disclosure Within farmland.
It is shown in Figure 3, in the present embodiment or the disclosure other some embodiments, with the operation that currently obtains Identical operation is executed from library described after delay preset duration based on deadline, may include:
In step S301, the current time from library is obtained.
In step s 302, whether the difference of the deadline and the current time that judge the operation currently obtained are small In the preset duration;
In step S303, if it is less than the preset duration, then return to step S301.
In step s 304, it if it is greater than or equal to the preset duration, is then executed and the operation from library described Identical operation.
In some cases, it is desirable to when being restored, the operation to before faulty operation may be had not carried out from library, at this time For the state before enabling master library to be restored to faulty operation, the progress that master library is pulled up to from library can be made.For example, it is assumed that mistake Operation is operation 18, but is only carried out from library to operation 10, goes to operation 17 always from library then can first allow, that is, reaches main State of the library before executing operation 18, to allow master library by the state being restored to from library before operation 18.
So shown in Figure 4, in the present embodiment or the disclosure other some embodiments, the data from library are used The data of the master library are restored, may include:
In step S401, it is described the faulty operation has been executed from library before operation.
In step S402, the data of the master library are repaired using the data current from library, so that described The data of master library are restored to the state before executing the faulty operation.
In disclosure other embodiment, other modes can also be used using the data from library to the master certainly The data in library are restored, for example, it is also possible to enable the step of stopping executing master library from library when the error occurs, then use from library On data master library is repaired, then the step of before having executed faulty operation on master library, to can also make the number of master library According to the state being restored to before executing the faulty operation.To this present embodiment and it is not limited.
In the related art, when occur mistake need restore data when because very may be used between current time and backup time Many operations can be had occurred that, but the relevant technologies can only be restored to backup time, it is possible that the loss of data can be caused.And In disclosure scheme, the state of the previous operation of faulty operation can be restored to.In other words, the relevant technologies are restoring data When may be only accurate to previous " moment ", and disclosure scheme then can be as accurate as previous " operation ", this just largely keeps away The loss for having exempted from data, loss is reduced to it is as small as possible, improve database operation when safety and reliability.
Fig. 5 is a kind of block diagram of database recovery device shown according to an exemplary embodiment.Described device be used for by Master library and the Database Systems formed from library, when initial described in data from library it is identical as the data of the master library.
Shown in Figure 5, described device includes:
Master library operates acquisition module 501, for obtaining completed operation on the master library in chronological order, obtains every time To after the operation, trigger from library async backup module;
From library async backup module 502, when the completion of the operation for currently being obtained with master library operation acquisition module Between based on, described identical operation is executed from library after postponing preset duration;
Restore judgment module 503, for working as the master library when the error occurs, determines the faulty operation for leading to mistake, judge Whether the faulty operation has executed described from library, if the faulty operation is not yet executed described from library, Trigger data recovery module;
Data recovery module 504 described is restored the data of the master library from the data in library for using.
It is shown in Figure 6, it is described from library async backup module in the present embodiment or the disclosure other some embodiments 502 may include:
Time acquisition submodule 601, for obtaining the current time from library;
Time compares submodule 602, deadline of the operation for judging to judge currently to obtain with it is described currently Whether the difference of time is less than the preset duration, if it is less than the preset duration, then triggered time acquisition submodule, if greatly In or equal to the preset duration, then identical operation is executed with the operation from library described.
Shown in Figure 7, in the present embodiment or the disclosure other some embodiments, the data recovery module 504 can To include:
Restore prepare submodule 701, for it is described the faulty operation has been executed from library before operation;
Data repair submodule 702, for use it is described the data of the master library are repaired from the current data in library, So that the data of the master library are restored to the state before executing the faulty operation.
Shown in Figure 8, in the present embodiment or the disclosure other some embodiments, the master library operates acquisition module 501 may include:
Sequence reading submodule 801 reads the operation being documented in master library operation log for sequence;
Backup triggering submodule 802 triggers after getting the operation every time from library async backup module.
Shown in Figure 9, in the present embodiment or the disclosure other some embodiments, described device can also include:
Duration modified module 505, for being modified to the preset duration according to the input of user.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
In the related art, when occur mistake need restore data when because very may be used between current time and backup time Many operations can be had occurred that, but the relevant technologies can only be restored to backup time, it is possible that the loss of data can be caused.And In disclosure scheme, the state of the previous operation of faulty operation can be restored to.In other words, the relevant technologies are restoring data When may be only accurate to previous " moment ", and disclosure scheme then can be as accurate as previous " operation ", this just largely keeps away The loss for having exempted from data, loss is reduced to it is as small as possible, improve database operation when safety and reliability.
The disclosure also discloses a kind of database recovery device, database of the described device for being formed by master library and from library System, when initial described in data from library it is identical as the data of the master library, described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Completed operation on the master library is obtained in chronological order;
After getting the operation every time, postpone preset duration based on the deadline of the operation currently obtained Execute identical operation from library described afterwards;
When the master library when the error occurs, determining leads to the faulty operation of mistake;
Judge whether the faulty operation has executed described from library;
If the faulty operation is not yet executed described from library, using the data from library to the master library Data are restored.
The disclosure also discloses a kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium by When the processor of equipment executes so that equipment is able to carry out a kind of database restoring method, the method be used for by master library and from The Database Systems of library composition, when initial described in data from library it is identical as the data of the master library, the method includes:
Completed operation on the master library is obtained in chronological order;
After getting the operation every time, postpone preset duration based on the deadline of the operation currently obtained Execute identical operation from library described afterwards;
When the master library when the error occurs, determining leads to the faulty operation of mistake;
Judge whether the faulty operation has executed described from library;
If the faulty operation is not yet executed described from library, using the data from library to the master library Data are restored.
Figure 10 is a kind of block diagram of device for database recovery shown according to an exemplary embodiment.For example, should Device 2900 may be provided as a server.
Referring to Fig.1 0, device 2900 includes processing component 2922, further comprises one or more processors, Yi Jiyou Memory resource representated by memory 2932, can be by the instruction of the execution of processing component 2922, such as using journey for storing Sequence.The application program stored in memory 2932 may include it is one or more each correspond to one group of instruction mould Block.In addition, processing component 2922 is configured as executing instruction, the method to execute above-mentioned server side.
Device 2900 can also include that a power supply module 2926 be configured as the power management of executive device 2900, one Wired or wireless network interface 2950 is configured as device 2900 being connected to network and input and output (I/O) interface 2958.Device 2900 can be operated based on the operating system for being stored in memory 2932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the present invention Its embodiment.This application is intended to cover the present invention any variations, uses, or adaptations, these modifications, purposes or Person's adaptive change follows the general principle of the present invention and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by appended Claim is pointed out.
It should be understood that the invention is not limited in the precision architectures for being described above and being shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (9)

1. a kind of database restoring method, which is characterized in that Database Systems of the method for being formed by master library and from library, Data described in when initial from library are identical as the data of the master library;The method includes:
Completed operation on the master library is obtained in chronological order;
After getting the operation every time, based on the deadline of the operation currently obtained postpone preset duration after It is described that identical operation is executed from library;
When the master library when the error occurs, determining leads to the faulty operation of mistake;
Judge whether the faulty operation has executed described from library;
If the faulty operation is not yet executed described from library, using the data from library to the data of the master library Restored;
It is described that the data of the master library are restored from the data in library described in, including:
It is described the faulty operation has been executed from library before operation;
The data of the master library are repaired using the data current from library, so that the data of the master library are restored to and hold State before the row faulty operation.
2. according to the method described in claim 1, it is characterized in that, it is described obtain in chronological order it is completed on the master library Operation, including:
Sequence reads the operation being documented in master library operation log.
3. according to the method described in claim 1, it is characterized in that, the deadline with the operation currently obtained be After basis delay preset duration identical operation is executed from library described, including:
Obtain the current time from library;
Whether the difference of the deadline and the current time that judge the operation currently obtained are less than the preset duration;
If it is less than the preset duration, then return acquisition it is described from the current time in library the step of;
If it is greater than or equal to the preset duration, then identical operation is executed with the operation from library described.
4. according to the method described in claim 1, it is characterized in that, the method further includes:
It is modified to the preset duration according to the input of user.
5. a kind of database recovery device, which is characterized in that Database Systems of the described device for being formed by master library and from library, Data described in when initial from library are identical as the data of the master library;Described device includes:
Master library operates acquisition module, for obtaining completed operation on the master library in chronological order, gets every time described After operation, trigger from library async backup module;
From library async backup module, the deadline of the operation for currently being obtained using master library operation acquisition module is base Plinth described executes identical operation after postponing preset duration from library;
Restore judgment module, for working as the master library when the error occurs, determines the faulty operation for leading to mistake, judge the mistake Whether operation has executed described from library, if the faulty operation is not yet executed described from library, trigger data Recovery module;
Data recovery module described is restored the data of the master library from the data in library for using;
The data recovery module includes:
Restore prepare submodule, for it is described the faulty operation has been executed from library before operation;
Data repair submodule, for use it is described the data of the master library are repaired from the current data in library so that institute The data for stating master library are restored to state before executing the faulty operation.
6. device according to claim 5, which is characterized in that the master library operates acquisition module and includes:
Sequence reading submodule reads the operation being documented in master library operation log for sequence;
Backup triggering submodule triggers after getting the operation every time from library async backup module.
7. device according to claim 5, which is characterized in that described to include from library async backup module:
Time acquisition submodule, for obtaining the current time from library;
Time compares submodule, the difference of the deadline and the current time of the operation for judging to judge currently to obtain Whether be less than the preset duration, if it is less than the preset duration, then triggered time acquisition submodule, if it is greater than or be equal to The preset duration then executes with the operation identical operation described from library.
8. device according to claim 5, which is characterized in that described device further includes:
Duration modified module, for being modified to the preset duration according to the input of user.
9. a kind of database recovery device, which is characterized in that Database Systems of the described device for being formed by master library and from library, Data described in when initial from library are identical as the data of the master library, and described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Completed operation on the master library is obtained in chronological order;
After getting the operation every time, based on the deadline of the operation currently obtained postpone preset duration after It is described that identical operation is executed from library;
When the master library when the error occurs, determining leads to the faulty operation of mistake;
Judge whether the faulty operation has executed described from library;
If the faulty operation is not yet executed described from library, using the data from library to the data of the master library Restored;
It is described that the data of the master library are restored from the data in library described in, including:
It is described the faulty operation has been executed from library before operation;
The data of the master library are repaired using the data current from library, so that the data of the master library are restored to and hold State before the row faulty operation.
CN201510400419.0A 2015-07-09 2015-07-09 Database restoring method and device Active CN105045678B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510400419.0A CN105045678B (en) 2015-07-09 2015-07-09 Database restoring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510400419.0A CN105045678B (en) 2015-07-09 2015-07-09 Database restoring method and device

Publications (2)

Publication Number Publication Date
CN105045678A CN105045678A (en) 2015-11-11
CN105045678B true CN105045678B (en) 2018-10-26

Family

ID=54452242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510400419.0A Active CN105045678B (en) 2015-07-09 2015-07-09 Database restoring method and device

Country Status (1)

Country Link
CN (1) CN105045678B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106802895B (en) * 2015-11-26 2020-06-02 阿里巴巴集团控股有限公司 Method and device for repairing database backup data
CN105528264B (en) * 2015-12-18 2018-08-21 福建随行软件有限公司 Fool proof data reconstruction method and its system
CN110263095B (en) * 2019-05-31 2021-10-01 众安在线财产保险股份有限公司 Data backup and recovery method and device, computer equipment and storage medium
CN115454951B (en) * 2022-10-18 2023-06-30 读书郎教育科技有限公司 Teaching data sharing system

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1659522A (en) * 2002-04-19 2005-08-24 电脑联合想象公司 Method and system for disaster recovery
CN101034364A (en) * 2007-04-02 2007-09-12 华为技术有限公司 Method, device and system for implementing RAM date backup
CN101038591A (en) * 2007-04-11 2007-09-19 华为技术有限公司 Method and system for synchronizing data base
CN101187888A (en) * 2007-12-11 2008-05-28 浪潮电子信息产业股份有限公司 Method for coping database data in heterogeneous environment
CN101216843A (en) * 2008-01-17 2008-07-09 四川大学 Multi-point multi-level data real time backup method
CN102945195A (en) * 2012-11-26 2013-02-27 国电南瑞科技股份有限公司 Master-standby redundancy replication method based on SQLite databases
CN102968479A (en) * 2012-11-19 2013-03-13 嘉兴电力局 Safety zone crossing database backup method
CN103019875A (en) * 2012-12-19 2013-04-03 北京世纪家天下科技发展有限公司 Method and device for realizing double main reconstruction of database
CN103136070A (en) * 2011-11-30 2013-06-05 阿里巴巴集团控股有限公司 Method and device for processing data disaster tolerance
CN103345470A (en) * 2013-05-31 2013-10-09 深圳市沃信科技有限公司 Database disaster tolerance method, database disaster tolerance system and server
CN103699548A (en) * 2012-09-27 2014-04-02 阿里巴巴集团控股有限公司 Method and equipment for recovering database data by using logs
CN103870357A (en) * 2012-12-17 2014-06-18 中国移动通信集团河南有限公司 Method and system for carrying out data replication

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1659522A (en) * 2002-04-19 2005-08-24 电脑联合想象公司 Method and system for disaster recovery
CN101034364A (en) * 2007-04-02 2007-09-12 华为技术有限公司 Method, device and system for implementing RAM date backup
CN101038591A (en) * 2007-04-11 2007-09-19 华为技术有限公司 Method and system for synchronizing data base
CN101187888A (en) * 2007-12-11 2008-05-28 浪潮电子信息产业股份有限公司 Method for coping database data in heterogeneous environment
CN101216843A (en) * 2008-01-17 2008-07-09 四川大学 Multi-point multi-level data real time backup method
CN103136070A (en) * 2011-11-30 2013-06-05 阿里巴巴集团控股有限公司 Method and device for processing data disaster tolerance
CN103699548A (en) * 2012-09-27 2014-04-02 阿里巴巴集团控股有限公司 Method and equipment for recovering database data by using logs
CN102968479A (en) * 2012-11-19 2013-03-13 嘉兴电力局 Safety zone crossing database backup method
CN102945195A (en) * 2012-11-26 2013-02-27 国电南瑞科技股份有限公司 Master-standby redundancy replication method based on SQLite databases
CN103870357A (en) * 2012-12-17 2014-06-18 中国移动通信集团河南有限公司 Method and system for carrying out data replication
CN103019875A (en) * 2012-12-19 2013-04-03 北京世纪家天下科技发展有限公司 Method and device for realizing double main reconstruction of database
CN103345470A (en) * 2013-05-31 2013-10-09 深圳市沃信科技有限公司 Database disaster tolerance method, database disaster tolerance system and server

Also Published As

Publication number Publication date
CN105045678A (en) 2015-11-11

Similar Documents

Publication Publication Date Title
CN105045678B (en) Database restoring method and device
US9514034B1 (en) Ordered test execution to enable faster feedback
CN106951369B (en) Management method and device for joint debugging test
Li et al. Dynamic strategies for supply disruptions in production-inventory systems
US7539980B1 (en) Method and apparatus for concurrency testing within a model-based testing environment
CN106354583B (en) A kind of heat backup method and system of MySQL database
US10866866B2 (en) Query fault processing method and processing apparatus
US20080276226A1 (en) Device, method and computer program product for evaluating a debugger script
CN107609286B (en) A kind of mathematical model tests die worker's tool
CN110263095B (en) Data backup and recovery method and device, computer equipment and storage medium
CN109240854B (en) Method and system for recovering data of change caused by misoperation
CN112131126A (en) Test environment switching method and device
GB2555338A (en) Method and apparatus for generating, capturing, storing, and loading debug information for failed tests scripts
US9183139B2 (en) Mainboard and method of backing up of baseboard management controller
CN111367924A (en) Data synchronization method and device, electronic equipment and storage medium
CN107766247B (en) Method and device for testing Bootloader and readable storage medium
CN109254898B (en) Software module execution sequence monitoring method and system
CN103220569B (en) The automatic recovery method of a kind of Set Top Box and equipment
CN110245148B (en) Data storage method, device, system and medium
CN109815083B (en) Application crash monitoring method and device, electronic equipment and medium
Yokogawa et al. Consistency verification of UML diagrams based on process bisimulation
CN115001998B (en) Disaster recovery method and device for message service
CN112712184B (en) Parameter maintenance method of equipment instrument and related equipment
CN113467994B (en) Data backup method and system, electronic equipment and storage medium
CN109614307B (en) Online pressure testing method and device of service system and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant