| CPC G06F 16/24542 (2019.01) [G06F 16/2246 (2019.01); G06F 16/2282 (2019.01); G06F 16/2462 (2019.01)] | 20 Claims |

|
1. A data processing method, characterized by comprising:
traversing an index tree corresponding to a target database table to determine the last non-leaf layer of the index tree, each leaf node in a leaf layer of the index tree being associated with a data page in a disk, and different data pages storing different row records of the target database table;
for each non-leaf node in the last non-leaf layer, sequentially reading a current index item from an index page associated with the non-leaf node, and randomly generating a random number for the current index item;
in response to the random number meeting a random data sampling condition, loading a target data page of a leaf node, pointed by the current index item, from the disk to a memory, then reading row records in the target data page from the memory and storing the row records.
|