Method of uniformly segmenting database table data and computer equipment
A computer equipment and database technology, applied in the field of evenly segmenting database table data, can solve problems such as the algorithm cannot be implemented, not partitioned, and the real-time effect of complex algorithms, so as to achieve the effect of having no database overhead and satisfying real-time performance.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0024] The method for uniformly segmenting database table data of the present invention comprises:
[0025] Step 1. Obtain the list, column type and index status in the table by scanning the table to be split;
[0026] Step 2. Select a column whose type is integer and has no repeated values. If the corresponding column cannot be found, add a new column of auto-increment type to the table, and this column will be used as a split column; otherwise, arbitrarily select a column as a split categorize;
[0027] Step 3, set the pre-partition number M;
[0028] Step 4. Read all the values of the split column into the array, and calculate M partition intervals of the array through the quantile point algorithm to obtain M value intervals.
[0029] Step 5. Store the M value intervals in the database or memory, and expose the service interface to the outside for calling; obtain the table to be partitioned and the actual number K of partitions from the application program, obtain the M...
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