Method and device for checking constraint relation of database
A technology that constrains relationships and databases, applied in the field of databases, can solve problems such as database performance impact, and achieve the effect of ensuring effectiveness
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0031] The solutions provided in this specification will be described below in conjunction with the accompanying drawings.
[0032] As mentioned above, in the traditional technology, when checking the constraint relationship against the database, it is usually necessary to lock the relevant data records to ensure the validity of the constraint relationship detection, which will affect the performance of the database.
[0033] In order not to affect the performance of the database, the inventor of the present application proposes to add a corresponding transaction version number to the data records in the database. Specifically, when a transaction is started to add or modify a row of data records, the corresponding transaction version number is determined for the newly added data record or the modified data record, and the transaction version number is added thereto. Afterwards, the newly added (or modified) data records after adding the transaction version number are stored in...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


