-
公开(公告)号:US20180196703A1
公开(公告)日:2018-07-12
申请号:US15917166
申请日:2018-03-09
Applicant: Huawei Technologies Co., Ltd.
Inventor: Qiang Tong , Zongchao Liu , Bo Shang
CPC classification number: G06F9/5077 , G06F9/3009 , G06F9/3851 , G06F9/4843 , G06F16/278 , G06F16/90335
Abstract: 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.
-
公开(公告)号:US20210334252A1
公开(公告)日:2021-10-28
申请号:US17370275
申请日:2021-07-08
Applicant: Huawei Technologies Co., Ltd.
Inventor: Qiang Tong
Abstract: A method includes determining a first node set and a second node set that are in a distributed database and that are separately associated with a first data table, where data in the first data table is stored in the first node set, migrating the data from the first node set to the second node set, receiving, in a process of migrating the data, a target service request for the first data table, determining, in response to the target service request, a third node set in the first node set and the second node set that is configured to respond to the target service request, and sending the target service request to a first data node in the third node set.
-
公开(公告)号:US11086904B2
公开(公告)日:2021-08-10
申请号:US15677952
申请日:2017-08-15
Applicant: Huawei Technologies Co., Ltd.
Inventor: Qiang Tong , Jian Li
IPC: G06F16/30 , G06F16/27 , G06F16/2455
Abstract: Embodiments of the present disclosure provide a data query method and apparatus, which implement a technical effect that data meeting a precision requirement is queried according to a user's requirement of for data precision. The method includes: receiving a query instruction that includes a query condition and query precision; determining a data partition that meets the query condition; determining a data sub-partition corresponding to the query precision from the data partition; and querying data in the data sub-partition to obtain a query result.
-
公开(公告)号:US10884817B2
公开(公告)日:2021-01-05
申请号:US15917166
申请日:2018-03-09
Applicant: Huawei Technologies Co., Ltd.
Inventor: Qiang Tong , Zongchao Liu , Bo Shang
Abstract: 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.
-
公开(公告)号:US20180011915A1
公开(公告)日:2018-01-11
申请号:US15677952
申请日:2017-08-15
Applicant: Huawei Technologies Co., Ltd.
Inventor: Qiang Tong , Jian Li
IPC: G06F17/30
CPC classification number: G06F16/278 , G06F16/24554 , G06F16/24557
Abstract: Embodiments of the present disclosure provide a data query method and apparatus, which implement a technical effect that data meeting a precision requirement is queried according to a user's requirement of for data precision. The method includes: receiving a query instruction that includes a query condition and query precision; determining a data partition that meets the query condition; determining a data sub-partition corresponding to the query precision from the data partition; and querying data in the data sub-partition to obtain a query result.
-
-
-
-