Comparison of Linear Hashing Techniques: LHRBI, MDEH, and PLOP, Study notes of Computer Science

An in-depth comparison of three multidimensional linear hashing techniques: linear hashing with reversed bit interleaving (lhrbi), multidimensional extendible hashing (mdeh), and piecewise linear order preserving (plop). The principles, key points, and differences between these hashing methods, including quantile hashing and dynamic z hashing.

Typology: Study notes

Pre 2010

Uploaded on 07/30/2009

koofers-user-1tb-1
koofers-user-1tb-1 šŸ‡ŗšŸ‡ø

10 documents

1 / 112

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Presentation on
MULTIDIMENSIONAL
LINEAR HASHING
by
B Brent Gordon
CMSC 828S, Spring 2005
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Comparison of Linear Hashing Techniques: LHRBI, MDEH, and PLOP and more Study notes Computer Science in PDF only on Docsity!

Presentation on

MULTIDIMENSIONAL

LINEAR HASHING

by B Brent Gordon CMSC 828S, Spring 2005

  • Introduction & basic principles
  • Linear Hashing with Reversed Bit Interleaving (LHRBI)
  • Multidimensional Extendible Hashing (MDEH)
  • Comparison of LHRBI and MDEH
  • Quantile Hashing
  • Piecewise Linear Order Preserving (PLOP)
  • Dynamic Z Hashing
  • Linear Hashing with Partial Expansions (LHPE)

MULTIDIMENSIONAL LINEAR HASHING

Intro Linear Hashing in general: Create one additional cell at a time May be based on Overflow of bucket or cell, or Storage Utilization Factor Linear Hashing in dimension d > 1 d -dimensional hypervolume is subdivided into d -dimensional cells Cells are linearly ordered, typically in order of creation Linear Hashing

The hashing function must map points in d -space to a unique cell/bucket number Intro 0 1 2 3 4 5 6 7 8 9 10 Buckets d -dimensional hypercube

Intro Total grid partition: number of cells is doubled (But cells have same shape as original only every d th total grid partition (tgp). Example d = 2. Number of cells = 2 Total grid partition 1 Cells are not square

Intro Total grid partition: number of cells is doubled (But cells have same shape as original only every d th total grid partition (tgp). Example d = 2. Number of cells = 4 Total grid partition 2 Cells are square

Intro Total grid partition: number of cells is doubled (But cells have same shape as original only every d th total grid partition (tgp). Example d = 2. Number of cells = 16 Total grid partition 4 Cells are square

Intro Bit Concatonation: (4, 3) 10 = ( 100 , 011 ) 2 ( 100011 ) 2 = (35) 10 y -first Bit Interleaving: (4, 3) 10 = ( 100 , 011 ) 2 ( 011010 ) 2 = (26) 10 y -first Reversed Bit Interleaving: (4, 3) 10 = ( 100 , 011 ) 2 ( 010110 ) 2 = (22) 10 (reverse the previous one)

Bit Operations

LHRBI MAIN POINTS:

Decouple cell overflow from cell split by

having chosen the order of splitting in

advance.

Order preserving.

LHRBI

LHRBI The Specifics:

  1. Embedding space-based
  2. Always split next smallest-numbered cell. 3. y -first reversed bit interleaving on partition indices
  3. Count partition indices by distance from origin 0 0 0

LHRBI

LHRBI

LHRBI

Key Points:

  1. Order preserving, i.e., always split next smallest- numbered cell. 2. y -first reversed bit interleaving on partition indices
  2. Count partition indices by distance from origin 0 0 0 1 1 2 1 Split cell 0

LHRBI

LHRBI

Key Points:

  1. Order preserving, i.e., always split next smallest- numbered cell. 2. y -first reversed bit interleaving on partition indices
  2. Count partition indices by distance from origin 0 0 0 1 1 2 1 3 Split cell 1 Finish total grid partition 2

LHRBI

LHRBI

Key Points:

  1. Order preserving, i.e., always split next smallest- numbered cell. 2. y -first reversed bit interleaving on partition indices
  2. Count partition indices by distance from origin 0 0 0 1 1 2 1 3 4 2 Notice Split cell 1 3 5

LHRBI

LHRBI

Key Points:

  1. Order preserving, i.e., always split next smallest- numbered cell. 2. y -first reversed bit interleaving on partition indices
  2. Count partition indices by distance from origin 0 0 0 1 1 2 1 3 4 2 Split cell 2 3 5 6