Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utcs!mnetor!seismo!think!massar From: massar@think.UUCP Newsgroups: net.unix-wizards Subject: 'dbm' hash table software Message-ID: <5728@think.COM> Date: Tue, 15-Jul-86 15:38:18 EDT Article-I.D.: think.5728 Posted: Tue Jul 15 15:38:18 1986 Date-Received: Wed, 16-Jul-86 03:34:27 EDT Organization: Thinking Machines, Cambridge, MA Lines: 27 Does anyone out there understand dbm? The manual page says: The sum of the sizes of a key/content pair must not exceed the internal block size (currently 1024 bytes). Moreover all key/content pairs that hash together must fit on a single block. Store will return an error in the event that a disk block fills with inseparable data. However, after looking at the source and having had some experience using dbm I am not convinced that the last sentence is really implemented. Further, if it is implemented, what exactly does it mean? Will my already existent data be destroyed as dbm 'fills the disk block with inseparable data' or will dbm not write the data that would cause the disk block to fill up? The reason I am suspicious is that after creating a large hash table and apparently not getting any errors, certain entries in the database don't exist, for no reason I understand. While I am at it, does anyone know of a dbm-like implementation without this limitation on filling up disk blocks? -- -- JP Massar, Thinking Machines Corporation, Cambridge, MA -- ihnp4!think!massar, massar@think.com -- 617-876-1111