首页> 外国专利> Switching between a non-partitioned hash join and a partitioned hash join based on an amount of available memory

Switching between a non-partitioned hash join and a partitioned hash join based on an amount of available memory

机译:基于可用内存量在非分区哈希联接和分区哈希联接之间切换

摘要

A method implemented by at least one processing device, a processing device, and a computer program product are provided for adjusting hash partitions for a hash join operation. An amount of rows within each of an initial number of hash partitions is determined during assignment of respective rows to respective hash partitions. The initial number of hash partitions is adjusted to a final number of hash partitions based on the amount of rows within each of the initial number of hash partitions and an amount of available memory. The adjusting further includes determining the final number of hash partitions based on the amount of rows within each of the initial number of hash partitions and the amount of available memory, and assigning the rows to the final number of hash partitions. The hash join operation is then performed.
机译:提供了一种由至少一个处理设备,处理设备和计算机程序产品实现的方法,用于为哈希联接操作调整哈希分区。在将各个行分配给各个散列分区期间,确定初始数量的散列分区中的每个内的行的数量。散列分区的初始数量基于散列分区的初始数量和可用内存的数量中的每一个中的行数被调整为散列分区的最终数。调整还包括:基于散列分区的初始数量和可用存储器的数量中的每一个内的行的数量,确定散列分区的最终数量;以及将行分配给散列分区的最终数量。然后执行哈希联接操作。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号