Method for utilizing fixed length field for optimizing iteration inquiry
A fixed-length field and iterative technology, applied in the application field of database data management, can solve the problems of unavailability, consuming a lot of memory, fast query speed, etc., and achieves the effect of fast query speed, fast positioning speed, and satisfying query requirements.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0043] The purpose of this invention is to introduce a method for optimizing iterative query using fixed-length fields, and optimize the widely used iterative query method at present, so that users can obtain faster query speed when querying large amounts of data without consuming a large amount of memory . Specific embodiments are described in detail below, but not as a limitation to the present invention.
[0044] like figure 2 As shown, the iterative query method operating steps of the present invention are as follows:
[0045] Step 201, adding a fixed-length primary key field to the table to uniquely identify a record;
[0046] Step 202, taking out the primary key field values of all records satisfying the conditions from the database and storing them in a disk file;
[0047] Step 203, setting an iterator, and using the iterator to query in batches;
[0048] Step 204, the iterative query is completed, and the iterator and the binary file storing the primary key valu...
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