首页> 外国专利> PROCÉDÉ ET DISPOSITIF À UTILISER DANS L'EXÉCUTION PARALLÈLE D'UNE BASE DE DONNÉES DE TERMINAL

PROCÉDÉ ET DISPOSITIF À UTILISER DANS L'EXÉCUTION PARALLÈLE D'UNE BASE DE DONNÉES DE TERMINAL

摘要

The present invention discloses a parallel execution method and apparatus in a terminal database, so as to resolve a problem that if there are different cores such as a big core and a little core in a terminal CPU, parallel execution cannot be implemented in the terminal database by using multiple cores. The method includes: determining, by a terminal, each thread 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, and 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, and determining a data partition corresponding to each thread CPU; and querying in parallel, by the terminal, data in the corresponding data partition by using each thread CPU. In this way, parallel processing of a query instruction can be performed on a corresponding data partition by using each thread CPU, thereby greatly improving execution efficiency of a parallel query performed by a terminal on a database.

著录项

  • 公开/公告号EP3333733B1

    专利类型

  • 公开/公告日2020.06.03

    原文格式PDF

  • 申请/专利权人 Huawei Technologies Co., Ltd.;

    申请/专利号EP17743637.5

  • 发明设计人

    申请日2017.01.18

  • 分类号

  • 国家 EP

  • 入库时间 2022-08-21 10:53:42

相似文献

  • 专利
  • 外文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号