Method and apparatus for parallel execution in terminal database using data partitions
AssigneeHuawei Technologies Co., Ltd.
InventorsQiang Tong, Zongchao Liu, Bo Shang
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsQiang Tong, Zongchao Liu, Bo Shang
Estimating the term…
A parallel execution method and apparatus in a terminal database, where the method includes determining, by a terminal, each thread central processing unit (CPU) based on a preset degree of parallelism, where the degree of parallelism is a quantity of threads executed in parallel, obtaining, by the terminal, a frequency of each thread CPU, calculating a frequency proportion of the thread CPUs, dividing, by the terminal, a to-be-queried data table in the terminal database into data partitions based on the frequency proportion of the thread CPUs, determining a data partition corresponding to each thread CPU, and querying in parallel, by the terminal, data in the corresponding data partition using each thread CPU.
A parallel execution method in a terminal database implemented by a processor of a terminal, wherein the parallel execution method comprises:
A parallel execution apparatus in a terminal database, comprising:
Dependencies are inferred from the claim text.