Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Database migration method and device and database cluster

A database and cluster technology, applied in database indexing, database design/maintenance, database distribution/replication, etc., can solve problems such as low database migration efficiency, and achieve the effect of improving migration efficiency

Pending Publication Date: 2021-08-24
ALIBABA SINGAPORE HLDG PTE LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the embodiment of the present application provides a database migration method and device, and a database cluster to solve the problem that in the prior art, when the database is migrated, the index directory needs to be rebuilt one by one for the multiple key-value pairs in the data table, Technical issues that lead to low database migration efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Database migration method and device and database cluster
  • Database migration method and device and database cluster
  • Database migration method and device and database cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

[0038] Terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of this application and the appended claims are also intended to include plural forms, unless the context clearly in...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a database migration method and device and a database cluster, and the method comprises the steps: in response to a migration request for any database in a source cluster, determining a to-be-migrated data table corresponding to the database; obtaining storage rule information of the to-be-migrated data table in the source cluster; according to the storage rule information, querying an index table of the to-be-migrated data table stored in the source cluster in an associated manner; and associating and copying the to-be-migrated data table and the index table to a target cluster. According to the embodiment of the invention, the database migration efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of electronic equipment, in particular to a database migration method and device, and a database cluster. Background technique [0002] A database is a collection of data that stores data in a prescribed data structure. A database can usually be stored in a computer cluster or a server cluster, referred to as a cluster, which is a computer system. The cluster can be composed of multiple computer nodes, and the data tables of the database can be stored in the cluster. The data table may be a table storing real data. A data table can be composed of a series of Key-Value (key-value) pairs. Key is used to identify the meaning of the entity corresponding to the data, and Value refers to specific data. [0003] In the prior art, when a cluster needs to be upgraded or replaced, data tables stored in the cluster need to be migrated to a new cluster. When data tables are migrated, the data table migratio...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/21G06F16/22G06F16/245G06F16/27
CPCG06F16/214G06F16/2282G06F16/245G06F16/27
Inventor 郭超沈春辉杨成虎
Owner ALIBABA SINGAPORE HLDG PTE LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More