首页> 外国专利> Lock-free creation of hash tables in parallel

Lock-free creation of hash tables in parallel

机译:并行无锁创建哈希表

摘要

A hash table is created in parallel without requiring a lock or random accesses to memory. The hash table of a database system is logically partitioned and a separate thread is assigned to each partition of the hash table. As many separate threads as can fit their corresponding hash table partitions into the processor's cache are executed in parallel with other threads without a lock. Execution of a number of separate threads includes: scanning an input data table for a thread's partition and applying a hash function to each key, inserting data of keys that hash to the thread's partition into the thread's partition, and ignoring keys that do not hash to the thread's partition.
机译:哈希表是并行创建的,不需要锁定或对内存的随机访问。数据库系统的哈希表在逻辑上进行了分区,并且为哈希表的每个分区分配了单独的线程。与其他线程无锁地并行执行尽可能多的单独线程,以使其对应的哈希表分区适合处理器的高速缓存。执行多个单独的线程包括:扫描输入数据表中线程的分区,并将哈希函数应用于每个键,将哈希到线程分区的键的数据插入到线程的分区中,并忽略不哈希到的键线程的分区。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号