A multi-table query method and device
By using a multi-table query method, the data sets of the tables are obtained and merged, avoiding the need to add indexes. This solves the SQL query performance problem, improves query efficiency, reduces resource consumption, and enhances the user experience.
Patent Information
- Application Number
- CN202210771485.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-30
- Publication Date
- 2026-07-21
- Estimated Expiration
- 2042-06-30
AI Technical Summary
Existing technologies that optimize SQL query performance by adding indexes result in decreased performance for adding, deleting, and modifying data tables, as well as excessive memory consumption, especially in scenarios with intensive add, delete, and modify operations.
A multi-table query method is used to obtain the page number and the number of data rows per page. The total number of data that meet the conditions is retrieved from multiple data tables, and the data sets are arranged and merged in chronological order. The query results are then extracted to avoid full table scans and index additions. The query scan process is handled by splitting the data using the median number.
It improves query efficiency, reduces CPU usage and memory consumption, resolves process blocking and denial-of-service issues caused by slow queries, and enhances user experience.
Smart Images

Figure CN115145921B_ABST
Abstract
Citation Information
Patent Citations
Method and device for inquiring data
CN103678408A