Data extraction method and device
A data extraction and data technology, applied in database models, relational databases, digital data processing, etc., can solve problems affecting data extraction efficiency, low efficiency, multi-thread efficiency discount, etc., and achieve the effect of improving data extraction efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] Such as figure 1 As shown, the data extraction methods applied to relational databases in the present invention include:
[0056]S101: According to the value range distribution of a certain field in the selected data table, divide the data table into M data partitions; the type of the field is numeric or the value of the field can be converted into a numeric value;
[0057] Users can preset the number M of data partitions and the total number N of threads to be allocated.
[0058] Specifically, after selecting a certain field id, query the minimum and maximum values of the field id in the database Min(id) and Max(id), and execute SQL statements in the relational database through the ODBC or JDBC interface:
[0059] select max(id), min(id) from[table name]
[0060] Divide the value range [Min(id), Max(id)] of the field id into M data partitions on average. Such as figure 2 As shown, the intervals of M data partitions are evenly allocated according to the minimum v...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 



