首页> 外国专利> DATA QUERY METHOD IN CROSSING-PARTITION DATABASE, AND CROSSING-PARTITION QUERY DEVICE

DATA QUERY METHOD IN CROSSING-PARTITION DATABASE, AND CROSSING-PARTITION QUERY DEVICE

机译:跨部门数据库中的数据查询方法及跨部门查询设备

摘要

A data query method in a crossing-partition database, and a crossing-partition query device. The method comprises: receiving a query request, wherein the query request comprises a query condition, and querying statistics information of partition databases where two tables related to associated operations are located; sending, according to the statistics information and the query condition, a driving table query request to a partition database where a driving table is located, and receiving a first query result set returned by the partition database where the driving table is located, wherein one of the two tables related to the associated operations is a driving table and the other is a non-driving table; performing deduplication of associated fields in the first query result set, and sending a result set delivery request and deduplicated associated fields to a partition database where the non-driving table is located; and sending a non-driving table query request to the partition database where the non-driving table is located, and receiving a second query result set returned by the partition database where the non-driving table is located. The efficiency of querying data in the crossing-partition database is improved.
机译:跨分区数据库中的数据查询方法和跨分区查询设备。该方法包括:接收查询请求,所述查询请求包括查询条件;查询与关联操作相关的两个表所在的分区数据库的统计信息;根据所述统计信息和查询条件,向所述驾驶表所在的分区数据库发送驾驶表查询请求,并接收所述驾驶表所在的分区数据库返回的第一查询结果集,其中,与相关操作有关的两个表是驱动表,另一个是非驱动表。对第一查询结果集中的相关字段进行重复数据删除,并将结果集传递请求和重复数据删除后的相关字段发送给非驱动表所在的分区数据库;向所述非驱动表所在的分区数据库发送非驱动表查询请求,并接收所述非驱动表所在的分区数据库返回的第二查询结果集。提高了跨分区数据库中数据的查询效率。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号