Associative hash partitioning using pseudo-random number generator
Abstract
Flexible and efficient partitioning of a table is accomplished by hashing the key for an entry, and determining a partition for the entry by generating a sequence of pseudo-random numbers using the hashed key as the seed. As many pseudo-random numbers are generated as there are partitions available. The partition in which the entry belongs corresponds to the largest number in the sequence generated with the hashed key and the pseudo-random number generator. In this way, repartitioning of a partitioned table with a first number of partitions to a second number of partitions can be done with minimal movement and upon repartitioning, the new partition is the same partition that that would have resulted had a new partitioning been performed with the second number of partitions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 7.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for associating a table entry with a partition from among N partitions, wherein N is an integer, the method comprising: generating a sequence of N pseudo-random numbers using a key of a table entry; determining a position of a number with a specific attribute in said sequence; and associating said table entry with a partition corresponding to said position, with each of said N partitions comprising a plurality of table entries.
- Claim 2Depends on #1
The method of claim 1 , where said step of generating a sequence of N pseudo-random numbers using said key comprises: using said key as a seed in a pseudo-random number generator.
- Claim 3Depends on #1
The method of claim 1 , where said step of generating a sequence of N pseudo-random numbers using said key comprises: using a hash function on said key to produce a bucket number for said key; and using said bucket number as a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (11)
Non-Patent Literature (2)
- Cyran, M., Oracle9i Database Concepts, Release 2(9.2), Part No. A96524-01, 1996, http://www.cise.ufl.edu/help/database/oracle-docs/server.920/a96524/title.htm, 2 pages "Partitioned Tables and Indexes", Oracle9i Database Concepts Release 2(9.2), Part No. A96524-01, (C) 1996-2003 Oracle Corporation, h
- IEEE, "The Authoritative Dictionary of IEEE Standards Terms", Copyright 2000, Standards Information Network IEEE Press, Seventh Edition, p. 797.