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
Embodiment Construction
[0014] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, clear and unambiguous, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
[0015] Such as figure 1 As shown, the present invention is a method for generating a database primary key applicable to a distributed system, and 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 timestamp 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 generate a n...
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, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com