access.hash-test

Verb: Access/Access: Verbs, Releases: AP and R83

Performs distribution analysis on file with test modulo.

Syntax

hash-test file.reference {itemlist} {sellist} {(options)} test modulo:modulo <return>

Description

produces a 'histogram', or graphic representation of item-id distribution within a given file, according to a 'test' modulo provided. The command is useful when performing file reallocation providing insight into how the item-ids hash into the file, as well as providing a suggested modulo.

Options

* see 'options: Access'.

s Displays summary statistics only.

Example

hash-test testfile<return>
test modulo: 3<return>

file= testfile modulo= 3 10:07:24 03 Mar 1992
frames bytes items
1 444 1 *>
1 772 2 *>>
1 1742 2 *>>
3

Hash-Test/Istat Statistics
total item count = 5 byte count = 2958
avg. bytes/item = 591.6 avg. items/group = 1.6
std. deviation = .5 avg. bytes/group = 986.0
suggested modulo = 3

This file has three groups, a total of five items. Each '>'
('hash mark') indicates an item.

See Also

Command Name Type Description
file.reference Definition How to reference files in Pick.
access.verbs Definition General form of Access sentences.
tcl.item Verb: Access Displays group to which item hashes.
access.istat Verb: Access Performs distribution analysis on existing file modulo.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.