首页> 外文期刊>Algorithmica >Optimality in External Memory Hashing
【24h】

Optimality in External Memory Hashing

机译:外部存储器哈希的最优性

获取原文
获取原文并翻译 | 示例

摘要

Hash tables on external memory are commonly used for indexing in database management systems. In this paper we present an algorithm that, in an asymptotic sense, achieves the best possible I/O and space complexities. Let B denote the number of records that fit in a block, and let N denote the total number of records. Our hash table uses 1+O(1/ÖB)1+O(1/sqrt{B}) I/Os, expected, for looking up a record (no matter if it is present or not). To insert, delete or change a record that has just been looked up requires 1+O(1/ÖB)1+O(1/sqrt{B}) I/Os, amortized expected, including I/Os for reorganizing the hash table when the size of the database changes. The expected external space usage is 1+O(1/ÖB)1+O(1/sqrt{B}) times the optimum of N/B blocks, and just O(1) blocks of internal memory are needed.
机译:外部存储器上的哈希表通常用于数据库管理系统中的索引。在本文中,我们提出了一种在渐近意义上实现最佳I / O和空间复杂度的算法。令B表示适合一个块的记录数,令N表示记录总数。我们的哈希表使用预期的1 + O(1 /ÖB)1 + O(1 / sqrt {B})I / O来查找记录(无论是否存在)。要插入,删除或更改刚刚查找的记录,需要1 + O(1 /ÖB)1 + O(1 / sqrt {B})I / O(应摊销),包括用于重组哈希表的I / O数据库大小更改时。预期的外部空间使用量是N / B块的最佳值的1 + O(1 /ÖB)1 + O(1 / sqrt {B})乘以,仅需要内部存储器的O(1)个块。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号