Database constraint relationship checking method and device
A technology that constrains relationships and checks methods, applied in the database field, can solve problems such as database performance impact, and achieve the effect of ensuring validity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0031] The solution provided in this specification will be described below with reference to the accompanying drawings.
[0032] As mentioned above, in the conventional technology, when a constraint relationship is checked against a database, it is usually necessary to lock related 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 opened 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 therein. The new (or modified) data records after adding the transaction version number are then stored in the database. The size ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


