[summary of the invention]
Cause to submit in transaction table the technical problem to be solved by the present invention is to the presence due to Long routine and is stored with largely mistake
Phase transaction information causes to submit transaction table memory excessive, occupies resource.Meanwhile dubbing system breaks down when being restored, and mentions
It hands over excessive will cause of transaction table that transaction information load is submitted to take long time, increases dubbing system recovery time, while also increasing multiple
System memory resource consumption processed.
The embodiment of the present invention adopts the following technical scheme that
In a first aspect, the present invention provides a kind of method for guaranteeing duplication transaction consistency, the guarantee replicates consistent affairs
The method of property includes:
The origin log sequence number for obtaining the active transaction that source database occurs earliest, by the activity thing occurred earliest
The origin log sequence number of business is labeled as recovery starting point;
The origin log sequence number of the two neighboring active transaction of source database is obtained, and in the two neighboring active transaction
Origin log sequence number difference be greater than preset threshold when, by the origin log sequence number mark of the two neighboring active transaction
It is denoted as range check point;
Source database transaction journal is obtained, deletes and submits log serial number no more than the transaction journal for restoring starting point
And log serial number is submitted to fall into the transaction journal of range check point to obtain having been filed on transaction journal;
In fault recovery, according to the recovery starting point, range check point and described transaction journal is had been filed on
Data recovery is carried out, to guarantee the transaction consistency of source database and target database.
Preferably, the origin log sequence number for obtaining the active transaction that source database occurs earliest, will be described earliest
The origin log sequence number of the active transaction of generation is labeled as restoring starting point
Using the origin log sequence number for the active transaction that timer timing acquisition source database occurs earliest;
Judge the origin log sequence number for the active transaction for determining that current time source database occurs earliest relative to upper one
Whether the origin log sequence number for the active transaction that moment source database occurs earliest changes;
Origin log sequence number weight if changing, according to the active transaction that current time source database occurs earliest
New setting restores starting point.
Preferably, the origin log sequence number for obtaining the two neighboring active transaction of source database, and described adjacent
When the difference of the origin log sequence number of two active transactions is greater than preset threshold, by the starting of the two neighboring active transaction
Log serial number is labeled as range check point
Successively obtain the origin log sequence number of the two neighboring active transaction of source database;
Judge to determine whether the difference of the origin log sequence number of the two neighboring active transaction is greater than preset threshold;
If the difference of the origin log sequence number of the two neighboring active transaction is greater than preset threshold, will be described adjacent
The origin log sequence number of two active transactions is labeled as a range check point;
Range check point is stored in the form of two-dimensional array, wherein a line of two-dimensional array corresponds to one of model
Enclose checkpoint.
Preferably, in fault recovery, according to the recovery starting point, range check point and described thing is had been filed on
Business record carries out data recovery
The recovery starting point is sent to the source database and receives operation log transmitted by the source database,
Wherein, the log serial number of the operation log is greater than the corresponding log serial number of the recovery starting point;
Parsing is carried out to the operation log and obtains the submission log serial number of the corresponding affairs of the operation log, and is sentenced
It is disconnected to determine whether the submission log serial number falls into the range check point;
If the submission log serial number is fallen into the range check point, the corresponding affairs of the operation log therefore
Barrier has been loaded into target database before occurring, and ignores the operation log.
Preferably, the method for guaranteeing duplication transaction consistency further include:
If the submission log serial number is not fallen in the range check point, the corresponding affairs of the operation log exist
Failure is not loaded onto target database before occurring, the operation log needs synchronous in target database.
Preferably, if the submission log serial number is not fallen in the range check point, the operation log
Corresponding affairs are not loaded onto target database before failure occurs, and the operation log is needed in target database synchronous package
It includes:
When receiving the submission log of the corresponding affairs of the operation log, by the operation log corresponding affairs day
Will has been filed on transaction journal described in being added to;
It is synchronous that data are carried out to target database according to the operation log corresponding transaction journal.
Preferably, the method for guaranteeing duplication transaction consistency further include:
Parsing is carried out to the operation log and obtains the corresponding Transaction Identifier code of the operation log;
Judgement determines that the Transaction Identifier code whether there is in having been filed in transaction journal;
If it exists, then the corresponding affairs of the operation log have been loaded into target database before failure occurs, and ignore
The operation log;
If it does not exist, then it executes and the submission that parsing obtains the corresponding affairs of the operation log is carried out to the operation log
Log serial number, and judge to determine whether the submission log serial number falls into the range check point.
Preferably, described that the submission log that parsing obtains the corresponding affairs of the operation log is carried out to the operation log
Sequence number, and judge that determining whether the submission log serial number falls into the range check point includes:
The submission log serial number that parsing obtains the corresponding affairs of the operation log is carried out to the operation log;
It is positioned, is judged described in determination in the two-dimensional array comprising multiple range check points using binary chop algorithm
Submit whether log serial number falls into range check point.
Preferably, the origin log sequence number for obtaining the active transaction that source database occurs earliest, will be described earliest
Before the origin log sequence number of the active transaction of generation is labeled as recovery starting point further include:
Creation submits transaction table and does not submit transaction table, and the submission transaction table is used for recovery of stomge starting point, range
Checkpoint and transaction journal is had been filed on, it is described not submit transaction table for storing the transaction journal for not submitting affairs.
Second aspect, the present invention provide a kind of reproducing unit, including at least one processor;And with described at least one
The memory of a processor communication connection;Wherein, the memory is stored with the finger that can be executed by least one described processor
It enables, the method that described instruction is arranged to carry out guarantee duplication transaction consistency described in first aspect by program.
The third aspect, the present invention also provides a kind of nonvolatile computer storage media, the computer storage medium
Computer executable instructions are stored with, which is executed by one or more processors, for completing first
The method of guarantee duplication transaction consistency described in aspect.
Compared with prior art, the beneficial effect of the embodiment of the present invention is: model is arranged according to preset threshold value in the present invention
Checkpoint is enclosed, and the transaction journal for submitting log serial number to fall into range check point is deleted, using range check point mechanism mark
Remember the affairs that have been filed on, that is, usage log sequence number range indicates affairs that batch has been filed on, even if there is length in database
The Long routine that time does not submit also can be deleted effectively and timely and have expired submission transaction information, carry out to submission transaction table
Compression can effectively reduce the scale for submitting transaction table.Meanwhile when dubbing system breaks down and restores, range can be based on
Whether checkpoint determines respective transaction synchronized mistake, can effectively shorten dubbing system recovery time and memory source disappears
Consumption.
Embodiment 1:
Refering to fig. 1, in the present embodiment, dubbing system includes source database 1, reproducing unit and target database 2, is answered
Device processed is connect with source database 1 and target database 2 respectively, to guarantee source by the Data Replication Technology in Mobile based on log analysis
The affairs of database 1 and target database 2 are consistent, and then realize that data are synchronous.
Specifically, reproducing unit includes source Replication Tools 31 and target side Replication Tools 32.Wherein, source replicates
Tool 31 is connect with source database 1, and source Replication Tools 31 access source database 1 by source duplicating process;Target side replicates work
Tool 32 is connect with target database 2, and target side Replication Tools 32 pass through target duplicating process access target database 2;Source duplication
The data of source database 1 are copied to target database 2, to realize source database 1 by process and the interaction of target duplicating process
The function synchronous with 2 data of target database.
Wherein, source database 1 and target database 2 can be isomorphism database, or heterogeneous database, Ke Yiyi
It is designed according to concrete condition, here, being not specifically limited.Wherein, source database 1 and target database 2 can respectively correspond for
SQLSERVER database, MYSQL database, DB2 database, DM6 database, DM7 database, POSTGRESQL database or
Any one of ORACLE database.
In practical application scene, when the starting of target side Replication Tools 32, first by target duplicating process in target
It searches whether to exist in database 2 and submits transaction table, if it does not exist, then transaction table is submitted in the triggering creation of target database 2.Its
In, target database 2 carries out corresponding operation to the corresponding object of the affairs according to the transaction journal submitted in transaction table, with reality
Existing data are synchronous.Wherein, transaction table is submitted to have been filed on transaction journal for storing, restore starting point and check point range.It mentions
Transaction table is handed over to can be understood as data registration form, for recording synchronized transaction operation.
About submitting the datarams structure of transaction table as shown in Figure 3a, submits in the datarams structure of transaction table and include
Three field names TID, SEQID and END_SCN.Wherein, TID is the identification code of affairs, is the unique identification of affairs, SEQID
Start to operate for affairs, END_SCN is transaction commit operation.There are three types of different records to believe in the submission transaction table of the present embodiment
Breath, specific as follows based on different recording information data internal storage structures difference:
The first record information: the first record information restores the corresponding log serial number of starting point, TID for recording
Field contents are 0, SEQID field to restore the corresponding log serial number of starting point, and END_SCN value is 0.In other embodiments
In, TID may be other spcial characters, and it is to restore starting point that record information can be distinguished according to the spcial character.Together
Sample, END_SCN may be other numerical value.
Second of record information: second of record information is to have mentioned for recording the affairs having been filed on, TID field content
The identification code of the affairs of friendship, identification code are the unique identifications of affairs, are extracted from the log recording of source database 1, be one just
Integer;SEQID is the origin log sequence number for the affairs having been filed on, and is extracted from the log recording of source database 1, the log sequence
Row number is constantly incremented by with database manipulation;END_SCN is the submission log serial number for having been filed on affairs, from source database 1
It is extracted in log recording, which is constantly incremented by with database manipulation.
The third record information: the third record information is used for the corresponding log serial number in recording interval checkpoint.Its TID
Field contents are the starting sequence number LSN1, END_ that -1, SEQID is the active transaction more early occurred in two neighboring active transaction
SCN is the starting sequence number LSN2 of the active transaction of later generation in two neighboring active transaction, wherein LSN1 and LSN2 meets
Following condition: LSN2-LSN1 > RANGE, wherein RANGE is preset threshold.It wherein, can depending on preset threshold foundation actual conditions
Think 400,500,1000 or other numerical value.In other embodiments, TID may be other spcial characters, being capable of foundation
It is range check point that the spcial character, which distinguishes record information,.
Target duplicating process needs that above-mentioned three kinds of records information in transaction table will be submitted to be loaded onto number of targets on startup
In memory data structure according to library 2.Target side Replication Tools 32 using following query statement first will submit transaction table information from
It is checked out in target database 2: SELECT SEQID, TID, END_SCN FROM " submitting transaction table " ORDER BY
SEQID.Then, the first record, second of record are loaded onto memory hash data structure by search key of TID field,
The third record is stored in the form of two-dimensional array.The datarams structure of two-dimensional array is specifically such as Fig. 3 b, the two-dimemsional number
Group includes two column, depending on line number is according to the number of range check point, the corresponding range check point of every a line of two-dimensional array.
Wherein, LSNAAnd LSNBForm a range check point, LSNCAnd LSNDForm a range check point, LSNEAnd LSNFComposition one
A range check point, LSNXAnd LSNYA range check point is formed, and so on.Wherein, the log serial number that the left side one arranges
Value corresponds to the value for the element that array index is [0], and it is [1] that the value for the log serial number that the right one arranges, which corresponds to array index,
The value of element.By this way, by two log serial numbers of the condition that meets be correspondingly arranged for range check point maximum value and
Minimum value, to form range check point section.
Meanwhile target side Replication Tools 32 create in its memory and do not submit transaction table.Wherein, transaction table is not submitted to be used for
Store the transaction journal of active transaction (affairs that do not submit).Wherein, transaction journal includes the startup operation log (of the affairs
One operation log), at least one intermediary operation log and submit operation log (the last one operation log).When receiving
When submitting operation log, the corresponding transaction journal of the affairs is stored to submission transaction table.About the number for not submitting transaction table
According to internal storage structure such as Fig. 3 c, not submitting includes two field names TID and SEQID in the datarams structure of transaction table.Wherein,
TID is the identification code of affairs, and SEQID is the origin log sequence number for the affairs that do not submit, from the log recording of source database 1
It extracts, which is constantly incremented by with database manipulation.
After creating submission transaction table and not submitting transaction table, reproducing unit obtains recovery according to actual conditions in real time
Starting point and range check point are to update submission transaction table and not submit the data stored in transaction table, in order to dubbing system event
When barrier, according to submit transaction table in recovery starting point, range check point and have been filed on transaction journal carry out data recovery.
In practical application scene, dubbing system may break down, when in order to guarantee failure reduction, source database 1
With the consistency of 2 affairs of target database, while in order to guarantee that dubbing system can accurately and efficiently be restored, this implementation
Example provides a kind of method for guaranteeing duplication transaction consistency, referring specifically to Fig. 2.
Step 201: the origin log sequence number for the active transaction that source database occurs earliest is obtained, by the earliest generation
Active transaction origin log sequence number labeled as restore starting point.
Wherein, log serial number is used to represent the physics affairs generated inside Database Systems, and log serial number exists
There is global uniqueness, and log serial number is gradually incremented by with the operation of database in the journal file of Database Systems, with
Distinguish different physics affairs.Currently, most of data base management systems use LSN (Log sequence number, abbreviation
LSN the physics affairs generated inside Database Systems) are represented, for example, the number such as SQLSERVER, MYSQL, DB2, DM6, DM7
According to base management system.
Wherein, active transaction refers to the affairs that do not submit.It is just changed to have been filed on affairs after active transaction is submitted, it should
The corresponding operation of affairs will be updated in database.
In the present embodiment, during source database is synchronous with targeted database data, source database may be always
There is transaction operation executing, is submitted etc. for example, generating a new affairs or some active transaction.That is, with
The object that is referred to of the active transaction that occurs earliest of passage of time can change, then correspondingly, the work occurred earliest
The dynamic corresponding origin log sequence number of affairs can also change.
Therefore, in order to guarantee to get most accurate recovery starting point (before failure occurs and when occurring closest to failure
The corresponding recovery starting point of punctum is most accurately to restore starting point), in a preferred embodiment, using timer timing acquisition
The origin log sequence number for the active transaction that source database occurs earliest, and judge to determine that current time source database occurs earliest
Active transaction the origin log of active transaction that occurs earliest relative to last moment source database of origin log sequence number
Whether sequence number changes;Starting if changing, according to the active transaction that current time source database occurs earliest
Log serial number resets recovery starting point.And the recovery starting point reset is updated into submission transaction table.
Specifically, judging the origin log sequence number for the active transaction for determining that current time source database occurs earliest is
The origin log sequence number of the no active transaction occurred earliest greater than last moment source database;If more than, then according to it is current when
It carves the origin log sequence number of active transaction that source database occurs earliest and resets recovery starting point, and will reset
Restore starting point to update into submission transaction table.
In practical application scene, it is assumed that the origin log sequence for the active transaction that current time source database occurs earliest
Number be LSN0, the origin log Serial No. LSN for the active transaction that last moment source database occurs earliest, when LSN0 is greater than
When LSN, the record of all records of the END_SCN less than or equal to the LSN0 and TID equal to 0, tool are deleted in submitting transaction table
Following sentence can be performed in body:
BEGIN
DELET FROM " submitting transaction table " WHERE END_SCN≤LSN0OR TID=0;
INSERT INTO " submitting transaction table " VALUES (0, LSN0-1,0);
END
It is understood that log serial number can will be submitted to set again no more than this after resetting starting recovery point
The transaction journal for the starting recovery point set is deleted from submission transaction table.
Step 202: obtaining the origin log sequence number of the two neighboring active transaction of source database, and described two neighboring
When the difference of the origin log sequence number of active transaction is greater than preset threshold, by the origin log of the two neighboring active transaction
Sequence number is labeled as range check point.
In the present embodiment, the origin log sequence number of the two neighboring active transaction of source database is successively obtained, judgement is true
Whether the difference of the origin log sequence number of the fixed two neighboring active transaction is greater than preset threshold, if the two neighboring work
The difference of the origin log sequence number of dynamic affairs is greater than preset threshold, then by the origin log sequence of the two neighboring active transaction
Row number is labeled as a range check point, multiple range check points is stored in the form of two-dimensional array, wherein two-dimensional array
A line correspond to one of range check point.
For example, not submitting in transaction table has n active transaction, the origin log Serial No. of first active transaction
LSN1, the origin log Serial No. LSN2 of second active transaction, third active transaction origin log Serial No.
The origin log Serial No. LSNn of n-th of active transaction of LSN3 ....First, it is determined that determine LSN2-LSN1 difference whether
Greater than preset threshold value, if it is greater than preset threshold value, then by the origin log Serial No. LSN1 of first active transaction and
The origin log Serial No. LSN2 of second active transaction is labeled as first range check point, and following SQL specifically can be performed
Sentence:
BEGIN
DELETE FROM " submitting transaction table " WHERE SEQID>LSN1AND SEQID<LSN2AND END_SCN<
LSN2AND TID>0;
INSERT INTO " submitting transaction table " VALUES (- 1, LSN1, LSN2);
END
Then, judge to determine whether the difference of LSN3-LSN2 is greater than preset threshold value, if it is greater than preset threshold value, then
By the origin log Serial No. LSN3 of the origin log Serial No. LSN2 of second active transaction and third active transaction
Labeled as second range check point, and so on, obtain all range check points.
In the present embodiment, aforementioned all range check points are stored in the form of two-dimensional array, wherein two dimension
A line of array corresponds to one of range check point.Array index is that the element of [0] records lesser origin log sequence number,
Array index is that the element of [1] records biggish origin log sequence number.By mode above-mentioned, range check point is set, then according to
Whether it has been submitted according to range check point label affairs, can have effectively reduced and submit the occupied memory of transaction table.
Step 203: obtaining source database transaction journal, delete and log serial number is submitted to be less than the thing for restoring starting point
Business log and submission log serial number fall into the transaction journal of range check point to obtain having been filed on transaction journal.
In the present embodiment, source Replication Tools implement access source database to obtain source database transaction journal, and will
The transaction journal got is sent to target side Replication Tools, and target side Replication Tools submit the logged sequence of log according to affairs
Number size execute corresponding operation.
Log serial number is submitted to be less than the affairs day for restoring starting point specifically, target side Replication Tools are deleted first
Then will, then deletes and log serial number is submitted to fall into the transaction journal of range check point, while by respective range point corresponding two
A origin log sequence number, which is inserted into, to be submitted in transaction table.In this way, recording information using a line range check point, batch is indicated
Transaction information is submitted, to submitting transaction table to be compressed, Long routine is avoided to lead to the situation for submitting transaction table scale excessive
Occur.
It should be noted that when there is the log serial number of at least one transaction journal to fall into some range check point
When, which is inserted into and is submitted in transaction table, indicates the submission transaction information of batch.When no any transaction journal
Log serial number when falling into some range check point, then the range check point is submitted in transaction table without being recorded in.
Step 204: in fault recovery, according to the recovery starting point, range check point and described having been filed on
Transaction journal carries out data recovery, to guarantee the transaction consistency of source database and target database.
In the present embodiment, in dubbing system fault recovery, target side Replication Tools load first submits transaction table letter
Breath into internal storage structure, range check point is stored in the form of two-dimensional array, dubbing system by from submit transaction table
The recovery starting point of middle acquisition is restored.
Referring specifically to Fig. 3, step 204: in fault recovery, according to the recovery starting point, range check point
And it is described have been filed on transaction journal and carry out data recovery, to guarantee that the transaction consistency of source database and target database includes
Following steps:
Step 2041: the recovery starting point being sent to the source database and is received transmitted by the source database
Operation log, wherein the log serial number of the operation log is greater than the corresponding log serial number of the recovery starting point.
In the present embodiment, for dubbing system when carrying out fault recovery, source database must obtain recovery starting point, foundation
Restore starting point and sends transaction journal to target database.Wherein, restoring starting point is that source database is sent out earliest when failure occurs
The origin log sequence number of raw active transaction.
Specifically, source Replication Tools start source duplicating process, and extensive to target side Replication Tools transmission request
The command messages of multiple starting point, to obtain the origin log sequence number of log analysis.It is multiple that target side Replication Tools receive source
After the request instruction of tool processed, following inquiry: SELECT SEQID FROM " submitting transaction table " WHERE TID=0 is executed, into
And restore the corresponding log serial number of starting point from submitting to obtain in transaction table.The recovery that target side Replication Tools will acquire rises
The corresponding log serial number of initial point is sent to source Replication Tools, and source Replication Tools, which receive, restores the corresponding log of starting point
After sequence number, point location log analysis point is originated according to the recovery in source database.That is, source Replication Tools are from source database
The operation log that log serial number is greater than the corresponding log serial number of the recovery starting point is obtained, and operation log is sent to
Target side Replication Tools.
Step 2042: parsing being carried out to the operation log and obtains the corresponding Transaction Identifier code of the operation log.
In the present embodiment, target side Replication Tools carry out parsing to operation log and obtain the corresponding affairs mark of operation log
Know code.
Step 2043: judgement determines that the Transaction Identifier code whether there is in having been filed in transaction journal, and if it exists, then holds
Row step 2044;If it does not exist, 2045 are thened follow the steps.
In the present embodiment, after the submission log for receiving affairs, existed first using the identification code of affairs as search key
Transaction table content is submitted to scan for, to judge to determine that Transaction Identifier code whether there is in having been filed in transaction journal.If it exists,
Then follow the steps 2044;If it does not exist, 2045 are thened follow the steps.
Step 2044: then the corresponding affairs of the operation log have been loaded into target database before failure occurs, suddenly
The slightly described operation log.
It is had been filed in transaction journal if the Transaction Identifier code is present in, illustrates the corresponding affairs of the operation log in failure
It has been loaded into target database before occurring, has ignored the operation log.
Step 2045: the submission log sequence that parsing obtains the corresponding affairs of the operation log is carried out to the operation log
Row number, and judge to determine whether the submission log serial number falls into the range check point.
If the Transaction Identifier code is not present in having been filed in transaction journal, parsing is carried out to operation log and obtains operation day
The submission log serial number of the corresponding affairs of will, and judge to determine and submit whether log serial number falls into range check point.For
The accuracy of judgement is improved, in a preferred embodiment, if the Transaction Identifier code is not present in having been filed in transaction journal,
The submission log serial number and origin log sequence number that parsing obtains the corresponding affairs of operation log are carried out to operation log, and
Judge to determine and submits whether log serial number and origin log sequence number fall into range check point.If submitting log serial number
And origin log sequence number is each fallen in range check point, then the corresponding affairs of operation log have loaded before failure occurs
To target database, ignore operation log.
In a preferred embodiment, due to submitting, there may be multiple range check points in transaction table, search to improve
Speed, can be positioned in the two-dimensional array comprising multiple range check points using binary chop algorithm, judge to determine
Whether the submission log serial number falls into range check point.
Step 2046: if the submission log serial number is fallen into the range check point, the operation log is corresponding
Affairs failure occur before be loaded into target database, ignore the operation log.
In this embodiment, if log serial number is submitted to fall into range check point, the corresponding affairs of operation log are in event
Barrier has been loaded into target database before occurring, and ignores operation log.
For example, it is assumed that the submission log Serial No. LSN_COMMIT of the submission affairs.In some range check point compared with
Small log serial number is LSN_C, and biggish log serial number is LSN_D.
If LSN_C < LSN_COMMIT < LSN_D, log serial number LSN_COMMIT is submitted to fall into range check point
It is interior, show that the submission affairs have been loaded into target database before failure occurs, ignores the operation log.
To improve the accuracy judged, in another embodiment, if submitting log serial number and origin log sequence
It number each falls in range check point, then the corresponding affairs of operation log have been loaded into target database before failure occurs, suddenly
Slightly operation log.
For example, it is assumed that the origin log Serial No. LSN_START of the submission affairs, the submission log sequence of the submission affairs
Row number is LSN_COMMIT.Lesser log serial number is LSN_C in some range check point, and biggish log serial number is
LSN_D。
If LSN_C < LSN_START < LSN_D, LSN_C < LSN_COMMIT < LSN_D, then origin log Serial No.
LSN_START and submission log serial number LSN_COMMIT, which is each fallen in range check point, then shows that the submission affairs are sent out in failure
It has been loaded into target database before death, has ignored the operation log.
Step 2047: if the submission log serial number is not fallen in the range check point, the operation log pair
The affairs answered are not loaded onto target database before failure occurs, and the operation log needs are synchronized in target database.
If log serial number is submitted not fall in range check point, the corresponding affairs of operation log are preceding not in failure generation
It is loaded onto target database, operation log is synchronized in target database.Specifically, to receive operation log corresponding
When the submission log of affairs, first determines whether to determine and submit whether log serial number falls into range check point, if not falling within range
In checkpoint, then the corresponding transaction journal of operation log is added to and has been filed on transaction journal, it is then, corresponding according to operation log
Transaction journal to carry out data to target database synchronous.
It is different from the prior art, range check point is arranged according to preset threshold value in the present invention, and will submit log serial number
The transaction journal for falling into range check point is deleted, and the affairs having been filed on is marked using range check point mechanism, that is, usage log sequence
Row number range indicates the affairs that have been filed on of batch, even if there is the Long routine that do not submit for a long time in database, also can be effective
It timely deletes and has expired submission transaction information, to submitting transaction table to be compressed, submission transaction table can be effectively reduced
Scale.Meanwhile when dubbing system breaks down and restores, it can determine respective transaction whether together based on range check point
Walked, can effectively shorten dubbing system recovery time and memory source consumption.