1DB_TUNER(1) BerkeleyDB Utilities DB_TUNER(1)
2
3
4
6 db_tuner - analyze and tune btree database
7
9 db_tuner [-c cachesize] -d file [-h home] [-s database] [-v]
10
12 The db_tuner utility analyzes the data in a btree database, and sug‐
13 gests a page size that is likely to deliver optimal operation.
14
16 -c cachesize
17 Specify a value of the cachesize, otherwise, the default value
18 will be set.
19
20 -d file
21 Display database statistics for the specified file. If the data‐
22 base contains multiple databases and the -s flag is not speci‐
23 fied, the statistics are for the internal database that
24 describes the other databases the file contains, and not for the
25 file as a whole.
26
27 -h home
28 Specify a home directory for the database environment.
29
30 -s database
31 Display page size recommendation for the specified database con‐
32 tained in the file specified with the -d flag.
33
34 -v Display verbose information.
35
37 The db_tuner utility assumes that databases are compacted when
38 analysing the data. The analysis is based on a static view of the data
39 and the data access and update patterns are not take into account.
40
42 db_archive(1) db_checkpoint(1) db_deadlock(1) db_dump(1) db_hot‐
43 backup(1) db_log_verify(1) db_load(1) db_printlog(1) db_recover(1)
44 db_replicate(1) db_stat(1) db_upgrade(1) db_verify(1)
45
46
47
48BerkeleyDB 5.3.21 06 December 2016 DB_TUNER(1)