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

Database upgrading method and device, equipment and storage medium

A database and production library technology, applied in the computer field, can solve problems such as script execution errors, database inconsistencies, script inaccuracies, etc., and achieve the effects of improving accuracy, solving table structure differences, and improving work efficiency

Pending Publication Date: 2022-03-08
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There may be some problems in this way, for example, the script provided by the developer may be inaccurate, the operation and maintenance personnel may have a script execution error when executing the script, or there are too many scripts, which are easy to miss
Moreover, in the long-term update iteration, maintaining the database according to the script provided in the version package will cause the database in the test environment to be inconsistent with the database in the production environment, causing a great risk in the version upgrade work

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 upgrading method and device, equipment and storage medium
  • Database upgrading method and device, equipment and storage medium
  • Database upgrading method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0051] At present, the database upgrade requires operation and maintenance personnel to manually extract and execute the scripts provided in the upgraded version package to keep the production environment consistent with the test environment. Therefore, the scripts provided by developers may be inaccurate, and operations and maintenance personnel may fail to Script execution errors, or the possibility of script omissions. At the same time, in the long-term upda...

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 discloses a database upgrading method and device, equipment and a storage medium, and the method comprises the steps: reading table information in a test library, and generating a corresponding target test record table according to the read table information; querying a production record table in a production library according to the target test record table, determining whether a target production record table corresponding to the target test record table exists in the production library, and obtaining a corresponding target record table existence condition; and generating a corresponding upgrading statement to upgrade table information in the production library based on the existence condition of the target record table and the table structure difference condition of the target test record table and the target production record table. The corresponding upgrading statement is generated based on the difference between the target test record table and the target production record table, major production accidents caused by wrong scripts submitted by developers are avoided, the version upgrading time is saved, the table structure difference between the test environment and the production environment is solved, and the version upgrading accuracy is effectively improved.

Description

technical field [0001] The invention relates to the field of computers, in particular to a database upgrading method, device, equipment and storage medium. Background technique [0002] In the development of the system website or APP (Application, application program), the version is often updated and iterated, and the code needs to be updated frequently, and the structure of the corresponding database also needs to be updated and maintained frequently. In the traditional system upgrade work, the database upgrade work requires operation and maintenance personnel to extract DDL (data definition language, data definition language), DML (data manipulation language, data manipulation language), view and other scripts provided in the upgrade version package for execution, so that Maintain the production environment database to keep the production environment consistent with the test environment. There may be some problems in this way, for example, the scripts provided by the dev...

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/22G06F16/21
CPCG06F16/2282G06F16/219
Inventor 兰庆元
Owner SUZHOU LANGCHAO INTELLIGENT 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