CN107526838A - The method and apparatus of data-base cluster dilatation - Google Patents
The method and apparatus of data-base cluster dilatation Download PDFInfo
- Publication number
- CN107526838A CN107526838A CN201710805786.8A CN201710805786A CN107526838A CN 107526838 A CN107526838 A CN 107526838A CN 201710805786 A CN201710805786 A CN 201710805786A CN 107526838 A CN107526838 A CN 107526838A
- Authority
- CN
- China
- Prior art keywords
- ternary group
- group task
- dilatation
- task
- object instance
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F16/275—Synchronous replication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Software Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of method and apparatus of data-base cluster dilatation, it is related to field of computer technology.One embodiment of this method includes:Asked to create ternary group task according to the dilatation of the data-base cluster received;Ternary group task is performed, to complete the dilatation of data-base cluster.The embodiment creates ternary group task by the dilatation request received, complete the dilatation of data-base cluster, user is not needed to do extra control to dilatation, by directly submitting cluster dilatation to ask, the effect of data-base cluster automation dilatation is just can reach, having compatible can cascade dilatation or the performance of other complicated dilatations.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of method and apparatus of data-base cluster dilatation.
Background technology
Data-base cluster is to utilize at least two or more database servers, forms a virtual centralized database logic
Image, as single database system, transparent data, services are provided to client.In actual applications, existing database
The situation that can not meet business demand often occurs in cluster, needs to add new database instance in this case to existing collection
In group, i.e. data-base cluster dilatation.
It is same data source typically by object instance in a cluster when prior art carries out data-base cluster dilatation
All dilatations operation of example is submitted as a task to be performed.The carry master library example of object instance can be same data
Storehouse example or different database instances.If multiple object instances start simultaneously at dilatation, it is desirable to the carry of object instance
Master library example is same database instance.
In process of the present invention is realized, inventor has found at least exist in the method for the data-base cluster dilatation of prior art
Following problem:First, data-base cluster dilatation is carried out, it is necessary to consider all dilatation situations using prior art, on the one hand causes to set
Meter is complicated, and on the other hand with upgrading service, when increasing new dilatation task, upgrade code is in global design before
Extremely difficult;2nd, data-base cluster dilatation is carried out using prior art, if some step performs failure, nothing in dilatation task
Method is directly recovered from execution wrong step, causes whole dilatation mission failure;3rd, prior art do not support cascade dilatation or
Other complicated dilatations.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of method and apparatus of data-base cluster dilatation, can pass through reception
The dilatation request arrived creates ternary group task, completes the dilatation of data-base cluster, it is not necessary to and user does extra control to dilatation,
By directly submitting cluster dilatation to ask, so that it may reach the effect of data-base cluster automation dilatation, in addition, the embodiment of the present invention
Also having compatible can cascade dilatation or the performance of other complicated dilatations.
To achieve the above object, one side according to embodiments of the present invention, there is provided a kind of data-base cluster dilatation
Method.
A kind of method of data-base cluster dilatation of the embodiment of the present invention includes:According to the expansion of the data-base cluster received
Hold request and create ternary group task, the ternary group task includes the information of following three element:Object instance, the target are real
The data source instance of example and the carry master library example of the object instance;The ternary group task is performed, to complete database
The dilatation of cluster.
Alternatively, establishment ternary group task is asked to include according to the dilatation of the data-base cluster received:According to the expansion
Hold the one or more object instances included in request, create one or more ternary group tasks.
Alternatively, creating ternary group task also includes:Preserve following at least one information in the ternary group task:Institute
State the current execution step, the execution state of the ternary group task, the addition time of the ternary group task of ternary group task
And the renewal time of the ternary group task.
Alternatively, the execution state of the ternary group task includes following at least one:It is not carried out, be carrying out, performs
Success, perform failure;And when performing the ternary group task, execution state is selected as the ternary group task that is not carried out, and
It is that the current execution step of the ternary group task being not carried out proceeds by execution from the execution state.
Alternatively, methods described also includes:If the triple tasks carrying failure, by holding for the ternary group task
Row state is updated to perform failure;And the ternary group task phase with performing failure is being created according to the dilatation request received
After same new ternary group task, the new ternary group task, and the ternary group task that the execution is failed are not preserved
Execution status modifier to be not carried out.
Alternatively, creating ternary group task also includes:It is if the object instance has the brotgher of node, the target is real
The brotgher of node information of example is stored in ternary group task corresponding to the object instance in the lump.Wherein, the brotgher of node is
Refer to other object instances that there is identical data source instance with the object instance.
Alternatively, before the ternary group task is performed, methods described also includes:Judge to protect in the ternary group task
The brotgher of node for the object instance deposited whether be other ternary group tasks being carrying out object instance, if not then performing institute
State ternary group task.
Alternatively, during the ternary group task is performed, methods described also includes:In the ternary group task
After generating backup file on object instance, judge to whether there is the backup file in the brotgher of node of the object instance,
If being not present, by the brotgher of node of the backup file copy to the object instance;And appoint from the triple
Before removing backup file on the object instance of business, judge whether copy has been completed, if having completed, remove backup file, if
Do not complete, then continue waiting for until copy is completed.
Alternatively, methods described also includes:Before the ternary group task is performed, the number of the ternary group task is judged
According to source instance and/or carry master library example whether be other unfinished ternary group tasks object instance, if not then performing
The ternary group task.
To achieve the above object, another aspect according to embodiments of the present invention, there is provided a kind of data-base cluster dilatation
Device.
A kind of device of data-base cluster dilatation of the embodiment of the present invention includes:Creation module, received for basis
The dilatation request of data-base cluster creates ternary group task, and the ternary group task includes following three element:Object instance, institute
State the data source instance of object instance and the carry master library example of the object instance;Execution module, for performing described three
First group task, to complete the dilatation of data-base cluster.
Alternatively, the creation module is additionally operable to:The one or more object instances included in being asked according to the dilatation,
Create one or more ternary group tasks.
Alternatively, the creation module is additionally operable to:Preserve following at least one information in the ternary group task:It is described
The current execution step of ternary group task, the execution state of the ternary group task, the ternary group task the addition time with
And the renewal time of the ternary group task.
Alternatively, the execution state of the ternary group task includes following at least one:It is not carried out, be carrying out, performs
Success, perform failure;And the execution module is additionally operable to:When performing the ternary group task, execution state is selected as not
The ternary group task of execution, and be that the current execution step of the ternary group task being not carried out is proceeded by and held from the execution state
OK.
Alternatively, the creation module is additionally operable to:If the triple tasks carrying failure, by the ternary group task
Execution state be updated to perform failure;And appoint being created according to the dilatation request received with the triple for performing failure
After the new ternary group task of identical of being engaged in, the new ternary group task, and the triple that the execution is failed are not preserved
The execution status modifier of task is to be not carried out.
Alternatively, the creation module is additionally operable to:If the object instance has the brotgher of node, by the object instance
Brotgher of node information be stored in the lump in ternary group task corresponding to the object instance.Wherein, the brotgher of node refers to
There are other object instances of identical data source instance with the object instance.
Alternatively, the execution module is additionally operable to:Before the ternary group task is performed, the ternary group task is judged
The brotgher of node of the object instance of middle preservation whether be other ternary group tasks being carrying out object instance, if not then holding
The row ternary group task.
Alternatively, during the ternary group task is performed, the execution module is additionally operable to:
After generating backup file on the object instance of the ternary group task, brother's section of the object instance is judged
It whether there is the backup file on point, if being not present, the brother of the backup file copy to the object instance saved
Point on;And judge whether copy has been completed before removing backup file on the object instance from the ternary group task, if
It has been completed that, then remove backup file, if not completing, continued waiting for until copy is completed.
Alternatively, the execution module is additionally operable to:Before the ternary group task is performed, the ternary group task is judged
Data source instance and/or carry master library example whether be other unfinished ternary group tasks object instance, if not then
Perform the ternary group task.
To achieve the above object, another further aspect according to embodiments of the present invention, there is provided a kind of electronic equipment.
The a kind of electronic equipment of the embodiment of the present invention includes:One or more processors;Storage device, for storing one
Or multiple programs, when one or more programs are executed by one or more processors so that one or more processors realize this
The method of the data-base cluster dilatation of inventive embodiments.
To achieve the above object, a kind of another aspect according to embodiments of the present invention, there is provided computer-readable medium.
A kind of computer-readable medium of the embodiment of the present invention, is stored thereon with computer program, and program is held by processor
The method that the data-base cluster dilatation of the embodiment of the present invention is realized during row.
One embodiment in foregoing invention has the following advantages that or beneficial effect:By being asked according to the dilatation received
Ternary group task is created, and performs ternary group task, the automation dilatation of data-base cluster is completed, without user couple
Extra control is done in dilatation (such as needs to consider that all dilatation situations carry out complicated dilatation task design, when dilatation demand becomes
When more, the dilatation task of global revision design is needed again), it only need to directly submit cluster dilatation to ask, so that it may to reach data base set
The effect of group's automation dilatation;Least unit in the embodiment of the present invention by the use of ternary group task as cluster dilatation, according to expansion
Hold the one or more object instances included in request, create one or more ternary group tasks, so as to existing in reduction
In technology while dilatation task design complexity, compatibility cascade dilatation or other complicated dilatation situations;By preserving three
The execution state of first group task, so as to according to the state of execution, submit the ternary group task for performing failure again;It is in addition, logical
The current execution step for preserving ternary group task is crossed, so that in some triple mission failure, can after solving failure cause
To perform ternary group task directly since fail step, and other tasks in cluster are not influenceed;In addition, by preserving ternary
The current execution step of group task, the current state of ternary group task can also be checked at any time, track the progress of ternary group task;
By preserving the brotgher of node information of ternary group task, so as to share backup file with the brotgher of node;Performing triple
Before task, whether the brotgher of node for verifying the object instance preserved in ternary group task is that other triples being carrying out are appointed
The object instance of business, so as in the case where there is the brotgher of node, reduce the complexity of related dilatation tasks carrying, further shorten
The overall dilatation time;Before ternary group task is performed, by the data source instance and/or carry master library that judge ternary group task
Example whether be other unfinished ternary group tasks object instance, so as to determine whether that ternary group task whether may be used
To perform, dilatation efficiency is improved.
Further effect adds hereinafter in conjunction with embodiment possessed by above-mentioned non-usual optional mode
With explanation.
Brief description of the drawings
Accompanying drawing is used to more fully understand the present invention, does not form inappropriate limitation of the present invention.Wherein:
Fig. 1 is the schematic diagram of the key step of the method for data-base cluster dilatation according to embodiments of the present invention;
Fig. 2 is the signal that the method for data-base cluster dilatation according to embodiments of the present invention creates the process of ternary group task
Figure;
Fig. 3 is adapted for the signal of the main frame of the system of the method for the data-base cluster dilatation for realizing the embodiment of the present invention
Figure;
Fig. 4 is that the method for data-base cluster dilatation according to embodiments of the present invention checks whether ternary group task can start
The main flow schematic diagram of execution;
Fig. 5 is the schematic diagram of the main modular of the device of data-base cluster dilatation according to embodiments of the present invention;
Fig. 6 is that the embodiment of the present invention can apply to exemplary system architecture figure therein;
Fig. 7 is adapted for the structural representation for realizing the terminal device of the embodiment of the present invention or the computer system of server
Figure.
Embodiment
The one exemplary embodiment of the present invention is explained below in conjunction with accompanying drawing, including the various of the embodiment of the present invention
Details should think them only exemplary to help understanding.Therefore, those of ordinary skill in the art should recognize
Arrive, various changes and modifications can be made to the embodiments described herein, without departing from scope and spirit of the present invention.Together
Sample, for clarity and conciseness, the description to known function and structure is eliminated in following description.
Describe the technical scheme of data-base cluster dilatation in the embodiment of the present invention in detail, asked by the dilatation received
Ternary group task is created, completes the dilatation of data-base cluster, it is not necessary to which user does extra control to dilatation, by directly submitting
Cluster dilatation is asked, so that it may reach the effect of data-base cluster automation dilatation, have can compatible cascade dilatation or other
The performance of complicated dilatation.The technical scheme of the data-base cluster dilatation of the embodiment of the present invention goes for types of databases collection
Group.In the description of following specific embodiments, it is described in detail by taking MySQL database cluster as an example, but the embodiment of the present invention
Technical scheme is not limited in MySQL, is equally supported for other types of database, and specific implementation may be referred to implementation of the present invention
The implementation process of example.
It is explaining in detail for the technical term that is related in the embodiment of the present invention below:
Database instance, refer to independent database service, it can be understood as a database process, a database
Server can run one or more database instances.
Ternary group task, refer to including the dilatation task of object instance, data source instance and carry master library example.
Object instance, refer to by the database instance of dilatation.
Data source instance, is referred in dilation process, copies the database instance of data source.
Carry master library example, the object instance database instance to be mounted is referred to, so as to ensure object instance and carry
The data syn-chronization of master library example.
The brotgher of node, refer to other object instances that there is identical data source instance with object instance.
Fig. 1 is the schematic diagram of the key step of the method for data-base cluster dilatation according to embodiments of the present invention, such as Fig. 1 institutes
Show, the main of the method for the data-base cluster dilatation of the embodiment of the present invention comprises the following steps:
Step S101:Asked to create ternary group task according to the dilatation of the data-base cluster received.Wherein triple is appointed
Business can include the information of following three element:Object instance, the data source instance of object instance and the carry of object instance
Master library example.In the embodiment of the present invention, establishment ternary group task is asked specifically may be used according to the dilatation of the data-base cluster received
With including:The one or more object instances included in being asked according to dilatation, create one or more ternary group tasks.
Step S102:Ternary group task is performed, to complete the dilatation of data-base cluster.Wound is asked by the dilatation received
Ternary group task is built, completes the dilatation of data-base cluster, extra control is done to dilatation without user, by directly carrying
Common factor group's dilatation task, reach the effect of data-base cluster automation dilatation;Made in the embodiment of the present invention using ternary group task
For the least unit of cluster dilatation, dilatation or other complicated dilatation situations are cascaded so as to compatibility.
In the embodiment of the present invention, creating ternary group task can also include:Preserve following at least one in ternary group task
Kind information:The current execution step of ternary group task, the execution state of ternary group task, ternary group task the addition time and
The renewal time of ternary group task.
In the embodiment of the present invention, the execution state of ternary group task can include following at least one:It is not carried out, holds
Go, run succeeded, perform failure.
In addition, in the embodiment of the present invention, when performing the ternary group task, the ternary that selects execution state to be not carried out
Group task, and be that the current execution step of the ternary group task being not carried out proceeds by execution from execution state.By preserving three
The execution state of first group task, the ternary group task for performing failure can be submitted according to the state of execution again;In addition, pass through guarantor
The current execution step of ternary group task is deposited, the current state of ternary group task can be checked at any time, tracking ternary group task
Progress, and in some triple mission failure, after solving failure cause can directly since fail step execution three
First group task, other tasks in cluster are not influenceed.
The method of the data-base cluster dilatation of the embodiment of the present invention can also include:If triple tasks carrying fails,
The execution state of ternary group task is updated to perform failure;And create and perform according to the dilatation request received
After the new ternary group task of ternary group task identical unsuccessfully, new ternary group task is not preserved, and will perform failure
The execution status modifier of ternary group task is to be not carried out.
In the embodiment of the present invention, creating ternary group task can also include:If object instance has the brotgher of node, by mesh
The brotgher of node information of mark example is stored in ternary group task corresponding to object instance in the lump.By preserving ternary group task
Brotgher of node information, backup file can be shared with the brotgher of node.
The method of the data-base cluster dilatation of the embodiment of the present invention can also include:Before ternary group task is performed, sentence
The brotgher of node of the object instance preserved in disconnected ternary group task whether be other ternary group tasks being carrying out target it is real
Example, if not then performing ternary group task.
During ternary group task is performed, the method for the data-base cluster dilatation of the embodiment of the present invention can also wrap
Include:After generating backup file on the object instance of ternary group task, judge to whether there is in the brotgher of node of object instance
Backup file, if being not present, by the brotgher of node of backup file copy to object instance;And from ternary group task
Before removing backup file on object instance, judge whether copy has been completed, if having completed, backup file is removed, if not complete
Into, then continue waiting for until copy complete.Due to will enter from the background in the brotgher of node of backup file copy to object instance
Cheng Yunhang's, realize with fraternal file-sharing backup file, and reduce the dilatation time.
The method of the data-base cluster dilatation of the embodiment of the present invention can also include:Before ternary group task is performed, sentence
The data source instance and/or carry master library example of disconnected ternary group task whether be other unfinished ternary group tasks target it is real
Example, if not then performing ternary group task.Due to during dilatation, it is desirable to the carry master library example and data of object instance
Source instance is all existing database instance, therefore before ternary group task is performed in current cluster, by judging three
The data source instance and/or carry master library example of first group task whether be other unfinished ternary group tasks object instance,
It can determine whether ternary group task can perform, improve dilatation efficiency.
Fig. 2 is the signal that the method for data-base cluster dilatation according to embodiments of the present invention creates the process of ternary group task
Scheme, each one database instance of node on behalf, the database instance in cluster realizes that data are same in the way of leader follower replication
Step, that is, allow data to copy to more independent database instances from a database instance (master library) (from storehouse).In theory can be with
Any one database instance in cluster is selected as carry master library example, in practice can be according to business need, such as computer room
Far and near, read-write pressure etc., makes a choice.Generally, data source instance can select no write operation, number is few for connection, CPU makes
With the low database instance of rate.As shown in Fig. 2 one dilatation two database instances show simultaneously in existing database cluster
Example, " newly from storehouse D " and " newly from storehouse, E " is to be asked by the object instance of dilatation according to dilatation, create two triples appoint
Business.Object instance " is newly that " from storehouse A ", data source instance is " from storehouse C " from storehouse D " carry master library example.Object instance " newly from
Storehouse E " carry master library example is that " from storehouse A ", data source instance is " from storehouse C ".Due to object instance " newly from storehouse D " and " newly from
Storehouse E " data source instance is identical, therefore object instance " newly " newly from the storehouse E " brotghers of node each other, backs up from storehouse D " and in generation
Backup file is shared during file.
In the method for the data-base cluster dilatation of the embodiment of the present invention, realize that the method for data syn-chronization can be, but not limited to be
This kind of mode of leader follower replication shown in Fig. 2 realizes data syn-chronization, can also combine specific different business demand, realize data
It is synchronous.
Fig. 3 is adapted for the signal of the main frame of the system of the method for the data-base cluster dilatation for realizing the embodiment of the present invention
Figure.In the embodiment of the present invention, data-base cluster dilatation can be implemented by designing a data-base cluster capacity-enlarging system
Method.As shown in figure 3, the framework of the data-base cluster capacity-enlarging system in the embodiment of the present invention can mainly include following four
Part:Task adding device, task location, task choosing unit and task executing units.
Wherein, task adding device is used to receive single or batch dilatation request, and one is created according to dilatation request
Or multiple ternary group tasks, and ternary group task is added to task location.
The flow of addition task can be one interface that can add ternary group task of outside exposure, and outside need adds
The interface is called when task.When addition task, the dilatation task for including a triple can be submitted every time, also may be used
The dilatation task for including multiple ternary group tasks is submitted with once.In addition, the ternary group task restarted afterwards for failure,
After user is handled according to the error log of display, the interface as addition task is called to submit the triple of failure to appoint again
Business.After receiving request, according to the triple task record stored in task location, judge ternary group task whether
In the presence of, if it does not, directly one task record being not carried out of addition, otherwise by the execution status maintenance of ternary group task before
It is changed to be not carried out, other information is not made an amendment.
In task location, data storage storehouse can be utilized (to can be, but not limited to be to utilize in the embodiment of the present invention
MySQL database etc.) storage ternary group task, and in order to control, track the implementation procedure of ternary group task, store triple
Task currently performs the information such as step, execution state, addition time, renewal time.In addition, expand to save the processing brotgher of node
The file backup time of appearance task, brotgher of node information can also be stored again, record in a cluster from same data source
All object instances of data are copied in example.
In the method for the data-base cluster dilatation of the embodiment of the present invention, " data storage storehouse " storage ternary group task is utilized,
Certainly " data storage storehouse " is not used to be defined the protection domain of technical solution of the present invention, can be according to tool in the present invention
Body business scenario carries out accommodation.
In task selecting unit, all ternary group tasks being not carried out in task location are read, with ternary group task
Each executable ternary group task is handled for unit.
The flow of selection task can be scanning data storage storehouse, and it is that the triple being not carried out is appointed to read all execution states
Business;Check that execution state is whether the ternary group task being not carried out can perform, if can perform, start dilatation process,
Otherwise skip, continue with next ternary group task.
The order of processing ternary group task is freer, and fairly simple can first locate according to the ternary group task first submitted
Reason, it can also be needed to set priority to each ternary group task according to business, failure can also be performed before priority treatment
Triple task dispatching.In the method for the data-base cluster dilatation of the embodiment of the present invention, handle ternary group task order can with but
It is not limited to above-mentioned several, the demand that can also combine specific different business selects ternary group task to be processed.
Fig. 4 is that the method for data-base cluster dilatation according to embodiments of the present invention checks whether ternary group task can start
The main flow schematic diagram of execution.As shown in figure 4, the method for the data-base cluster dilatation according to embodiments of the present invention checks three
The main flow whether first group task can start to perform includes:Judge data source instance and/or the carry master of ternary group task
Storehouse example whether be other unfinished ternary group tasks object instance, if it is not, then judging what is preserved in ternary group task
The brotgher of node of object instance whether be other ternary group tasks being carrying out object instance, if it is not, then starting dilatation
Process.
In the method for the data-base cluster dilatation of the embodiment of the present invention, check whether ternary group task can start what is performed
Main flow can be, but not limited to be this kind of flow shown in Fig. 4, can also combine specific different business demand, check ternary
Whether group task, which can start, performs.
In task executing units, after starting the success of dilatation process, ternary group task is performed, can specifically be included but is not limited to
Following 12 steps:(1) dilatation environmental test;(2) dilatation software is installed;(3) backup file is generated;(4) backup file is pre-
Processing;(5) data base configuration file is changed;(6) monitoring is closed;(7) database service is closed;(8) Backup Data is recovered;(9)
Log-on data storehouse services;(10) database synchronization is established;(11) monitoring is opened;(12) backup file is removed.For occurring before
Recover the ternary group task performed after mistake, before leaping to the step of place, performed since that step until completing,
So as to realize the function of recovering from mistake.
When (3) step generates backup file, if having it on the object instance for the ternary group task being carrying out
Also without backup file in his brotgher of node, then the object instance for the ternary group task being carrying out can start background process will
Backup file copy is in other brotghers of node.Before (12) step removes backup file, judge whether copy has been completed, if
It has been completed that, then remove backup file, if not completing, continued waiting for until copy is completed.
The technical scheme of data-base cluster dilatation according to embodiments of the present invention can be seen that by according to the expansion received
Hold request and create ternary group task, and perform ternary group task, complete the automation dilatation of data-base cluster, without
User, which does extra control to dilatation, (such as needs to consider that all dilatation situations carry out complicated dilatation task design, work as dilatation
When demand changes, the dilatation task of global revision design is needed again), it only need to directly submit cluster dilatation to ask, so that it may to reach several
According to the effect of storehouse cluster automation dilatation;Least unit in the embodiment of the present invention by the use of ternary group task as cluster dilatation,
The one or more object instances included in being asked according to dilatation, one or more ternary group tasks are created, so as to subtract
While few dilatation task design complexity in the prior art, compatibility cascade dilatation or other complicated dilatation situations;Pass through
The execution state of ternary group task is preserved, so as to according to the state of execution, submit the ternary group task for performing failure again;This
Outside, by preserving the current execution step of ternary group task, so as in some triple mission failure, solve failure cause
After ternary group task can be performed directly since fail step, and do not influence other tasks in cluster;In addition, pass through preservation
The current execution step of ternary group task, the current state of ternary group task can also be checked at any time, tracking ternary group task
Progress;By preserving the brotgher of node information of ternary group task, so as to share backup file with the brotgher of node;Performing three
Before first group task, whether the brotgher of node for verifying the object instance preserved in ternary group task is other ternarys being carrying out
The object instance of group task, so as in the case where there is the brotgher of node, reduce the complexity of related dilatation tasks carrying, further
Shorten the overall dilatation time;Before ternary group task is performed, by the data source instance and/or carry that judge ternary group task
Master library example whether be other unfinished ternary group tasks object instance, so as to determine whether that ternary group task is
It is no to perform, improve dilatation efficiency.
Fig. 5 is the schematic diagram of the main modular of the device of data-base cluster dilatation according to embodiments of the present invention.Such as Fig. 5 institutes
Show, the device 500 of data-base cluster dilatation of the invention mainly includes following module:Creation module 501, execution module 502.
Wherein, creation module 501 can be used for creating ternary group task according to the dilatation request of the data-base cluster received,
Wherein ternary group task includes the information of following three element:Object instance, the data source instance of object instance and target are real
The carry master library example of example;Execution module 502 can be used for performing ternary group task, to complete the dilatation of data-base cluster.
In the embodiment of the present invention, creation module 501 can be additionally used in:The one or more targets included in being asked according to dilatation
Example, create one or more ternary group tasks.
In the embodiment of the present invention, creation module 501 can be additionally used in:Preserve following at least one letter in ternary group task
Breath:Current execution step, the execution state of ternary group task, the addition time of ternary group task and the ternary of ternary group task
The renewal time of group task.
In the embodiment of the present invention, the execution state of ternary group task includes following at least one:Be not carried out, be carrying out,
Run succeeded, perform failure.Execution module 502 can be additionally used in:When performing ternary group task, execution state is selected to be not carried out
Ternary group task, and be that the current execution step of the ternary group task being not carried out proceeds by execution from execution state.
In the embodiment of the present invention, creation module 501 can be additionally used in:If triple tasks carrying fails, triple is appointed
The execution state of business is updated to perform failure;And the triple with performing failure is being created according to the dilatation request received
After the new ternary group task of task identical, new ternary group task is not preserved, and the ternary group task of failure will be performed
Status modifier is performed to be not carried out.
In the embodiment of the present invention, creation module 501 can be additionally used in:It is if object instance has the brotgher of node, target is real
The brotgher of node information of example is stored in ternary group task corresponding to object instance in the lump.
In the embodiment of the present invention, execution module 502 can be additionally used in:Before ternary group task is performed, judge that triple is appointed
The brotgher of node of the object instance preserved in business whether be other ternary group tasks being carrying out object instance, if not then
Perform ternary group task.
In the embodiment of the present invention, during ternary group task is performed, execution module 502 can be additionally used in:In triple
After generating backup file on the object instance of task, judge to whether there is backup file in the brotgher of node of object instance, if
It is not present, then by the brotgher of node of backup file copy to object instance;And on the object instance from ternary group task
Before removing backup file, judge whether copy has been completed, if having completed, remove backup file, if not completing, continue
Treat until copy is completed.
In the embodiment of the present invention, execution module 502 can be additionally used in:Before ternary group task is performed, judge that triple is appointed
The data source instance and/or carry master library example of business whether be other unfinished ternary group tasks object instance, if not
Then perform the ternary group task.
From the above, it can be seen that by creating ternary group task according to the dilatation request received, and perform ternary
Group task, the automation dilatation of data-base cluster is completed, doing extra control to dilatation without user (such as needs
Consider that all dilatation situations carry out complicated dilatation task design, when dilatation demand changes, need what global revision designed again
Dilatation task), it only need to directly submit cluster dilatation to ask, so that it may to reach the effect of data-base cluster automation dilatation;The present invention
Least unit in embodiment by the use of ternary group task as cluster dilatation, the one or more mesh included in being asked according to dilatation
Example is marked, creates one or more ternary group tasks, so as to reduce dilatation task design complexity in the prior art
Meanwhile compatible cascade dilatation or other complicated dilatation situations;By preserving the execution state of ternary group task, so as to
According to the state of execution, the ternary group task for performing failure is submitted again;In addition, perform step by preserving the current of ternary group task
Suddenly, so that in some triple mission failure, ternary can be performed directly since fail step after solving failure cause
Group task, and other tasks in cluster are not influenceed;, can be with addition, the current execution step by preserving ternary group task
The current state of ternary group task is checked at any time, tracks the progress of ternary group task;Saved by the brother for preserving ternary group task
Point information, so as to share backup file with the brotgher of node;Before ternary group task is performed, verify and protected in ternary group task
Whether the brotgher of node for the object instance deposited is the object instance of other ternary group tasks being carrying out, so as to there is fraternal section
In the case of point, the complexity of related dilatation tasks carrying is reduced, further shortens the overall dilatation time;Appoint performing triple
Before business, by judging whether data source instance and/or the carry master library example of ternary group task are other unfinished ternarys
The object instance of group task, so as to determine whether ternary group task can perform, improve dilatation efficiency.
Fig. 6 shows method or the data-base cluster dilatation for the data-base cluster dilatation that can apply the embodiment of the present invention
The exemplary system architecture 600 of device.
As shown in fig. 6, system architecture 600 can include terminal device 601,602,603, network 604 and server 605.
Network 604 between terminal device 601,602,603 and server 605 provide communication link medium.Network 604 can be with
Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be interacted with using terminal equipment 601,602,603 by network 604 with server 605, to receive or send out
Send message etc..Various telecommunication customer end applications, such as the application of shopping class, net can be installed on terminal device 601,602,603
(merely illustrative) such as the application of page browsing device, searching class application, JICQ, mailbox client, social platform softwares.
Terminal device 601,602,603 can have a display screen and a various electronic equipments that supported web page browses, bag
Include but be not limited to smart mobile phone, tablet personal computer, pocket computer on knee and desktop computer etc..
Server 605 can be to provide the server of various services, such as utilize terminal device 601,602,603 to user
The shopping class website browsed provides the back-stage management server (merely illustrative) supported.Back-stage management server can be to receiving
To the data such as information query request analyze etc. processing, and by result (such as target push information, product letter
Breath -- merely illustrative) feed back to terminal device.
It should be noted that the method for the data-base cluster dilatation that the embodiment of the present invention is provided is typically by server 605
Perform, correspondingly, the device of data-base cluster dilatation is generally positioned in server 605.
It should be understood that the number of the terminal device, network and server in Fig. 6 is only schematical.According to realizing need
Will, can have any number of terminal device, network and server.
Below with reference to Fig. 7, it illustrates suitable for for realizing the computer system 700 of the terminal device of the embodiment of the present invention
Structural representation.Terminal device shown in Fig. 7 is only an example, to the function of the embodiment of the present invention and should not use model
Shroud carrys out any restrictions.
As shown in fig. 7, computer system 700 includes CPU (CPU) 701, it can be read-only according to being stored in
Program in memory (ROM) 702 or be loaded into program in random access storage device (RAM) 703 from storage part 708 and
Perform various appropriate actions and processing.In RAM 703, also it is stored with system 700 and operates required various programs and data.
CPU 701, ROM 702 and RAM703 are connected with each other by bus 704.Input/output (I/O) interface 705 is also connected to always
Line 704.
I/O interfaces 705 are connected to lower component:Importation 706 including keyboard, mouse etc.;Penetrated including such as negative electrode
The output par, c 707 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage part 708 including hard disk etc.;
And the communications portion 709 of the NIC including LAN card, modem etc..Communications portion 709 via such as because
The network of spy's net performs communication process.Driver 710 is also according to needing to be connected to I/O interfaces 705.Detachable media 711, such as
Disk, CD, magneto-optic disk, semiconductor memory etc., it is arranged on as needed on driver 710, in order to read from it
Computer program be mounted into as needed storage part 708.
Especially, according to embodiment disclosed by the invention, may be implemented as counting above with reference to the process of flow chart description
Calculation machine software program.For example, embodiment disclosed by the invention includes a kind of computer program product, it includes being carried on computer
Computer program on computer-readable recording medium, the computer program include the program code for being used for the method shown in execution flow chart.
In such embodiment, the computer program can be downloaded and installed by communications portion 709 from network, and/or from can
Medium 711 is dismantled to be mounted.When the computer program is performed by CPU (CPU) 701, system of the invention is performed
The above-mentioned function of middle restriction.
It should be noted that the computer-readable medium shown in the present invention can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer-readable recording medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, system, device or the device of infrared ray or semiconductor, or it is any more than combination.Meter
The more specifically example of calculation machine readable storage medium storing program for executing can include but is not limited to:Electrical connection with one or more wires, just
Take formula computer disk, hard disk, random access storage device (RAM), read-only storage (ROM), erasable type and may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In the present invention, computer-readable recording medium can any include or store journey
The tangible medium of sequence, the program can be commanded the either device use or in connection of execution system, device.And at this
In invention, computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium beyond storage medium is read, the computer-readable medium, which can send, propagates or transmit, to be used for
By instruction execution system, device either device use or program in connection.Included on computer-readable medium
Program code can be transmitted with any appropriate medium, be included but is not limited to:Wirelessly, electric wire, optical cable, RF etc., or it is above-mentioned
Any appropriate combination.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of various embodiments of the invention, method and computer journey
Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation
The part of one module of table, program segment or code, a part for above-mentioned module, program segment or code include one or more
For realizing the executable instruction of defined logic function.It should also be noted that some as replace realization in, institute in square frame
The function of mark can also be with different from the order marked in accompanying drawing generation.For example, two square frames succeedingly represented are actual
On can perform substantially in parallel, they can also be performed in the opposite order sometimes, and this is depending on involved function.Also
It is noted that the combination of each square frame and block diagram in block diagram or flow chart or the square frame in flow chart, can use and perform rule
Fixed function or the special hardware based system of operation are realized, or can use the group of specialized hardware and computer instruction
Close to realize.
Being described in module involved in the embodiment of the present invention can be realized by way of software, can also be by hard
The mode of part is realized.Described module can also be set within a processor, for example, can be described as:A kind of processor bag
Include creation module and execution module.Wherein, the title of these modules does not form the limit to the module in itself under certain conditions
It is fixed, for example, creation module is also described as " being asked to create ternary group task according to the dilatation of the data-base cluster received
Module ".
As on the other hand, present invention also offers a kind of computer-readable medium, the computer-readable medium can be
Included in equipment described in above-described embodiment;Can also be individualism, and without be incorporated the equipment in.Above-mentioned calculating
Machine computer-readable recording medium carries one or more program, when said one or multiple programs are performed by the equipment, makes
Obtaining the equipment includes:Asked to create ternary group task, wherein ternary group task bag according to the dilatation of the data-base cluster received
Include the information of following three element:The carry master library example of object instance, the data source instance of object instance and object instance;
Ternary group task is performed, to complete the dilatation of data-base cluster.
Technical scheme according to embodiments of the present invention, by creating ternary group task according to the dilatation request received, and
Ternary group task is performed, the automation dilatation of data-base cluster is completed, extra control is done to dilatation without user
(such as need to consider that all dilatation situations carry out complicated dilatation task design, when dilatation demand changes, overall repair is needed again
Change the dilatation task of design), it only need to directly submit cluster dilatation to ask, so that it may to reach the effect of data-base cluster automation dilatation
Fruit;Least unit in the embodiment of the present invention by the use of ternary group task as cluster dilatation, one included in being asked according to dilatation
Individual or multiple object instances, one or more ternary group tasks are created, so as to be set in the dilatation task in the prior art that reduces
While counting complexity, compatibility cascade dilatation or other complicated dilatation situations;By the execution shape for preserving ternary group task
State, so as to according to the state of execution, submit the ternary group task for performing failure again;In addition, by preserving ternary group task
Current execution step, can be directly from fail step after solving failure cause so as in some triple mission failure
Start to perform ternary group task, and do not influence other tasks in cluster;In addition, the current execution by preserving ternary group task
Step, the current state of ternary group task can also be checked at any time, track the progress of ternary group task;Appointed by preserving triple
The brotgher of node information of business, so as to share backup file with the brotgher of node;Before ternary group task is performed, ternary is verified
The brotgher of node of the object instance preserved in group task whether be other ternary group tasks being carrying out object instance, so as to
In the case where there is the brotgher of node, the complexity of related dilatation tasks carrying is reduced, further shortens the overall dilatation time;Holding
Before row ternary group task, by judge ternary group task data source instance and/or carry master library example whether be it is other not
The object instance of the ternary group task of completion, so as to determine whether ternary group task can perform, improve dilatation
Efficiency.
Above-mentioned embodiment, does not form limiting the scope of the invention.Those skilled in the art should be bright
It is white, depending on design requirement and other factors, various modifications, combination, sub-portfolio and replacement can occur.It is any
Modifications, equivalent substitutions and improvements made within the spirit and principles in the present invention etc., should be included in the scope of the present invention
Within.
Claims (20)
- A kind of 1. method of data-base cluster dilatation, it is characterised in that including:Asked to create ternary group task according to the dilatation of the data-base cluster received, the ternary group task includes following three The information of element:The carry master library example of object instance, the data source instance of the object instance and the object instance;The ternary group task is performed, to complete the dilatation of data-base cluster.
- 2. according to the method for claim 1, it is characterised in that ask to create according to the dilatation of the data-base cluster received Ternary group task includes:The one or more object instances included in being asked according to the dilatation, create one or more ternary group tasks.
- 3. according to the method for claim 1, it is characterised in that creating ternary group task also includes:Preserve the triple Following at least one information in task:The current execution step of the ternary group task, the execution shape of the ternary group task State, the addition time of the ternary group task and the renewal time of the ternary group task.
- 4. according to the method for claim 3, it is characterised in that the execution state of the ternary group task is included as follows at least It is a kind of:It is not carried out, be carrying out, run succeeded, performs failure;AndWhen performing the ternary group task, execution state is selected as the ternary group task that is not carried out, and from the execution state The current execution step of ternary group task to be not carried out proceeds by execution.
- 5. according to the method for claim 4, it is characterised in that methods described also includes:If the triple tasks carrying failure, the execution state of the ternary group task is updated to perform failure;AndAccording to the dilatation request received create with perform failure the new ternary group task of ternary group task identical it Afterwards, the new ternary group task is not preserved, and is not hold by the execution status modifier of the ternary group task for performing failure OK.
- 6. according to the method for claim 1, it is characterised in that creating ternary group task also includes:If the object instance The brotgher of node be present, then the brotgher of node information of the object instance is stored in triple corresponding to the object instance in the lump In task, wherein, the brotgher of node refers to other object instances for having identical data source instance with the object instance.
- 7. according to the method for claim 6, it is characterised in that before the ternary group task is performed, methods described is also Including:Whether the brotgher of node for the object instance for judging to preserve in the ternary group task is that other triples being carrying out are appointed The object instance of business, if not then performing the ternary group task.
- 8. according to the method for claim 6, it is characterised in that during the ternary group task is performed, the side Method also includes:After generating backup file on the object instance of the ternary group task, in the brotgher of node that judges the object instance With the presence or absence of the backup file, if being not present, by the brotgher of node of the backup file copy to the object instance; AndBefore removing backup file on the object instance from the ternary group task, judge whether copy has been completed, if complete Into then removing backup file, if not completing, is continued waiting for until copy is completed.
- 9. according to the method for claim 1, it is characterised in that methods described also includes:Before the ternary group task is performed, the data source instance and/or carry master library example of the ternary group task are judged Whether it is the object instance of other unfinished ternary group tasks, if not then performing the ternary group task.
- A kind of 10. device of data-base cluster dilatation, it is characterised in that including:Creation module, ternary group task is created for the dilatation request according to the data-base cluster received, the triple is appointed Business includes the information of following three element:Object instance, the data source instance of the object instance and the object instance Carry master library example;Execution module, for performing the ternary group task, to complete the dilatation of data-base cluster.
- 11. device according to claim 10, it is characterised in that the creation module is additionally operable to:The one or more object instances included in being asked according to the dilatation, create one or more ternary group tasks.
- 12. device according to claim 10, it is characterised in that the creation module is additionally operable to:Preserve the triple Following at least one information in task:The current execution step of the ternary group task, the execution shape of the ternary group task State, the addition time of the ternary group task and the renewal time of the ternary group task.
- 13. device according to claim 12, it is characterised in that the execution state of the ternary group task is included as follows extremely Few one kind:It is not carried out, be carrying out, run succeeded, performs failure;AndThe execution module is additionally operable to:When performing the ternary group task, the triple for selecting execution state to be not carried out is appointed Business, and be that the current execution step of the ternary group task being not carried out proceeds by execution from the execution state.
- 14. device according to claim 13, it is characterised in that the creation module is additionally operable to:If the triple is appointed Business performs failure, then is updated to perform failure by the execution state of the ternary group task;AndAccording to the dilatation request received create with perform failure the new ternary group task of ternary group task identical it Afterwards, the new ternary group task is not preserved, and is not hold by the execution status modifier of the ternary group task for performing failure OK.
- 15. device according to claim 10, it is characterised in that the creation module is additionally operable to:If the object instance The brotgher of node be present, then the brotgher of node information of the object instance is stored in triple corresponding to the object instance in the lump In task, wherein, the brotgher of node refers to other object instances for having identical data source instance with the object instance.
- 16. device according to claim 15, it is characterised in that the execution module is additionally operable to:Performing the ternary Before group task, the brotgher of node of the object instance for judging to preserve in the ternary group task whether be it is other be carrying out three The object instance of first group task, if not then performing the ternary group task.
- 17. device according to claim 15, it is characterised in that described during the ternary group task is performed Execution module is additionally operable to:After generating backup file on the object instance of the ternary group task, in the brotgher of node that judges the object instance With the presence or absence of the backup file, if being not present, by the brotgher of node of the backup file copy to the object instance; AndBefore removing backup file on the object instance from the ternary group task, judge whether copy has been completed, if complete Into then removing backup file, if not completing, is continued waiting for until copy is completed.
- 18. device according to claim 10, it is characterised in that the execution module is additionally operable to:Before the ternary group task is performed, the data source instance and/or carry master library example of the ternary group task are judged Whether it is the object instance of other unfinished ternary group tasks, if not then performing the ternary group task.
- 19. a kind of electronic equipment, it is characterised in that including:One or more processors;Storage device, for storing one or more programs,When one or more of programs are by one or more of computing devices so that one or more of processors are real The now method as described in any in claim 1-9.
- 20. a kind of computer-readable medium, is stored thereon with computer program, it is characterised in that described program is held by processor The method as described in any in claim 1-9 is realized during row.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710805786.8A CN107526838B (en) | 2017-09-08 | 2017-09-08 | Method and device for database cluster capacity expansion |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710805786.8A CN107526838B (en) | 2017-09-08 | 2017-09-08 | Method and device for database cluster capacity expansion |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107526838A true CN107526838A (en) | 2017-12-29 |
CN107526838B CN107526838B (en) | 2020-05-01 |
Family
ID=60735830
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710805786.8A Active CN107526838B (en) | 2017-09-08 | 2017-09-08 | Method and device for database cluster capacity expansion |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107526838B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109656709A (en) * | 2017-10-12 | 2019-04-19 | 北京京东尚科信息技术有限公司 | A kind of method and apparatus of Codis cluster dilatation |
CN110874384A (en) * | 2018-09-03 | 2020-03-10 | 阿里巴巴集团控股有限公司 | Database cluster capacity expansion method, device and system |
CN113448940A (en) * | 2020-03-24 | 2021-09-28 | 北京京东振世信息技术有限公司 | Method and device for expanding database |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000090002A (en) * | 1998-09-09 | 2000-03-31 | Toshiba Corp | Data base managing system |
CN103034664A (en) * | 2011-10-10 | 2013-04-10 | 上海盛霄云计算技术有限公司 | Method, system and device for controlling data migration of database |
CN103959706A (en) * | 2011-11-30 | 2014-07-30 | 微软公司 | Migrating authenticated content towards content consumer |
CN104142943A (en) * | 2013-05-07 | 2014-11-12 | 上海盛大网络发展有限公司 | Database expansion method and database |
CN104731896A (en) * | 2015-03-18 | 2015-06-24 | 北京百度网讯科技有限公司 | Data processing method and system |
KR20160046572A (en) * | 2014-10-21 | 2016-04-29 | 포항공과대학교 산학협력단 | Method for expanding data of database and apparatus therefor |
CN105760552A (en) * | 2016-03-25 | 2016-07-13 | 北京奇虎科技有限公司 | Data management method and device |
-
2017
- 2017-09-08 CN CN201710805786.8A patent/CN107526838B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000090002A (en) * | 1998-09-09 | 2000-03-31 | Toshiba Corp | Data base managing system |
CN103034664A (en) * | 2011-10-10 | 2013-04-10 | 上海盛霄云计算技术有限公司 | Method, system and device for controlling data migration of database |
CN103959706A (en) * | 2011-11-30 | 2014-07-30 | 微软公司 | Migrating authenticated content towards content consumer |
CN104142943A (en) * | 2013-05-07 | 2014-11-12 | 上海盛大网络发展有限公司 | Database expansion method and database |
KR20160046572A (en) * | 2014-10-21 | 2016-04-29 | 포항공과대학교 산학협력단 | Method for expanding data of database and apparatus therefor |
CN104731896A (en) * | 2015-03-18 | 2015-06-24 | 北京百度网讯科技有限公司 | Data processing method and system |
CN105760552A (en) * | 2016-03-25 | 2016-07-13 | 北京奇虎科技有限公司 | Data management method and device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109656709A (en) * | 2017-10-12 | 2019-04-19 | 北京京东尚科信息技术有限公司 | A kind of method and apparatus of Codis cluster dilatation |
CN110874384A (en) * | 2018-09-03 | 2020-03-10 | 阿里巴巴集团控股有限公司 | Database cluster capacity expansion method, device and system |
CN110874384B (en) * | 2018-09-03 | 2023-05-02 | 阿里巴巴集团控股有限公司 | Method, device and system for expanding and shrinking capacity of database cluster |
CN113448940A (en) * | 2020-03-24 | 2021-09-28 | 北京京东振世信息技术有限公司 | Method and device for expanding database |
CN113448940B (en) * | 2020-03-24 | 2023-09-22 | 北京京东振世信息技术有限公司 | Database capacity expansion method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107526838B (en) | 2020-05-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109446099A (en) | Automatic test cases generation method, device, medium and electronic equipment | |
CN110245011A (en) | A kind of method for scheduling task and device | |
CN107590277A (en) | Method of data synchronization, device, electronic equipment and storage medium | |
CN108874506A (en) | Virtual machine leads directly to the thermomigration process and device of equipment | |
CN109063027A (en) | A kind of method and device for business processing | |
CN104765621B (en) | A kind of method and system of the deployment program in clustered node | |
CN106899648A (en) | A kind of data processing method and equipment | |
CN109408214A (en) | A kind of method for parallel processing of data, device, electronic equipment and readable medium | |
CN109492013A (en) | Data processing method, device and system applied to data-base cluster | |
CN110049118A (en) | Information push method, device, equipment and storage medium | |
CN107832107A (en) | System deployment method, apparatus, electronic equipment and storage medium | |
CN106878363A (en) | A kind of information processing method, apparatus and system | |
CN108874828A (en) | The method and apparatus of Data Migration | |
US20100281241A1 (en) | Method and system for synchronizing inclusive decision branches | |
CN109144785A (en) | Method and apparatus for Backup Data | |
CN107526838A (en) | The method and apparatus of data-base cluster dilatation | |
CN107862044A (en) | The method and apparatus of displayed page | |
CN109241033A (en) | The method and apparatus for creating real-time data warehouse | |
CN110135925A (en) | Order processing system, method and apparatus | |
CN109597699A (en) | Data processing method, device, electronic equipment and computer-readable medium | |
CN110334545A (en) | A kind of authority control method based on SQL, device and electronic equipment | |
US20170220624A1 (en) | Transaction processor | |
CN110119386A (en) | Data processing method, data processing equipment, medium and calculating equipment | |
US10761940B2 (en) | Method, device and program product for reducing data recovery time of storage system | |
CN109614440A (en) | Method of data synchronization and relevant device based on big data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |