WO2018059032A1 - Procédé de migration de données pour nœud virtuel, et nœud virtuel - Google Patents

Procédé de migration de données pour nœud virtuel, et nœud virtuel Download PDF

Info

Publication number
WO2018059032A1
WO2018059032A1 PCT/CN2017/090613 CN2017090613W WO2018059032A1 WO 2018059032 A1 WO2018059032 A1 WO 2018059032A1 CN 2017090613 W CN2017090613 W CN 2017090613W WO 2018059032 A1 WO2018059032 A1 WO 2018059032A1
Authority
WO
WIPO (PCT)
Prior art keywords
physical node
node
service
migration
migrated
Prior art date
Application number
PCT/CN2017/090613
Other languages
English (en)
Chinese (zh)
Inventor
陶维忠
吴刚
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2018059032A1 publication Critical patent/WO2018059032A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/214Database migration support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a data migration method and a virtual node of a virtual node.
  • distributed database technology is a distributed technology commonly used in the field of IT technology. It is mainly applied to webpage page caching, database caching, etc. to meet the requirements of users for the response speed of network systems.
  • a physical node can virtualize multiple virtual nodes, and then map multiple virtual nodes to the ring through a hash algorithm, so that the physical nodes can be mapped on the ring.
  • the range of hash values when multiple physical nodes do not meet the load balancing conditions, the virtual nodes on the physical nodes need to be migrated; for example, when a physical node is added to a distributed database system or a physical node is deleted, the physical node association is adjusted.
  • the number of virtual nodes is such that the number of virtual nodes associated with each physical node tends to be equal, so that all physical nodes of the distributed database system implement load balancing of the virtual nodes.
  • the MVCC Modult i-Version Concurrency Control
  • the migration process avoids the use of locks, thereby having the advantage of low overhead, but This migration mechanism is only applicable to non-relational databases.
  • the embodiment of the invention discloses a data migration method and a physical node of a virtual node, which can implement data migration of a relational database on a physical node.
  • the present application provides a data migration method for a virtual node, where the source physical node and the target physical node include but are not limited to a minicomputer, an x86 server, a personal workstation, or another type of hardware server, a source physical node, and a target physical node.
  • the distributed database system includes multiple physical nodes, and the method of triggering data migration may be: the metadata node detects multiple physical nodes in the distributed database system. The data migration is triggered when the load balancing condition is not met during the running of the service; or the metadata node detects the addition of a new physical node in the distributed database system, triggers data migration; or deletes a certain physical in the distributed database system.
  • the metadata node detects that a virtual node of a physical node on multiple physical nodes needs to perform data migration, the metadata node determines the source physical node and the target physical node, and at least one virtual node to be migrated on the source physical node, and metadata.
  • the node may send a migration indication message to the source physical node, where the migration indication message may carry the identifier of the target physical node and the identifier of the at least one virtual node to be migrated on the source physical node, where the migration indication message may be sent by the metadata node, Can be sent by other nodes in the distributed database system.
  • the source physical node first receives the migration indication message, and determines at least one virtual node and the target physical node to be migrated according to the migration indication message, where the organization of the data on the virtual node may be a relational database, the virtual node includes multiple service objects, and the data structure
  • the information indicates the association relationship of the service tables to which the multiple service objects belong, and the source physical node obtains the to-be-migrated according to the data structure information.
  • One business object belongs to one virtual machine node, and the source physical node migrates all business objects to the target physical node in turn.
  • the data structure information of the virtual node to be migrated by the source physical node acquires the service object to be migrated according to the data structure information, and all the service objects are migrated to the target physical node, thereby implementing logical migration of the relational data.
  • the data structure information of the source physical node is obtained, and the service object to which the at least one virtual node to be migrated belongs according to the data structure information includes: the data structure information includes the data fragment table and the service.
  • the object sub-table, the data fragment table is used to store the mapping relationship between the virtual node and the business object, for example, the mapping between the identifier of the virtual node and the identifier of the business object, and the identifier of the business object may be a hash value.
  • the source physical node obtains the virtual node identifier of each virtual node in the at least one virtual node, and the source physical node queries the virtual node identifier as an index to query one or more service objects to which the at least one virtual node belongs according to the preset data fragmentation table. Obtaining all the business objects on the at least one virtual node. For any one of the business objects, the source physical node obtains the business object identifier of the business object, and queries the business object identifier according to the preset business object subsidiary table.
  • the business table stores a plurality of business records, and the business records can be retrieved in the business table according to the identification of the business object.
  • the source physical node before the source physical node performs the route switching, receives the service access request of the client, and the source physical node performs the service access request according to the service object indicated by the service request, and the source physical node
  • the service access request is recorded in the service log, and the service log is sent to the target physical node.
  • the source physical node adds a timestamp or a version number to the service log, so that the target physical node can distinguish the order of the service logs.
  • the source physical node receives the service access request sent by the client during the migration process of the service object, processes the service access request normally, does not affect the user service, implements online migration, and further passes the source physical node and the target physics.
  • the synchronization of the service logs of the nodes keeps the data of the source physical node and the target physical node synchronized.
  • the method includes: the source physical node sends a migration completion message to the metadata node, where the migration of all the service objects corresponding to the at least one virtual node to be migrated is completed, and the migration is performed.
  • the completion message is used to notify the metadata node that all the service objects to be migrated have been successfully migrated to the target physical node.
  • the metadata node After receiving the migration completion message, the metadata node sends a handover indication message to the source physical node, and the source physical node receives the handover indication message.
  • the transaction includes multiple business access requests, the transaction has the characteristics of integrity, and the transaction execution is completed under the condition that each service access request in multiple service accesses must be successfully executed, if multiple service access requests If any one or more of the business access requests are not successfully executed, the transaction is rolled back to re-execute the transaction.
  • the source physical node receives the handover indication message, if there is a started transaction, and the source physical node waits for the started transaction to be successfully executed, the source physical node returns a handover preparation message to the metadata node, and the handover preparation message indicates that the source physical node is used as the route.
  • the metadata node may send a route switch message to the client after receiving the handover preparation message, where the route switch message may include mapping relationship information between the at least one virtual node to be switched and the target physical node, and the client switches the message according to the route. Update routing information.
  • the integrity of the data between the source physical node and the target physical node is effectively ensured, and the reliability is high.
  • the source physical node migrating all the service objects to the target physical node at the granularity of the service object includes: the source physical node selects a service object to be migrated from all the service objects, and The service object to be migrated is locked, and the service object to be migrated after the lock processing can only be read, and the write operation cannot be performed to prevent the business object to be migrated from being modified.
  • the source physical node sends the service object to be migrated to the service object.
  • the source physical node deletes the service object to be migrated when the service object to be migrated is successfully migrated to the target physical node.
  • the service access request is transferred during the process of migrating the business object, and the occupied resources are small.
  • the method further includes: when the source physical node receives the service access request sent by the client for the service object to be accessed, the source physical node determines to be accessed. Whether the business object has been migrated to the target physical node. If yes, the source physical node returns a routing update message to the client, where the routing update message carries the identifier of the service object to be accessed and the identifier of the target physical node, and the client The physical node where the service object to be accessed is located may be updated according to the routing update message, so that when the client initiates a service access request for the service object to be accessed, the client directly sends a service access request to the target physical node according to the updated routing information.
  • the method further includes: when the business object migration is completed, the source physical node sends a migration completion message to the metadata node, where the migration completion message is used to notify the metadata node to migrate at least one virtual node.
  • the metadata node receives the migration completion message and sends a route switch message to the client.
  • the route switch message is used to instruct the client to update the physical node where the at least one virtual node to be migrated is located.
  • the handover message carries at least one identifier of the virtual node and an identifier of the target physical node, and the client receives the routing switch message to update the routing information.
  • the application provides a method for migrating a virtual node, including: receiving, by the target physical node, a migration indication message; wherein the migration indication message carries an identifier of the source physical node, and the target physical node receives the service sent by the source physical node.
  • the target physical node determines that the data object to be migrated by the source physical node is complete, acquires the data structure information of all the received service objects, and reconstructs at least one virtual node according to the data structure information.
  • the target physical node acquires the data structure information of the migrated business object, reconstructs the virtual node according to the data structure information, and implements data recovery.
  • the method further includes: the target physical node receives the service log sent by the source physical node, and performs service replay according to the service access request included in the log file.
  • the service replay is performed according to the time stamp of the service log or the version number.
  • the method further includes: when the target physical node determines that the service log transmission on the source physical node is completed, acquiring the target replica physical node allocated by the at least one virtual node, storing the service log and the All the business objects included in the at least one virtual node are migrated to the target replica physical node, the target replica service node receives the service object, reorganizes the virtual node according to the received service object, and performs service replay according to the received service log, and performs the virtual node for the virtual node. Backup.
  • two or more virtual nodes that are mutually backed up are configured to meet the reverse affinity rules of the physical nodes, that is, at least two virtual nodes are located at different physical nodes, and the metadata nodes are based on
  • the anti-affinity rule deploys the target physical node of the target physical node to improve the reliability of the virtual node.
  • the application provides a physical node, where the physical node is a source physical node, and the source physical node includes:
  • a receiving module configured to receive a migration indication message
  • a determining module configured to determine, according to the migration indication message, at least one virtual node to be migrated on the target physical node and the source physical node;
  • An obtaining module configured to obtain data structure information of the source physical node itself, and obtain all service objects to which at least one virtual node belongs according to the data structure information;
  • a migration module for migrating all business objects to a target physical node at a granularity of business objects.
  • the data structure information includes a data fragment table and a data attachment table
  • the get module is used to:
  • the method further includes:
  • a first access processing module configured to receive a client to send a service access request
  • the method further includes:
  • a transaction processing module configured to send a migration completion message to the metadata node when the business object migration is completed
  • a handover preparation message is returned to the metadata node; wherein the handover preparation message is used to indicate that the source physical node completes the route switching preparation.
  • the migration module is used to:
  • the business object to be migrated is successfully migrated to the target physical node, the business object to be migrated is deleted.
  • the method further includes:
  • a second access processing module configured to receive, during a migration process of the service object, a service access request sent by the client for the service object to be accessed;
  • routing update message is used to instruct the client to update the physical node where the business object to be accessed is located.
  • the method further includes:
  • the notification module is configured to send a migration completion message to the metadata node when the business object migration is completed; wherein the migration completion message is used to indicate that all the business objects to which the at least one virtual node belongs are migrated.
  • the application provides a physical node, where the physical node is a target physical node, and the target physical node includes:
  • a determining module configured to receive a migration indication message, and determine a source physical node according to the migration indication message
  • a receiving module configured to receive a service object sent by a source physical node
  • the reconstruction module is configured to acquire data structure information of the received service object when the migration of the business object of the source physical node is completed, and reconstruct the virtual node according to the data structure information.
  • the method further includes:
  • the service recovery module is configured to receive a service log sent by the source physical node, and perform service replay according to the service log.
  • the service log includes a service access request.
  • the method further includes:
  • the data backup module is configured to determine the physical node of the target replica in the case that the service log transmission on the source physical node is completed, and migrate the stored service log and the virtual node to the physical node of the target replica.
  • FIG. 1 is a schematic structural diagram of a distributed database system according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a data migration method of a virtual node according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of still another method for data migration of a virtual node according to an embodiment of the present invention.
  • 4a is a schematic flowchart of a method for acquiring a service object of a virtual node according to an embodiment of the present invention
  • 4b is a schematic diagram of a data structure of a physical node according to an embodiment of the present invention.
  • 4c is a schematic diagram of a principle of a data migration method for a virtual node according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a physical node according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of still another physical node according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of still another physical node according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of still another physical node according to an embodiment of the present invention.
  • FIG. 1 is a schematic structural diagram of a hash-based distributed database system according to an embodiment of the present invention.
  • a distributed database system includes at least one client, a metadata node, a physical node cluster, and Storage network. At least one client communicates with the metadata node and the physical node cluster through the IP network, wherein the communication interface between the client and the metadata node or the physical node cluster may be a TCP (Transmission Control Protocol) interface or UDP. (User Datagram Protocol) interface.
  • TCP Transmission Control Protocol
  • UDP User Datagram Protocol
  • the metadata node includes a data equalization device, and the metadata node may be deployed in an independent manner, for example, may be deployed by using a minicomputer, an X86 computer, a personal computer server PC server, or may be combined with a physical node cluster.
  • the physical node cluster includes a plurality of physical nodes, and the physical node may be a minicomputer, an X86 computer, or a personal computer server PC server.
  • the data of the plurality of physical nodes may be stored in a storage medium of the storage network, and the plurality of physical nodes and the storage network are The block is read and written by Block IO (block IO), that is, the storage medium is read and written by Block.
  • the storage medium can be HDD (Hard Disk Drive), SSD (Solid State Drives), or memory. .
  • the metadata node mainly stores the metadata (Metadata) of the database system, and the metadata is information about the organization of the data, the data domain and the relationship thereof.
  • the metadata is the data used to describe the data.
  • the data equalization device is responsible for the distributed management capabilities of the distributed database system as a whole. In addition to being deployed in a metadata node, the data equalization device can also be built into various physical nodes. The highly reliable deployment mode of the distributed database system may adopt a dual-machine or a cluster mode, and the present invention is not limited.
  • the data equalization device mainly involves the following functions:
  • Metadata definition store and update the mapping relationship between virtual nodes and physical nodes, copy definition of virtual nodes, load degree and weight coefficient calculation method of weight factors, configuration and storage of deviation coefficients, and fission strategy of virtual nodes.
  • Route management Manage the routing data of the business object, and call the metadata definition unit interface according to the mapping relationship between the virtual node and the physical node.
  • Replication management store and update the primary copy relationship of the virtual node, and is responsible for the management of replication integrity, calling the metadata definition unit interface.
  • Node monitoring monitoring service information and node resource information, calling communication service unit, and acquiring each data service node Information and issue monitoring instructions.
  • Online migration Provides online migration capability in units of data sharding, which has no impact on the business and ensures high availability of migration.
  • the metadata definition interface is used to complete the routing and replication relationship changes.
  • Data equalization Data balancing between physical nodes is achieved according to data equalization conditions.
  • Metadata Synchronization/Persistence Synchronize metadata definition information to each physical node, the driver of the client, and the slave node of the data equalization device.
  • the change information needs to be notified to the above node, and the metadata is persisted to ensure high reliability of the data.
  • Communication service Provides network communication capabilities with peripheral network elements (each physical node, the driver of the client, and the slaver node of the data equalization device).
  • a plurality of physical nodes may deploy an agent agent, and the agent is responsible for information interaction with the data equalization device (for example, reporting node health information, receiving instructions of the data equalization device, and providing self-management of node high availability, for example, domain degradation when the network is abnormal) .
  • the agent is responsible for information interaction with the data equalization device (for example, reporting node health information, receiving instructions of the data equalization device, and providing self-management of node high availability, for example, domain degradation when the network is abnormal) .
  • the driver is also deployed on the client, and the routing information is cached in the driver.
  • the client can complete the route judgment through the cached routing information and access the corresponding physical node, thereby preventing the data balancing device from becoming a bottleneck of the routing query during service access.
  • FIG. 2 is a schematic flowchart of a data migration method of a virtual node according to an embodiment of the present invention, where the method includes but is not limited to the following steps.
  • the metadata node detects that the migration condition is met.
  • the distributed database system includes multiple physical nodes.
  • the migration conditions include, but are not limited to, adding physical nodes to multiple physical nodes, deleting one physical node of multiple physical nodes, or multiple physical nodes that do not meet load balancing conditions.
  • the equilibrium condition includes the equalization of the number of nodes on each physical node and the balance of traffic on each physical node; at this time, the distributed database system needs to perform data migration, so that the distributed database system satisfies the load balancing condition, and the metadata node determines the source physics. At least one virtual node to be migrated on the node, the target physical node, and the source physical node.
  • the distributed database system includes three physical nodes, three physical nodes are physical node a, physical node b, and physical node c, and each of the three physical nodes includes four virtual nodes, when distributed
  • the metadata node detects that the distributed database system does not satisfy the load balancing condition (the load balancing condition is the number of virtual nodes), and the metadata node needs to be separately from the physical node a and the physical node.
  • the load balancing condition is the number of virtual nodes
  • the metadata node determines that the source physical node is the physical node a, the physical node b, and the physical node c, and the target physical node is the physical node d.
  • the metadata node determines that the virtual node to be migrated on the physical node a is any one of the four virtual nodes to be migrated, and the virtual node to be migrated on the physical node b is any one of the four virtual nodes that belong to the physical node c.
  • the virtual node to be migrated is any one of the physical nodes to be migrated.
  • the metadata node sends a migration indication message to the source physical node.
  • the migration indication message is used to indicate that the source physical node performs the migration operation, and the migration indication message may include the identifier of the target physical node and the identifier of the at least one virtual node to be migrated on the source physical node, where the source physical node may determine according to the migration indication message. At least one virtual node to be migrated on the target physical node and the source physical node.
  • the source physical node acquires data structure information of at least one virtual node to be migrated.
  • the virtual node includes multiple service objects, and the service object is an object that is divided according to a preset division rule.
  • the data set for example, the object is divided by the client, and the data set of each client is a business object;
  • the data structure information represents the structure of the data on the physical node, and the data structure information specifically includes the mapping relationship between the physical node and the virtual node, and the virtual node
  • the mapping relationship with the business object, the mapping relationship between the business object and the business table, and the data structure information can be maintained by the metadata node.
  • the source physical node obtains all the service objects corresponding to the at least one virtual node to be migrated according to the data structure information, and the source physical node may acquire the data structure information of the at least one virtual node to be migrated to the metadata node.
  • the source physical node acquires data structure information of each virtual node in the at least one virtual node, and obtains all service objects according to the data structure information.
  • the data on the physical node can be divided into four levels, from top to bottom, respectively, a virtual node, a business object, a service table, and a business record, one virtual node is associated with multiple business objects, and one business object is associated with multiple business tables.
  • a business table stores a plurality of business records;
  • the business object represents a data set to which the objects are divided according to a predefined rule, for example, the objects are divided according to different customers, and each customer is a business object;
  • the objects are divided according to the service type, each The business object is a business object; the business objects are divided according to different orders, each order is a business object;
  • the business table is used to store specific business records.
  • the data structure information can be maintained on the metadata node, and the data structure information represents the data structure of the physical node.
  • the data structure information includes a data fragmentation table, a business object root table, and a business object subsidiary table; the data fragmentation table storage represents the virtual node and the business object.
  • the business object root table stores basic information of the business object, for example, when the business object is a data set of a customer,
  • the business object root table stores the customer's personal information;
  • the business object subsidiary table storage represents the mapping relationship between the business object and the business table.
  • the source physical node obtains the data fragmentation table from the metadata node, and retrieves the data fragmentation table by using the virtual node identifier to obtain the business object identifier of all the business objects to which the at least one virtual node to be migrated belongs.
  • the business object subsidiary table defines a mapping relationship between the business object and the business table, and the source physical node retrieves the preset business object subsidiary table according to the business object identifier to obtain the business table.
  • At least one virtual node to be migrated is a virtual node 1
  • the source physical node acquires a virtual node identifier of the virtual node 1, and retrieves a preset data fragment table according to the virtual node identifier to obtain a virtual
  • the node 1 associates the business object identifier of the business object 11, the business object 12, ..., the business object 1m, and then the source physical node retrieves the preset business object subsidiary table according to the business object identifier to obtain a plurality of related business tables
  • the business object 11 is
  • the business object identifier of the searched business object 11 is associated with the business table 111, the business table 112, ..., the business table 11k; then the source physical node can retrieve the corresponding business record in the business table according to the business object identifier of the business object.
  • the service table 111 as an example, the business record 1111, the business record 1112, ..., the business record 111h stored in the service table
  • the source physical node sends the first service object C1 to the target physical node.
  • the source physical node determines all the service objects to which the at least one virtual node belongs to be migrated, one of the service objects is selected and sent to the target physical node.
  • the source physical node sets a record table for recording the migration status of the service object. In the initial state, the migration status of all service objects is not migrated. When a service object is successfully migrated to the target physical node, the source physical node will The migration status of the business object is changed to migrated.
  • the source physical node receives the service access request sent by the client.
  • the operation object of the service access request is one of all the service objects in S203, and the operation type of the service access request may be a read operation or a write operation.
  • the source physical node generates a service log.
  • the service log includes a service access request
  • the source physical node may further add a timestamp or a version number to the service log, so that the target physical node can distinguish the order of service access requests.
  • the source physical node returns a service access response to the client.
  • the source physical node performs a corresponding operation according to the service access request, and returns a service access response to the client, for example, the operation type of the service access request is a read operation, the service access response carries the read data, and the service access request is operated.
  • the type is a write operation
  • the service access response carries write status information, and the write status information is used to indicate whether the write operation is successful.
  • the source physical node sends a service log to the target physical node.
  • the source physical node sends a service log to the target physical node, and the target physical node caches the received service log.
  • the source physical node may generate a service log every time a service access request is received, and send the service log to the target physical node, or the source physical node receives a service access request to generate a service log, and the generated service is generated.
  • the log is cached. After all the business objects are migrated, all the cached service logs are sent to the target physical node.
  • the source physical node sends the last service object to the target physical node.
  • the number of the service objects corresponding to the at least one virtual node to be migrated is n
  • the source physical node may count the migrated service objects, and the value of each service object is incremented by one, and the count value is equal to all the service objects.
  • the quantity is n, it indicates that all business objects migrate successfully.
  • the target physical node receives the service object sent by the source physical node, and after the source physical node sends all the service objects to be migrated, the source physical node may send a migration completion message to the target physical node, and the migration completion message indicates that the source physical node is to be migrated. All the service objects are sent; after the target physical node determines that all the service objects to be migrated on the source physical node are sent, the data structure information of the source physical node can be obtained from the metadata node, and the target physical node receives the data according to the data structure information. All the business objects that arrive are reorganized to obtain the at least one virtual node.
  • the target physical node may perform service replay according to the cached service log after the indication of the source physical node or the indication of the metadata node, and the target physical node performs log replay according to the timestamp or version number carried in the log file to make the target physical node
  • the execution order of the upper service access request is consistent with the source physical node.
  • the service access request may be skipped.
  • the service log cached by the target physical node includes: service log 1, service log 2, service log 3, and service log 4.
  • the service access request recorded in service log 1 is modified user information, and the version number of the record is 1.0;
  • the service access request recorded in 2 is the modified charging type, and the recorded version number is 1.1;
  • the service access request recorded in the service log 3 is the read consumption record, and the recorded version number is 1.2;
  • the service access request recorded in the service log 4 To modify the user balance, the version number of the record is 1.3. It is assumed that the record number of the version number is incremented according to the sequence, and the service log with a larger version number is newer than the service log with a smaller version number.
  • the target physical node performs service replay according to the above four service logs, the service log 1 and the service log are used. 2.
  • the service replay is performed in the order of service log 3 and service log 4.
  • the source physical node sends a migration complete message to the metadata node.
  • a migration completion message is sent to the metadata node.
  • the migration completion message indicates that all the business objects to be migrated on the source physical node are migrated.
  • the metadata node sends a handover indication message to the source physical node.
  • the handover indication message is used to indicate that the source physical node performs route switching.
  • the source physical node blocks the requested transaction, and waits for the started transaction to complete.
  • the source physical node blocks the transaction requested by the client, and the transaction includes multiple service access requests, and the transaction has the characteristics of integrity. After all the service access requests included in the transaction are successfully executed, the transaction is completed. It is considered that the execution is successful. When any one or more business operation requests included in the transaction are not successfully executed, the transaction needs to be rolled back, and multiple service access requests included in the transaction are re-executed; the source physical node determines that there is a startup. A transaction, and a transaction that has started is not successfully executed, waiting for the execution of the started transaction to complete.
  • the source physical node returns a handover preparation message to the metadata node.
  • the source physical node After the execution of the started transaction is completed, the source physical node returns a handover preparation message to the metadata node, where the handover preparation message indicates that the source physical node has completed the route switching preparation.
  • the source physical node may block the transaction requested by the client after all the service nodes to which the at least one virtual node to be migrated is sent, and the source physical node determines to perform the executed transaction. After completion, the handover preparation message is sent to the metadata node, and the handover preparation message is used to indicate that the source physical node is ready for route switching to ensure the integrity of the transaction.
  • the source physical node may send a handover preparation message to the target physical node, and after receiving the handover preparation message, the target physical node performs service replay according to the cached service log, and the target physical node may obtain the information from the metadata node after the service replay is completed.
  • a physical node of the source physical node, the target physical node sends the cached service log to the physical node of the replica, and the physical node of the replica performs service replay on at least one virtual node according to the service log.
  • the metadata node sends a route switching message to the client.
  • the metadata node when receiving the handover preparation message, the metadata node confirms that the source physical node is prepared as a route switch, and the metadata node acquires the identifier of the target physical node and the identifier of the at least one virtual node to be migrated, and the metadata node sends a route to the client.
  • the switching message is used to indicate that the client updates the physical node where the at least one virtual node is located, and the routing switch message carries the identifier of the at least one virtual node to be migrated and the identifier of the target physical node.
  • the client sends a service access request to the target physical node.
  • the client receives the routing switch message, and changes the mapping relationship between the at least one virtual node and the source physical node to the mapping relationship between the at least one virtual node and the target physical node, and the client sends the service object to the service object to which the at least one virtual node belongs.
  • the service access request is sent to the target physical node according to the changed mapping relationship.
  • the target physical node returns a service access response to the client.
  • the target physical node receives the service access request, performs a corresponding operation according to the service access request, and returns a service access response to the client.
  • the metadata node sends an offline notification message to the source physical node.
  • the offline notification message is used to clean at least one virtual node in the source physical node, and the offline notification message may carry the identifier of the at least one virtual node.
  • the distributed database system includes four physical nodes, which are physical node 1, physical node 2, physical node 3, and physical node 4.
  • Each physical node includes 12 virtual nodes, and each virtual node has 1 deployed.
  • Copy the number in the brackets below is the table of the virtual node, the two virtual nodes of the same number are the master and the copy, which can also be called The primary node and the standby node (or primary or backup fragment), the mapping relationship between the physical node and the virtual node is as follows:
  • Physical node 3 (13,14,15,16,17,18), (2,5,7,10,21,24)
  • the data equalization subsystem of the metadata node calculates that it is necessary to separately migrate the physical node 1. virtual node 1, physical node 2. virtual node 7, physical node 3. virtual node 13, physical node 4. virtual node 19 to physical node 5.
  • the physical node 1. virtual node 1, physical node 2. virtual node 7, physical node 3. virtual node 13, physical node 4. virtual node 19 are sequentially traversed.
  • Physical nodes 1-4 are source physical nodes, and physical nodes 5 are target physical nodes.
  • the structure of the data fragmentation table is defined as
  • Vnode_id int Vnode_id int, / / virtual node ID
  • the identifier can be represented by a hash value.
  • the identifier of all business objects is a list of hash value ranges. It is assumed that the hash value range of all business objects is (O1, O2, O3, O4, O5); then physical node 1 is for each business object.
  • the Hash value traverses the root table of the business object, obtains the root table information of the business object, and retrieves the associated business table by using the hash value of the business object according to the preset business object subsidiary table, where the business table stores multiple business records and physical nodes.
  • the service object to which the virtual node 1 to be migrated belongs is determined, the service object of the virtual node 1 is migrated to the physical node 5 to form a baseline replication.
  • the migration process if an exception occurs, re-migrate and clean the physical node 5.
  • Virtual node 1 is re-migrated by physical node 1.
  • Virtual node 1. During the migration of the business object, the client can continue to access the physical node 1.
  • Virtual node 1 performs a service access request and returns a service access response, physical node 1.
  • the service that virtual node 1 will generate The log is sent to the physical node 5, and the physical node 5 caches the service log.
  • the physical node 5 replays the service according to the cached service log.
  • the physical node 1 blocks the transaction initiated by the client. Due to the characteristics of the transaction integrity, the physical node 1 waits for the started transaction to complete, and then sends a handover preparation message to the metadata node.
  • the node After receiving the handover preparation message, the node sends a routing switch message to the client, where the routing switch message is used to instruct the client to update the mapping relationship between the virtual node 1 and the physical node 1 to the mapping relationship between the virtual node 1 and the physical node 5.
  • the routing switch message is used to instruct the client to update the mapping relationship between the virtual node 1 and the physical node 1 to the mapping relationship between the virtual node 1 and the physical node 5.
  • the data structure information of the virtual node to be migrated by the source physical node acquires the business object to be migrated according to the data structure information, migrates all the business objects to the target physical node, and implements relational data.
  • Logical migration In the method described in FIG. 2, the data structure information of the virtual node to be migrated by the source physical node acquires the business object to be migrated according to the data structure information, migrates all the business objects to the target physical node, and implements relational data. Logical migration.
  • FIG. 3 is a schematic flowchart of still another method for data migration of a virtual node according to an embodiment of the present invention, where the method includes but is not limited to the following steps.
  • the metadata node detects that the migration condition is met.
  • the distributed database system includes multiple physical nodes
  • the migration conditions include, but are not limited to, adding a physical node, deleting a physical node, not satisfying a load balancing condition, or failing to satisfy a data balancing condition.
  • S302 Synchronize metadata between the metadata node and the client.
  • the metadata synchronization parameter is required between the metadata node and the client.
  • the metadata includes but is not limited to the mapping relationship between the physical node and the virtual node, the storage location of the virtual node and the copy, and the data balancing condition.
  • the metadata node sends a migration indication message.
  • the metadata node sends the migration indication message to the source physical node and the target physical node, and triggers migration of the service object on the source physical node.
  • the metadata node sends a migration indication message to each replica physical node of the source physical node.
  • the source physical node acquires data structure information of at least one virtual node to be migrated.
  • the virtual node includes multiple service objects
  • the business object is a data set of objects divided according to a preset division rule.
  • the object is divided by a client, and each customer's data set is a business object; the data structure information is represented.
  • the structure of the data on the physical node, the data structure information specifically includes the mapping relationship between the physical node and the virtual node, the mapping relationship between the virtual node and the business object, the mapping relationship between the business object and the service table, and the data structure information can be maintained by the metadata node.
  • the source physical node obtains all the service objects corresponding to the at least one virtual node to be migrated according to the data structure information, and the source physical node may acquire the data structure information of the at least one virtual node to be migrated to the metadata node.
  • the master-slave replication between the source physical node and the replica physical node is suspended.
  • the reason for suspending master-slave replication is that during the migration process, online service concurrency is still supported.
  • the service data before and after the migration of the same virtual node accesses different physical nodes (source physical node and target physical node).
  • the replica data and It is more difficult to keep the master data consistent.
  • the source physical node performs locking processing on the service object to be migrated.
  • the source physical node selects a business object to be migrated from all the business objects, and locks the business object to be migrated. After the lock processing, the business object to be migrated cannot be modified, that is, the business object to be migrated.
  • the operation can only be a read operation and cannot be a write operation.
  • the source physical node sends the service object to be migrated to the target physical node.
  • the source physical node selects one business object from all the business objects to be migrated to migrate to the target physical node.
  • the source physical node deletes the service object to be migrated.
  • the source physical node deletes the service object to be migrated after the service object to be migrated is sent to the target physical node.
  • the client sends a service access request to the source physical node.
  • the client sends a service access request to the source physical node for the business object to be accessed, and the business object accessed by the service access request is one of all the business objects.
  • the source physical node determines whether the service object to be accessed has been migrated.
  • the source physical node maintains a state table of a business object, and the state table stores a service object for representing the business object.
  • the state of the service object is classified as migrated and not migrated.
  • the source physical node can query whether the status of the service object to be accessed is migrated or not migrated according to the pre-stored state table. If the source physical node directly responds to the service access request, the service access response is returned to the client. If the status of the service object to be accessed is migrated, S310 is performed.
  • the source physical node returns a route change message to the client.
  • the source physical node returns a route change message to the client when the to-be-accessed service object has been migrated, and the route change message indicates that the physical node where the service object to be accessed is changed, and the route update message may carry the target physical node.
  • the client sends a service access request to the target physical node again.
  • the client receives the routing update message, obtains the identifier of the target physical node according to the routing update message, and sends a service access request to the target physical node again.
  • the client receives a service access response returned by the target physical node.
  • the target physical node receives the service access request sent by the client for the service object to be accessed, and the target physical node performs the service access request and returns the service to the client because the service object to be accessed has been successfully migrated to the target physical node.
  • the client receives the service access response returned by the target physical node.
  • the source physical node sends a migration complete message to the metadata node.
  • the source physical node determines that all the service objects to be migrated are migrated, and sends a migration completion message to the metadata node, where the source physical node can count the successfully transferred business objects, and each time the service object is migrated, the count value is increased by one. When the count value is equal to the number of all business objects to be migrated, it is determined that all the business objects to be migrated are migrated.
  • the metadata node sends a route switching message to the client.
  • the routing switch message indicates that the physical node where the virtual node is located is updated, and the routing switch message may carry the identifier of the at least one virtual node and the identifier of the target physical node, and the client receives the routing update message, and at least one virtual according to the routing update message The node is mapped to the target physical node.
  • the metadata node sends an offline notification message to the source physical node.
  • the offline notification message is used to notify the virtual node to go offline.
  • the offline notification message may carry the identifier of the at least one virtual node, and the source physical node receives the offline notification message, and the at least one virtual node may be deleted according to the message notification message.
  • the distributed database system includes four physical nodes, which are physical node 1, physical node 2, physical node 3, and physical node 4.
  • Each physical node includes 12 virtual nodes, and each virtual node has 1 deployed.
  • a copy of the virtual node is numbered in the parentheses below.
  • the two virtual nodes of the same number are the master and the copy. They can also be called the primary node and the standby node (or the primary or backup slice) physical node.
  • the mapping relationship with the virtual node is as follows:
  • Physical node 3 (13,14,15,16,17,18), (2,5,7,10,21,24)
  • the physical node 1 For example, the physical node 1.
  • the migration of the virtual node 1 is taken as an example.
  • the method for obtaining the service object to which the virtual node 1 belongs reference may be made to the description of the embodiment of FIG. 2, and details are not described herein again.
  • the migration process is: traversing the physical node 1. All the business objects under the virtual node 1: business object 1, business object 2, business object 3, business object 4, and business object 5, assuming that the order of migration is one for each of the business objects 1-5 Migration, suspend physical node 1. Master-slave replication between virtual node 1 and replica physical node; physical node 1 locks business object 1 and migrates physical node 1. virtual node 1. business object 1 to physical node 5. virtual Node 1, then cleans up the physical node 1. Virtual node 1. Business object 1; loop processing, and then relocate business object 2, business object 3, business object 4, and business object 5 to physical node 5. virtual node 1.
  • the client initiates a service access request to the physical node 1.
  • virtual node 1. business object 1, and the physical node 1 (the source physical node) determines that the business object 1 has been migrated, and returns a routing update message to the client;
  • the client update routing update message re-initiates a service access request to the physical node 5.
  • virtual node 1. For the migration process of the virtual node 7 of the physical node 2, the virtual node 13 of the physical node 3, and the virtual node 19 of the physical node 4, reference may be made to the above description, and details are not described herein again.
  • the gray squares in Figure 4c represent migrated virtual nodes. When virtual nodes 1, 7, 13, and 19 are migrated to physical node 5, replicas need to be deployed on physical nodes 5, and the rules for anti-affinity are followed when deploying replicas. That is, the master and the copy cannot be on the same physical node.
  • the data structure information of the virtual node to be migrated by the source physical node acquires the business object to be migrated according to the data structure information, migrates all the business objects to the target physical node, and implements the logic of the relational data. migrate.
  • FIG. 5 is a schematic structural diagram of a physical node according to an embodiment of the present invention.
  • the physical node used in the embodiment of the present invention is used to perform the data migration method of the virtual node in FIG. 2, and the terminology and process involved may refer to the diagram. 2 Description of the embodiment.
  • the physical node 5 includes a receiving module 501, a determining module 502, an obtaining module 503, and a migration module 504.
  • a receiving module configured to receive a migration indication message
  • a determining module configured to determine, according to the migration indication message, a target physical node and at least one virtual node to be migrated on the source physical node;
  • An acquiring module configured to acquire data structure information of the source physical node itself, and obtain, according to the data structure information, all service objects to which the at least one virtual node belongs;
  • a migration module configured to migrate the all business objects to the target physical node at a granularity of the business object.
  • the data structure information includes a data fragment table and a data attachment table
  • the obtaining module is used to:
  • it also includes:
  • a first access processing module configured to receive a client to send a service access request
  • it also includes:
  • a transaction processing module configured to send a migration completion message to the metadata node when the business object migration is completed
  • the migration module is configured to:
  • the business object to be migrated is successfully migrated to the target physical node, the business object to be migrated is deleted.
  • the physical node further includes:
  • a second access processing module configured to receive, during a migration process of the business object, a service access request sent by the client for the service object to be accessed;
  • routing update message is used to instruct the client to update the physical node where the to-be-accessed business object is located.
  • it also includes:
  • a notification module configured to send a migration completion message to the metadata node when the business object migration is completed; wherein the migration completion message is used to indicate that all the business objects to which the at least one virtual node belongs are migrated.
  • FIG. 6 is a schematic structural diagram of a physical node according to an embodiment of the present invention.
  • the physical node 6 includes a processor 601, a memory 602, and a transceiver 603.
  • the transceiver 603 is configured to transmit and receive data with and from an external device.
  • the number of processors 601 in the physical node 6 may be one or more.
  • processor 601, memory 602, and transceiver 603 may be connected by a bus system or other means.
  • the physical node 6 can be used to perform the method shown in FIG. 2. For the meaning and examples of the terms involved in the embodiment, reference may be made to the corresponding embodiment of FIG. 2. I will not repeat them here.
  • the program code is stored in the memory 602.
  • the processor 601 is configured to call the program code stored in the memory 602 for performing the following operations:
  • All of the business objects are migrated to the target physical node at a granularity of business objects.
  • the data structure information includes a data fragment table and a data attachment table
  • the processor 601 performs, according to the data structure information, all the service objects to which the at least one virtual node to be migrated belongs:
  • the processor 601 is further configured to:
  • the processor 601 is further configured to:
  • the source physical node Upon receiving the handover indication message, the source physical node blocks a transaction initiated by the client;
  • the source physical node returns a handover preparation message to the metadata node, where the handover preparation message is used to indicate that the source physical node completes route switching preparation.
  • the processor 601 performing the migrating the all service objects to the target physical node at a granularity of a service object includes:
  • the business object to be migrated is successfully migrated to the target physical node, the business object to be migrated is deleted.
  • the processor 601 further includes:
  • routing update message is used to instruct the client to update the physical node where the to-be-accessed business object is located.
  • the processor 601 is further configured to:
  • the migration completion message is sent to the metadata node, where the migration completion message is used to indicate that all the business objects to which the at least one virtual node belongs are migrated.
  • FIG. 7 is a schematic structural diagram of a physical node according to an embodiment of the present invention.
  • the physical node in the embodiment of the present invention is used to perform the data migration method of the virtual node in FIG. 3, and the terminology and process may refer to FIG. 3 . Description of the embodiments.
  • the physical node 7 includes a determination module 701, a receiving module 702, and a reconstruction module 703.
  • a determining module 701 configured to receive a migration indication message, and determine a source physical node according to the migration indication message
  • the receiving module 702 is configured to receive a service object sent by the source physical node.
  • the reconstruction module 703 is configured to acquire data structure information of the received service object when the migration of the service object of the source physical node is completed, and reconstruct the virtual node according to the data structure information.
  • the physical node 7 further includes:
  • the service recovery module is configured to receive a service log sent by the source physical node, and perform service replay according to the service log.
  • the service log includes a service access request.
  • the physical node 7 further includes:
  • a data backup module configured to determine a target when the service log transmission on the source physical node is completed.
  • the replica physical node migrates the stored service log and the virtual node to the target replica physical node.
  • FIG. 8 is a schematic structural diagram of a physical node according to an embodiment of the present invention.
  • the physical node 8 includes a processor 801, a memory 802, and a transceiver 803.
  • the transceiver 803 is configured to transmit and receive data with and from an external device.
  • the number of processors 801 in the physical node 7 may be one or more.
  • processor 801, memory 802, and transceiver 803 may be coupled by a bus system or other means.
  • the physical node 8 can be used to perform the method shown in FIG. For the meaning and examples of the terms involved in the embodiment, reference may be made to the corresponding embodiment of FIG. 3. I will not repeat them here.
  • the program code is stored in the memory 802.
  • the processor 801 is configured to call program code stored in the memory 802 for performing the following operations:
  • the processor 801 is further configured to:
  • the target physical node receives the service log sent by the source physical node, and performs service replay according to the service log.
  • the service log includes a service access request.
  • the processor 801 is further configured to:
  • the target replica physical node is determined, and the stored service log and the virtual node are migrated to the target replica physical node.
  • the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

L'invention concerne un procédé de migration de données pour un nœud virtuel, comprenant les étapes suivantes : un nœud physique source reçoit un message d'indication de migration ; le nœud physique source détermine, en fonction du message d'indication de migration, un nœud physique cible et au moins un nœud virtuel devant être migrés sur le nœud physique source ; obtient des informations de structure de données du nœud physique source, et obtient tous les objets de service auxquels le ou les nœuds virtuels appartiennent selon les informations de structure de données ; le nœud physique source migre tous les objets de service vers le nœud physique cible en utilisant les objets de service en tant que granularité. L'invention concerne également un nœud physique qui peut réaliser la migration de données relationnelles.
PCT/CN2017/090613 2016-09-30 2017-06-28 Procédé de migration de données pour nœud virtuel, et nœud virtuel WO2018059032A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610877920.0A CN107885758B (zh) 2016-09-30 2016-09-30 一种虚拟节点的数据迁移方法和虚拟节点
CN201610877920.0 2016-09-30

Publications (1)

Publication Number Publication Date
WO2018059032A1 true WO2018059032A1 (fr) 2018-04-05

Family

ID=61763120

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/090613 WO2018059032A1 (fr) 2016-09-30 2017-06-28 Procédé de migration de données pour nœud virtuel, et nœud virtuel

Country Status (2)

Country Link
CN (1) CN107885758B (fr)
WO (1) WO2018059032A1 (fr)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110990483A (zh) * 2019-11-26 2020-04-10 上海莉莉丝科技股份有限公司 分布式缓存中的缓存节点的数据访问和控制方法及系统
CN111143324A (zh) * 2019-12-20 2020-05-12 浪潮软件股份有限公司 一种kudu的基于大小的数据库数据均衡系统及实现方法
CN111245924A (zh) * 2020-01-08 2020-06-05 北京松果电子有限公司 负载均衡方法及装置、计算机存储介质
CN112487056A (zh) * 2020-11-30 2021-03-12 上海寻梦信息技术有限公司 业务节点控制方法、系统、设备及存储介质
CN113010496A (zh) * 2021-03-19 2021-06-22 腾讯科技(深圳)有限公司 一种数据迁移方法、装置、设备和存储介质
CN113157668A (zh) * 2021-04-23 2021-07-23 上海数禾信息科技有限公司 不停机数据迁移方法及装置
CN113760858A (zh) * 2020-06-05 2021-12-07 中国移动通信集团湖北有限公司 内存库数据动态迁移方法、装置、计算设备及存储设备
CN115718571A (zh) * 2022-11-23 2023-02-28 深圳计算科学研究院 一种基于多维度特征的数据管理方法和装置
CN118277362A (zh) * 2024-06-04 2024-07-02 深圳华锐分布式技术股份有限公司 用户数据快速迁移方法、系统及计算机设备

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110445822B (zh) * 2018-05-03 2021-11-30 中移(苏州)软件技术有限公司 一种对象存储方法及装置
CN110471756A (zh) * 2018-05-09 2019-11-19 阿里巴巴集团控股有限公司 一种数据处理方法及装置
CN109086292B (zh) * 2018-06-11 2023-11-28 平安科技(深圳)有限公司 一种数据库的切换方法及系统
CN110069220B (zh) * 2019-04-25 2022-02-22 深信服科技股份有限公司 分布式调度方法、装置、设备及计算机可读存储介质
CN110321225B (zh) * 2019-07-08 2021-04-30 腾讯科技(深圳)有限公司 负载均衡方法、元数据服务器及计算机可读存储介质
CN110569225A (zh) * 2019-08-26 2019-12-13 网宿科技股份有限公司 一种数据存储方法及系统
CN111723148B (zh) * 2020-04-10 2024-01-26 浙江大华技术股份有限公司 数据存储方法及装置、存储介质、电子装置
CN111625364B (zh) * 2020-05-30 2023-05-16 抖音视界有限公司 任务分配方法、装置、电子设备及计算机可读介质
CN111737197A (zh) * 2020-06-30 2020-10-02 上海英方软件股份有限公司 一种实现不停机迁移业务系统的系统及方法
CN112732423B (zh) * 2020-12-30 2023-01-20 平安科技(深圳)有限公司 流程迁移方法、装置、设备及介质
CN114218187A (zh) * 2021-11-16 2022-03-22 中国建设银行股份有限公司 数据在线迁移方法、装置、电子设备及存储介质
CN115065630B (zh) * 2022-05-10 2024-04-09 深信服科技股份有限公司 虚拟路由器的迁移方法、装置、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073462A (zh) * 2010-11-29 2011-05-25 华为技术有限公司 虚拟存储迁移方法、系统和虚拟机监控器
CN102185774A (zh) * 2011-05-10 2011-09-14 中兴通讯股份有限公司 虚拟机无缝迁移的方法、管理器及系统
CN102204187A (zh) * 2011-04-28 2011-09-28 华为技术有限公司 一种虚拟网络迁移方法、相关装置以及系统
CN105653630A (zh) * 2015-12-25 2016-06-08 北京奇虎科技有限公司 分布式数据库的数据迁移方法与装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8429651B2 (en) * 2010-01-20 2013-04-23 International Business Machines Corporation Enablement and acceleration of live and near-live migration of virtual machines and their associated storage across networks
JP5835846B2 (ja) * 2012-08-29 2015-12-24 株式会社日立製作所 ネットワークシステム及び仮想ノードのマイグレーション方法
CN105335214A (zh) * 2015-11-12 2016-02-17 国云科技股份有限公司 一种虚拟机故障检测和恢复的方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073462A (zh) * 2010-11-29 2011-05-25 华为技术有限公司 虚拟存储迁移方法、系统和虚拟机监控器
CN102204187A (zh) * 2011-04-28 2011-09-28 华为技术有限公司 一种虚拟网络迁移方法、相关装置以及系统
CN102185774A (zh) * 2011-05-10 2011-09-14 中兴通讯股份有限公司 虚拟机无缝迁移的方法、管理器及系统
CN105653630A (zh) * 2015-12-25 2016-06-08 北京奇虎科技有限公司 分布式数据库的数据迁移方法与装置

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110990483A (zh) * 2019-11-26 2020-04-10 上海莉莉丝科技股份有限公司 分布式缓存中的缓存节点的数据访问和控制方法及系统
CN111143324A (zh) * 2019-12-20 2020-05-12 浪潮软件股份有限公司 一种kudu的基于大小的数据库数据均衡系统及实现方法
CN111143324B (zh) * 2019-12-20 2023-05-02 浪潮软件股份有限公司 一种kudu的基于大小的数据库数据均衡系统及实现方法
CN111245924A (zh) * 2020-01-08 2020-06-05 北京松果电子有限公司 负载均衡方法及装置、计算机存储介质
CN113760858A (zh) * 2020-06-05 2021-12-07 中国移动通信集团湖北有限公司 内存库数据动态迁移方法、装置、计算设备及存储设备
CN113760858B (zh) * 2020-06-05 2024-03-19 中国移动通信集团湖北有限公司 内存库数据动态迁移方法、装置、计算设备及存储设备
CN112487056A (zh) * 2020-11-30 2021-03-12 上海寻梦信息技术有限公司 业务节点控制方法、系统、设备及存储介质
CN113010496B (zh) * 2021-03-19 2024-03-08 腾讯云计算(北京)有限责任公司 一种数据迁移方法、装置、设备和存储介质
CN113010496A (zh) * 2021-03-19 2021-06-22 腾讯科技(深圳)有限公司 一种数据迁移方法、装置、设备和存储介质
CN113157668A (zh) * 2021-04-23 2021-07-23 上海数禾信息科技有限公司 不停机数据迁移方法及装置
CN115718571A (zh) * 2022-11-23 2023-02-28 深圳计算科学研究院 一种基于多维度特征的数据管理方法和装置
CN115718571B (zh) * 2022-11-23 2023-08-22 深圳计算科学研究院 一种基于多维度特征的数据管理方法和装置
CN118277362A (zh) * 2024-06-04 2024-07-02 深圳华锐分布式技术股份有限公司 用户数据快速迁移方法、系统及计算机设备

Also Published As

Publication number Publication date
CN107885758B (zh) 2021-11-19
CN107885758A (zh) 2018-04-06

Similar Documents

Publication Publication Date Title
WO2018059032A1 (fr) Procédé de migration de données pour nœud virtuel, et nœud virtuel
US11520670B2 (en) Method and apparatus for restoring data from snapshots
US8972405B1 (en) Storage resource management information modeling in a cloud processing environment
CN111078121B (zh) 一种分布式存储系统数据迁移方法、系统、及相关组件
EP2498476B1 (fr) Système de stockage d'objets extensible en masse
KR101453425B1 (ko) 메타데이터 서버 및 메타데이터 관리 방법
US7546486B2 (en) Scalable distributed object management in a distributed fixed content storage system
US9367579B1 (en) System and method for maintaining a file change log within a distributed file system
EP2062125B1 (fr) Système et procédé pour fournir des données à grande disponibilité
US9922075B2 (en) Scalable distributed transaction processing system
US11561930B2 (en) Independent evictions from datastore accelerator fleet nodes
JP2021002369A (ja) 索引更新パイプライン
US10528262B1 (en) Replication-based federation of scalable data across multiple sites
JP5722962B2 (ja) ストレージ性能の最適化
US7440977B2 (en) Recovery method using extendible hashing-based cluster logs in shared-nothing spatial database cluster
US9547706B2 (en) Using colocation hints to facilitate accessing a distributed data storage system
US9747168B2 (en) Data block based backup
JP2020514885A (ja) データセンタにわたってメタデータおよびデータの整合性を維持するための方法、デバイス、およびシステム
US20150347250A1 (en) Database management system for providing partial re-synchronization and partial re-synchronization method of using the same
Pan et al. Navigating the landscape of distributed file systems: Architectures, implementations, and considerations
JP5686034B2 (ja) クラスタシステム、同期制御方法、サーバ装置および同期制御プログラム
CN111984696A (zh) 一种新型数据库和方法
WO2017156855A1 (fr) Systèmes de base de données ayant des répliques réordonnées et procédés d'accès et de sauvegarde de bases de données
US10387384B1 (en) Method and system for semantic metadata compression in a two-tier storage system using copy-on-write
CN116389233B (zh) 容器云管理平台主备切换系统、方法、装置和计算机设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17854486

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17854486

Country of ref document: EP

Kind code of ref document: A1