Method and device for storing length-various field of embedded database
An implementation method and database technology are applied in the field of database storage to achieve the effect of improving memory utilization and avoiding memory fragmentation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment approach
[0029] When creating a data table, allocate a piece of memory from the system as a dedicated memory for variable-length fields. This piece of memory is assumed to be 100K in size. This piece of memory can be divided into several BLOCKs. If each BLOCK is 20 bytes, then it can be divided into 5000. block. These 5000 BLOCKs can be shared by all variable-length fields, and the index number of each BLOCK is the sequence number of the BLOCK. The variable-length field in the record is represented by the starting BLOCK index number and the data length. The starting BLOCK index number indicates the BLOCK of the data storage location of the variable-length field. The BLOCK itself can be linked together to store large-capacity data. The length indicates the data length of the variable-length record. A schematic diagram of record storage with variable-length fields is shown in Figure 4, where (100 / 31) in record1 indicates that the BLOCK index number is 100, and the length of the variable...
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