Class BDB::Hash
In: comxxx.rb
Parent: BDB::Common

Implementation of Extended Linear Hashing

Inherit from BDB::Common

Methods

stat  

Public Instance methods

Return an Hash with the fields (description for 4.0.14)

  • hash_magic : Magic number that identifies the file as a Hash file.
  • hash_version : The version of the Hash database.
  • hash_nkeys : The number of unique keys in the database.
  • hash_ndata : The number of key/data pairs in the database.
  • hash_pagesize : The underlying Hash database page (and bucket) size, in bytes.
  • hash_nelem : The estimated size of the hash table specified at database-creation time.
  • hash_ffactor : The desired fill factor (number of items per bucket) specified at database-creation time.
  • hash_buckets : The number of hash buckets.
  • hash_free : The number of pages on the free list.
  • hash_bfree :The number of bytes free on bucket pages.
  • hash_bigpages : The number of big key/data pages.
  • hash_big_bfree : The number of bytes free on big item pages.
  • hash_overflows : The number of overflow pages
  • hash_ovfl_free : The number of bytes free on overflow pages.
  • hash_dup : The number of duplicate pages.
  • hash_dup_free : The number of bytes free on duplicate pages.

[Validate]