Database update optimization algorithm
An optimization algorithm and database technology, applied in the database field, can solve the problems of large access to the database, heavy workload, easy to cause errors, etc., to achieve the effect of improving compatibility and reliability, and improving the speed and efficiency of code writing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0057] The present invention will be described in further detail below in conjunction with the accompanying drawings.
[0058] Such as figure 1 As shown, the database upgrade optimization algorithm described in the present invention comprises the following steps:
[0059] When a database upgrade is required, call the preset upgrade interface,
[0060] The upgrade interface opens the database according to the preset,
[0061] If the opening fails, execute the failure operation and end,
[0062] If the opening is successful, check whether the database table is created,
[0063] When detecting whether a database table is created,
[0064] If the table exists, further check whether the table structure has changed, if it has not changed, perform the failure operation, end, if it has changed, perform the upgrade operation,
[0065] If the table does not exist, execute the create table operation,
[0066] When performing a create table operation,
[0067] If the creation is su...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
