A database primary key generation method suitable for distributed system
A distributed system and database technology, applied in database distribution/replication, electronic digital data processing, structured data retrieval, etc., can solve problems such as primary key conflicts, and achieve the effect of solving database primary key duplication and improving query efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0014] In order to make the description of the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, clearer, and unambiguous, the following describes the embodiments of the present invention in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention.
[0015] Such as figure 1 As shown, the present invention is a database primary key generation method suitable for distributed systems, which is characterized in that it mainly includes the following steps:
[0016] (1) When each independent terminal of the distributed system inserts into the database, the current time stamp is generated;
[0017] (2) In order to avoid primary key conflicts, the sequence number of this operation is generated by the program;
[0018] (3) Concatenate the timestamp and serial number to ge...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap