Data query method and device
A data query and data table technology, applied in the field of Internet communication, can solve the problem of low query efficiency, achieve the effect of solving low query efficiency and improving query efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] According to an embodiment of the present invention, a data query method is provided, such as figure 1 As shown, the method includes:
[0038] S102: Obtain a query instruction for querying target data records satisfying preset query conditions in the data table;
[0039] S104: According to the preset query condition, determine the one with lower query cost in the row storage file and the column storage file as the query object, wherein, the data records in the data table in the row storage file are stored by row, and in the column storage file The data records in the data table are saved by column or column group;
[0040] S106: Query the target data record in the determined query object, and return the queried target data record.
[0041] It should be clear that one of the technical problems to be solved by the present invention is to provide a method to respond to the query command. Specifically, according to this method, the target that satisfies the preset query c...
Embodiment 2
[0144] According to an embodiment of the present invention, a data query device for implementing the above data query method is also provided, such as Figure 10 As shown, the device may include:
[0145] 1) An acquisition unit 1002, configured to acquire a query instruction for querying a target data record satisfying a preset query condition in a data table;
[0146] 2) Judgment unit 1004, configured to determine the one with the lower query cost from the row storage file and the column storage file according to the preset query conditions as the query object, wherein the data records in the data table in the row storage file are stored by row , the data records in the data table in the column store file are saved by column or column group;
[0147] 3) The query unit 1006 is configured to query the target data record in the determined query object, and return the query target data record.
[0148] It should be clear that one of the technical problems to be solved by the pr...
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