Unlock instant, AI-driven research and patent intelligence for your innovation.

Database table switching method and device, electronic equipment and computer storage medium

A database and table technology, applied in the database field, can solve the problems of reducing data reading and writing efficiency, unfavorable data service quality, and improvement

Active Publication Date: 2021-09-10
ALIBABA GRP HLDG LTD
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the above processing method can avoid reading and writing errors during data migration, due to the setting of a global write ban, the read and write permissions can only be opened after all data migration is completed, which will greatly affect the data read and write time. , which reduces the efficiency of data reading and writing, which is not conducive to the improvement of data service quality. In addition, due to the different names of the data tables before and after switching, it will lead to a large-scale update of data such as links that refer to the data tables, which greatly increases the data. The workload of table switching leads to the waste of computing resources

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 table switching method and device, electronic equipment and computer storage medium
  • Database table switching method and device, electronic equipment and computer storage medium
  • Database table switching method and device, electronic equipment and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0073] Hereinafter, exemplary embodiments of embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily realize them. Also, for clarity, parts not related to describing the exemplary embodiments are omitted in the drawings.

[0074] In the embodiments of the present invention, it should be understood that terms such as "comprising" or "having" are intended to indicate the presence of features, numbers, steps, acts, components, parts or combinations thereof disclosed in this specification, and are not intended to The possibility that one or more other features, numbers, steps, acts, parts, parts or combinations thereof exist or be added is excluded.

[0075] In addition, it should be noted that, in the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other. The embodiments of the present invention will be descr...

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 discloses a database table switching method and device, electronic equipment and a computer storage medium, and the method comprises the steps: receiving a database table switching request, confirming a target logic database where a to-be-switched source table is located, and creating an intermediate table in the target logic database according to the to-be-switched source table; copying data in the source table to be switched into the intermediate table; and receiving a table switching command, and switching the related operation of the to-be-switched source table to the intermediate table after the completion of data copying is confirmed. According to the technical scheme, the situation of read-write errors during data migration can be avoided, the data read-write time is greatly shortened, the data read-write efficiency is improved, improvement of the data service quality is facilitated, meanwhile, the data table switching workload can be greatly reduced, and waste of computing resources is avoided.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of databases, and in particular to a database table switching method, device, electronic equipment, and computer storage medium. Background technique [0002] With the development of data technology, the application of database is becoming more and more extensive, and more and more data needs to be stored in the database. However, if the database is too large, especially when the data writing operation is too frequent, it will It brings huge pressure, and at the same time greatly reduces the efficiency of data writing and data reading. The existing technology usually distributes the data stored in the same database to multiple databases according to certain preset conditions, or distributes the data stored in the same data table in a certain database to multiple data tables, so that It achieves the effect of dispersing the pressure of data writing and reading and improving the effi...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/22G06F16/21G06F16/27G06F40/18
CPCG06F16/2282G06F16/214G06F16/275G06F40/18
Inventor 丁顺杰吴学强林延峰郭鹏吴迪万凯明刘新超
Owner ALIBABA GRP HLDG LTD
Features
  • R&D
  • 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