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
Example Embodiment
[0028] The following examples illustrate the specific implementation of the method of the present invention:
[0029] When creating the data table, allocate a piece of memory from the system as the dedicated memory for variable length fields. This memory is assumed to be 100K in size. This memory can be divided into several BLOCKs. If each BLOCK is 20 bytes, 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 represents the BLOCK at the starting storage location of the data of the variable-length field. The BLOCK itself can be chained to store large-capacity data. The length indicates the data length of the variable length record. A schematic diagram of the storage of a record with a variable length field is shown in Figure ...
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