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

Method for changing data sheet structure

A data table and data technology, applied in database indexing, electronic digital data processing, structured data retrieval, etc., can solve problems such as uncontrollable, increased execution time, increased uncertainty risk, etc., achieving time controllability and shortening length Effect

Active Publication Date: 2014-10-22
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because when the length of the fixed-length field in the data table is extended (including but not limited to changing the int type to bigint, char(10) to char(20), etc.), in order to ensure the ACID principle of the relational database, the data table will be added Schema update lock (Schema-M) to prevent new data from being written when the structure is changed; for large-capacity tables, the execution time of the structure change (hereinafter referred to as the execution time) will become longer, so that it exceeds The expected maintenance window time directly affects business visits;
[0007] 2. The risk of execution and rollback time increases
As the amount of data increases, the structure change time of the large-capacity table will increase faster than the increase in the amount of data. Once the maintenance window time is exceeded, whether to continue to wait or terminate the change and enter the rollback state will make it difficult for the maintenance personnel to make a decision. The rollback time may exceed several times or dozens of times the execution time
This greatly increases the risk of operational uncertainty; in addition, due to the complexity of the production environment, it is difficult to test in advance in a test environment that completely simulates the production environment, which reduces the applicability and reliability of test results, which also increases the impact on implementation. Uncontrollable risk of time

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
  • Method for changing data sheet structure
  • Method for changing data sheet structure
  • Method for changing data sheet structure

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0026] figure 1 is a schematic diagram of a computer network related to an embodiment of the present invention. Such as figure 1 As shown, the data table running in the root node 11 is a publishing table, and the content of the publishing table is sent to the child nodes at all levels, such as node 21. The data tables running in the child nodes at all levels are subscrip...

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 invention provides a method for changing a data sheet structure. By the method, short and controllable execution time of changing the data sheet structure is achieved. The method includes: corresponding to one or more primary structure data sheets in running state, each node in the computer network saves one or more new structural data sheets; with chosen nodes as novel publication nodes and the rest as novel subscription nodes, subjecting novel publication sheets and novel subscription sheets to the novel structural data sheets of the novel publication nodes and the novel subscription nodes respectively, adding data of conventional structural data sheets of the novel publication nodes to the corresponding novel structural data sheets, and publishing the data to the novel subscription nodes; in the state that the novel structural data sheets of the nodes and the conventional structural data sheets are synchronous, stopping data writing of the conventional structural data sheets of the nodes, and subjecting the novel structural data sheets of the nodes to the data sheets in the running status.

Description

technical field [0001] The invention relates to a method for changing the structure of a data table. Background technique [0002] With the popularity of computer network applications, the capacity of the database is also increasing, and the work of changing the structure of the data table is becoming more and more time-consuming. There are generally two common ways to change the data table structure: [0003] 1. Operate directly on the data table and change the definition of the table structure. There may be direct impacts, such as the following reasons 1 and 2. [0004] 2. Create a new structure table, import data in the maintenance window, and then modify the table name; the possible impact is that the data import time is limited by the size of the original table. [0005] The maintenance window is the period during which services are suspended. In order to minimize the impact on system operation, the shorter the maintenance window, the better. In the face of a data ta...

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): G06F17/30
CPCG06F16/22
Inventor 肖磊
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products