1dbh_regen_sweep(3) DBHashTables Programmers' Manual dbh_regen_sweep(3)
2
3
4
5‐
6
8 dbh_regen_sweep, dbh_regen_fanout, dbh_settempdir - make physical
9 structure of the DBHashTable congruent with logical structure
10
12 #include <dbh.h>
13
14 DBHashTable *dbh_regen_sweep (DBHashTable *dbh);
15 DBHashTable *dbh_regen_fanout (DBHashTable *dbh);
16 int dbh_settempdir (DBHashTable *dbh, char *temp_dir);
17
18
20 Regenerate the DBHashTable eliminating erased records and optimizing
21 disk access and speed for sweep access using dbh_regen_sweep and for
22 fanout access using dbh_regen_fanout. This is done by creating a new
23 DBHashTable where the physical structure matches the logical structure.
24 The temporary directory where the new DBHashTable is created may be set
25 with dbh_settempdir(). Current DBHashTable is closed before removed.
26 New DBHashTable is opened after renamed.
27
29 A pointer to the new DBHashTable.
30
32 dbh [22m(0), dbh_sweep [22m(3), dbh_fanout [22m(3), dbh_foreach_sweep [22m(3),
33 dbh_foreach_fanout (3),
34
36 Edscott Wilson Garcia <edscott@xfce.org>
37
38
39
40DBHashTables DBH dbh_regen_sweep(3)