[08254fc] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[08254fc] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[0aeb696] | 6 |
|
---|
[ef0d8f4] | 7 | <!ENTITY db-download-http "&sources-anduin-http;/bdb/db-&db-version;.tar.gz">
|
---|
[a9e1d249] | 8 | <!ENTITY db-download-ftp " ">
|
---|
[ef0d8f4] | 9 | <!ENTITY db-md5sum "b99454564d5b4479750567031d66fe24">
|
---|
| 10 | <!ENTITY db-size "34 MB">
|
---|
| 11 | <!ENTITY db-buildsize "265 MB">
|
---|
| 12 | <!ENTITY db-time "0.6 SBU">
|
---|
[08254fc] | 13 | ]>
|
---|
| 14 |
|
---|
[317034a] | 15 | <sect1 id="db" xreflabel="Berkeley DB-&db-version;">
|
---|
[b742c85] | 16 | <?dbhtml filename="db.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>Berkeley DB-&db-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="db">
|
---|
| 22 | <primary sortas="a-Berkeley-DB">Berkeley DB</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to Berkeley DB</title>
|
---|
| 27 |
|
---|
[1ea160c0] | 28 | <para>
|
---|
| 29 | The <application>Berkeley DB</application> package contains programs and
|
---|
| 30 | utilities used by many other applications for database related functions.
|
---|
| 31 | </para>
|
---|
[b742c85] | 32 |
|
---|
[15445ab] | 33 | &lfs113_checked;
|
---|
[d8069d7] | 34 |
|
---|
[b742c85] | 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
[1ea160c0] | 38 | <para>
|
---|
| 39 | Download (HTTP): <ulink url="&db-download-http;"/>
|
---|
| 40 | </para>
|
---|
[b742c85] | 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
[1ea160c0] | 43 | <para>
|
---|
| 44 | Download (FTP): <ulink url="&db-download-ftp;"/>
|
---|
| 45 | </para>
|
---|
[b742c85] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[1ea160c0] | 48 | <para>
|
---|
| 49 | Download MD5 sum: &db-md5sum;
|
---|
| 50 | </para>
|
---|
[b742c85] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[1ea160c0] | 53 | <para>
|
---|
| 54 | Download size: &db-size;
|
---|
| 55 | </para>
|
---|
[b742c85] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[1ea160c0] | 58 | <para>
|
---|
| 59 | Estimated disk space required: &db-buildsize;
|
---|
| 60 | </para>
|
---|
[b742c85] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[1ea160c0] | 63 | <para>
|
---|
| 64 | Estimated build time: &db-time;
|
---|
| 65 | </para>
|
---|
[b742c85] | 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect3">Berkeley DB Dependencies</bridgehead>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[d8069d7] | 72 | <para role="optional">
|
---|
[f4002c5] | 73 | <!-- <xref linkend="tcl"/> and -->
|
---|
[673c070] | 74 | <xref linkend="libnsl"/> and
|
---|
[ef0d8f4] | 75 | <xref linkend="sharutils"/> (for the <command>uudecode</command> command)
|
---|
| 76 |
|
---|
[869e6892] | 77 | <!--,
|
---|
[233a4949] | 78 | <xref linkend="openjdk"/> or <xref linkend="java"/>, and
|
---|
[d335260] | 79 | - - This is currently broken, removed for now. - -
|
---|
[ca8bcae9] | 80 | <xref linkend="sharutils"/> (for the <command>uudecode</command> command
|
---|
[d335260] | 81 | - Java bindings are required) -->
|
---|
[d8069d7] | 82 | </para>
|
---|
[b742c85] | 83 |
|
---|
| 84 | </sect2>
|
---|
| 85 |
|
---|
[a9e1d249] | 86 | <!-- <sect2 role="testing">
|
---|
[ef0d8f4] | 87 | <title>Testing Berkeley DB before the real install</title>
|
---|
[ac3ee9f8] | 88 |
|
---|
[1ea160c0] | 89 | <para>
|
---|
| 90 | If you can't wait 12 hours or so you may want to skip ahead to
|
---|
| 91 | <xref linkend="bdb-installation"/>. The test suite can take a long time
|
---|
| 92 | and has a few bugs causing a report of <quote>Regression tests
|
---|
| 93 | failed</quote>. However, running the test suite is a very exhaustive test
|
---|
| 94 | of your hardware, perhaps pushing your machine harder (especially disk
|
---|
| 95 | I/O) than it will ever see during production use. Note that you must have
|
---|
| 96 | <application>Tcl</application> installed to run the test suite.
|
---|
| 97 | </para>
|
---|
| 98 |
|
---|
| 99 | <para>
|
---|
| 100 | Build for the <application>Berkeley DB</application> test by running the
|
---|
| 101 | following commands:
|
---|
| 102 | </para>
|
---|
| 103 |
|
---|
| 104 | <screen><userinput>cd build_unix &&
|
---|
[a9e1d249] | 105 | ../dist/configure --prefix=/usr \
|
---|
| 106 | --enable-test \
|
---|
| 107 | --enable-tcl \
|
---|
| 108 | --enable-dbm \
|
---|
| 109 | --with-tcl=/usr/lib &&
|
---|
[2a038b2] | 110 | make</userinput></screen>
|
---|
[ac3ee9f8] | 111 |
|
---|
[1ea160c0] | 112 | <para>
|
---|
| 113 | To test the results, start <command>tclsh</command>:
|
---|
| 114 | </para>
|
---|
[bccbdaea] | 115 |
|
---|
[8f9c757e] | 116 | <screen><userinput>tclsh</userinput></screen>
|
---|
| 117 |
|
---|
[1ea160c0] | 118 | <para>
|
---|
| 119 | From the <command>tclsh</command> prompt (<prompt>% </prompt>), run:
|
---|
| 120 | </para>
|
---|
[8f9c757e] | 121 |
|
---|
[d8069d7] | 122 | <screen><userinput>source ../test/tcl/test.tcl
|
---|
[8f9c757e] | 123 | run_parallel 5 run_std
|
---|
| 124 | exit</userinput></screen>
|
---|
[ac3ee9f8] | 125 |
|
---|
[1ea160c0] | 126 | <para>
|
---|
| 127 | Clean up the source tree with the following command:
|
---|
| 128 | </para>
|
---|
[ac3ee9f8] | 129 |
|
---|
[2c2f849] | 130 | <screen><userinput>make realclean &&
|
---|
[8d288fe8] | 131 | cd ..</userinput></screen>
|
---|
[2c2f849] | 132 |
|
---|
[1ea160c0] | 133 | <note><para>
|
---|
| 134 | Test127.f and Repmgr026.c are known to fail.
|
---|
| 135 | </para></note>
|
---|
[d8069d7] | 136 |
|
---|
[1ea160c0] | 137 | <para>
|
---|
| 138 | There are additional testing suites in the
|
---|
| 139 | <filename class="directory">test/c</filename> and
|
---|
| 140 | <filename class="directory">test/cxx</filename> directories. See the
|
---|
| 141 | <filename>README</filename> in each directory for instructions on how to
|
---|
| 142 | run the tests.
|
---|
| 143 | </para>
|
---|
[a9e1d249] | 144 | </sect2> -->
|
---|
[2c2f849] | 145 |
|
---|
[2a038b2] | 146 | <sect2 role="installation" id="bdb-installation">
|
---|
[2c2f849] | 147 | <title>Installation of Berkeley DB</title>
|
---|
| 148 |
|
---|
[ef0d8f4] | 149 | <para>
|
---|
| 150 | First apply a fix so that this will compile with current versions of
|
---|
| 151 | <command>g++</command>:
|
---|
| 152 | </para>
|
---|
| 153 |
|
---|
| 154 | <screen><userinput>sed -i 's/\(__atomic_compare_exchange\)/\1_db/' src/dbinc/atomic.h</userinput></screen>
|
---|
| 155 |
|
---|
| 156 | <!-- move parts of hte testing to here, possibly as sect3 -->
|
---|
| 157 |
|
---|
[1ea160c0] | 158 | <para>
|
---|
| 159 | Install <application>Berkeley DB</application> by running the following
|
---|
| 160 | commands:
|
---|
| 161 | </para>
|
---|
[2c2f849] | 162 |
|
---|
[1ea160c0] | 163 | <screen><userinput>cd build_unix &&
|
---|
| 164 | ../dist/configure --prefix=/usr \
|
---|
[2a038b2] | 165 | --enable-compat185 \
|
---|
[1ea160c0] | 166 | --enable-dbm \
|
---|
| 167 | --disable-static \
|
---|
[ef0d8f4] | 168 | --enable-cxx &&
|
---|
[2a038b2] | 169 | make</userinput></screen>
|
---|
[2c2f849] | 170 |
|
---|
[1ea160c0] | 171 | <para>
|
---|
| 172 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 173 | </para>
|
---|
[2c2f849] | 174 |
|
---|
| 175 | <screen role="root"><userinput>make docdir=/usr/share/doc/db-&db-version; install &&
|
---|
[aed3e6ec] | 176 |
|
---|
[1ea160c0] | 177 | chown -v -R root:root \
|
---|
| 178 | /usr/bin/db_* \
|
---|
| 179 | /usr/include/db{,_185,_cxx}.h \
|
---|
| 180 | /usr/lib/libdb*.{so,la} \
|
---|
[35a18d26] | 181 | /usr/share/doc/db-&db-version;</userinput></screen>
|
---|
[ac3ee9f8] | 182 | </sect2>
|
---|
| 183 |
|
---|
[b742c85] | 184 | <sect2 role="commands">
|
---|
| 185 | <title>Command Explanations</title>
|
---|
| 186 |
|
---|
[1ea160c0] | 187 | <para>
|
---|
| 188 | <command>cd build_unix && ../dist/configure
|
---|
| 189 | --prefix=/usr...</command>: This replaces the normal
|
---|
| 190 | <command>./configure</command> command, as
|
---|
| 191 | <application>Berkeley DB</application> comes with various build
|
---|
| 192 | directories for different platforms.
|
---|
| 193 | </para>
|
---|
[b742c85] | 194 |
|
---|
[1ea160c0] | 195 | <para>
|
---|
[b412c90f] | 196 | <parameter>--enable-compat185</parameter>: This switch enables building
|
---|
[1ea160c0] | 197 | the DB-1.85 compatibility API.
|
---|
| 198 | </para>
|
---|
[b742c85] | 199 |
|
---|
[1ea160c0] | 200 | <para>
|
---|
[b412c90f] | 201 | <parameter>--enable-cxx</parameter>: This switch enables building C++ API
|
---|
[1ea160c0] | 202 | libraries.
|
---|
| 203 | </para>
|
---|
[b742c85] | 204 |
|
---|
[1ea160c0] | 205 | <para>
|
---|
[b412c90f] | 206 | <parameter>--enable-dbm</parameter>: Enables legacy interface support
|
---|
[1ea160c0] | 207 | needed by some older packages.
|
---|
| 208 | </para>
|
---|
[b742c85] | 209 |
|
---|
[1ea160c0] | 210 | <para>
|
---|
| 211 | <command>make docdir=/usr/share/doc/db-&db-version; install</command>:
|
---|
| 212 | This installs the documentation in the standard location instead of
|
---|
| 213 | <filename class="directory">/usr/docs</filename>.
|
---|
| 214 | </para>
|
---|
[0635d22] | 215 |
|
---|
[1ea160c0] | 216 | <para>
|
---|
| 217 | <command>chown -v -R root:root ...</command>:This command changes the
|
---|
| 218 | ownership of various installed files from the uid:gid of the builder to
|
---|
| 219 | root:root.
|
---|
| 220 | </para>
|
---|
[a9e1d249] | 221 |
|
---|
| 222 | <para>
|
---|
| 223 | <option>--enable-tcl --with-tcl=/usr/lib</option>: Enables
|
---|
| 224 | <application>Tcl</application> support in DB and creates the
|
---|
| 225 | <filename class="libraryfile">libdb_tcl</filename> libraries.
|
---|
| 226 | </para>
|
---|
| 227 |
|
---|
| 228 | <para>
|
---|
[ca8bcae9] | 229 | <option>--enable-java</option>: Enables <application>Java</application>
|
---|
| 230 | support in DB and creates the
|
---|
[a9e1d249] | 231 | <filename class="libraryfile">libdb_java</filename> libraries.
|
---|
[ef0d8f4] | 232 | <!--
|
---|
| 233 | checking if java works... yes
|
---|
| 234 | checking for javac... /opt/jdk/bin/javac
|
---|
| 235 | checking absolute path of javac... /opt/jdk/bin/javac
|
---|
| 236 | checking java version... 10.0.1
|
---|
| 237 | configure: error: Java version 1.3 or higher required, got 10.0.1
|
---|
| 238 | -->
|
---|
| 239 | Support is currently broken with Java-&openjdk-build;.x.
|
---|
[a9e1d249] | 240 | </para>
|
---|
[b742c85] | 241 | </sect2>
|
---|
| 242 |
|
---|
| 243 | <sect2 role="content">
|
---|
| 244 | <title>Contents</title>
|
---|
| 245 |
|
---|
| 246 | <segmentedlist>
|
---|
[de7f20e] | 247 | <segtitle>Installed Programs</segtitle>
|
---|
[b742c85] | 248 | <segtitle>Installed Libraries</segtitle>
|
---|
| 249 | <segtitle>Installed Directory</segtitle>
|
---|
| 250 |
|
---|
| 251 | <seglistitem>
|
---|
[1ea160c0] | 252 | <seg>
|
---|
[a9e1d249] | 253 | db_archive,
|
---|
| 254 | db_checkpoint,
|
---|
| 255 | db_deadlock,
|
---|
| 256 | db_dump,
|
---|
| 257 | db_hotbackup,
|
---|
| 258 | db_load,
|
---|
| 259 | db_log_verify,
|
---|
| 260 | db_printlog,
|
---|
| 261 | db_recover,
|
---|
| 262 | db_replicate,
|
---|
| 263 | db_stat,
|
---|
| 264 | db_tuner,
|
---|
[f12d348] | 265 | db_upgrade, and
|
---|
[233a4949] | 266 | db_verify
|
---|
[1ea160c0] | 267 | </seg>
|
---|
| 268 | <seg>
|
---|
[491df213] | 269 | libdb.so,
|
---|
[ef0d8f4] | 270 | libdb_cxx.so, and
|
---|
| 271 | <!-- libdb_java.so, and -->
|
---|
[491df213] | 272 | libdb_tcl.so
|
---|
[1ea160c0] | 273 | </seg>
|
---|
[b742c85] | 274 | <seg>/usr/share/doc/db-&db-version;</seg>
|
---|
| 275 | </seglistitem>
|
---|
| 276 | </segmentedlist>
|
---|
| 277 |
|
---|
| 278 | <variablelist>
|
---|
| 279 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 280 | <?dbfo list-presentation="list"?>
|
---|
| 281 | <?dbhtml list-presentation="table"?>
|
---|
| 282 |
|
---|
| 283 | <varlistentry id="db_archive">
|
---|
| 284 | <term><command>db_archive</command></term>
|
---|
| 285 | <listitem>
|
---|
[1ea160c0] | 286 | <para>
|
---|
[4c24eb0a] | 287 | prints the pathnames of log files that are no longer in use
|
---|
[1ea160c0] | 288 | </para>
|
---|
[b742c85] | 289 | <indexterm zone="db db_archive">
|
---|
| 290 | <primary sortas="b-db_archive">db_archive</primary>
|
---|
| 291 | </indexterm>
|
---|
| 292 | </listitem>
|
---|
| 293 | </varlistentry>
|
---|
| 294 |
|
---|
| 295 | <varlistentry id="db_checkpoint">
|
---|
| 296 | <term><command>db_checkpoint</command></term>
|
---|
| 297 | <listitem>
|
---|
[1ea160c0] | 298 | <para>
|
---|
[4c24eb0a] | 299 | is a daemon process used to monitor and checkpoint database logs
|
---|
[1ea160c0] | 300 | </para>
|
---|
[b742c85] | 301 | <indexterm zone="db db_checkpoint">
|
---|
| 302 | <primary sortas="b-db_checkpoint">db_checkpoint</primary>
|
---|
| 303 | </indexterm>
|
---|
| 304 | </listitem>
|
---|
| 305 | </varlistentry>
|
---|
| 306 |
|
---|
| 307 | <varlistentry id="db_deadlock">
|
---|
| 308 | <term><command>db_deadlock</command></term>
|
---|
| 309 | <listitem>
|
---|
[1ea160c0] | 310 | <para>
|
---|
[4c24eb0a] | 311 | is used to abort lock requests when deadlocks are detected
|
---|
[1ea160c0] | 312 | </para>
|
---|
[b742c85] | 313 | <indexterm zone="db db_deadlock">
|
---|
| 314 | <primary sortas="b-db_deadlock">db_deadlock</primary>
|
---|
| 315 | </indexterm>
|
---|
| 316 | </listitem>
|
---|
| 317 | </varlistentry>
|
---|
| 318 |
|
---|
| 319 | <varlistentry id="db_dump">
|
---|
| 320 | <term><command>db_dump</command></term>
|
---|
| 321 | <listitem>
|
---|
[1ea160c0] | 322 | <para>
|
---|
| 323 | converts database files to a flat file format readable by
|
---|
[4c24eb0a] | 324 | <command>db_load</command>
|
---|
[1ea160c0] | 325 | </para>
|
---|
[b742c85] | 326 | <indexterm zone="db db_dump">
|
---|
| 327 | <primary sortas="b-db_dump">db_dump</primary>
|
---|
| 328 | </indexterm>
|
---|
| 329 | </listitem>
|
---|
| 330 | </varlistentry>
|
---|
| 331 |
|
---|
[1ea160c0] | 332 | <varlistentry id="db_hotbackup">
|
---|
| 333 | <term><command>db_hotbackup</command></term>
|
---|
| 334 | <listitem>
|
---|
| 335 | <para>
|
---|
| 336 | creates "hot backup" or "hot failover" snapshots of Berkeley DB
|
---|
[4c24eb0a] | 337 | databases
|
---|
[1ea160c0] | 338 | </para>
|
---|
| 339 | <indexterm zone="db db_hotbackup">
|
---|
| 340 | <primary sortas="b-db_hotbackup">db_hotbackup</primary>
|
---|
| 341 | </indexterm>
|
---|
| 342 | </listitem>
|
---|
| 343 | </varlistentry>
|
---|
| 344 |
|
---|
[b742c85] | 345 | <varlistentry id="db_load">
|
---|
| 346 | <term><command>db_load</command></term>
|
---|
| 347 | <listitem>
|
---|
[1ea160c0] | 348 | <para>
|
---|
| 349 | is used to create database files from flat files created with
|
---|
[4c24eb0a] | 350 | <command>db_dump</command>
|
---|
[1ea160c0] | 351 | </para>
|
---|
[b742c85] | 352 | <indexterm zone="db db_load">
|
---|
| 353 | <primary sortas="b-db_load">db_load</primary>
|
---|
| 354 | </indexterm>
|
---|
| 355 | </listitem>
|
---|
| 356 | </varlistentry>
|
---|
| 357 |
|
---|
[1ea160c0] | 358 | <varlistentry id="db_log_verify">
|
---|
| 359 | <term><command>db_log_verify</command></term>
|
---|
| 360 | <listitem>
|
---|
[27b601a] | 361 | <para>
|
---|
[4c24eb0a] | 362 | verifies the log files of a database
|
---|
[27b601a] | 363 | </para>
|
---|
[1ea160c0] | 364 | <indexterm zone="db db_log_verify">
|
---|
| 365 | <primary sortas="b-db_log_verify">db_log_verify</primary>
|
---|
| 366 | </indexterm>
|
---|
| 367 | </listitem>
|
---|
| 368 | </varlistentry>
|
---|
| 369 |
|
---|
[b742c85] | 370 | <varlistentry id="db_printlog">
|
---|
| 371 | <term><command>db_printlog</command></term>
|
---|
| 372 | <listitem>
|
---|
[27b601a] | 373 | <para>
|
---|
[4c24eb0a] | 374 | converts database log files to human readable text
|
---|
[27b601a] | 375 | </para>
|
---|
[b742c85] | 376 | <indexterm zone="db db_printlog">
|
---|
| 377 | <primary sortas="b-db_printlog">db_printlog</primary>
|
---|
| 378 | </indexterm>
|
---|
| 379 | </listitem>
|
---|
| 380 | </varlistentry>
|
---|
| 381 |
|
---|
| 382 | <varlistentry id="db_recover">
|
---|
| 383 | <term><command>db_recover</command></term>
|
---|
| 384 | <listitem>
|
---|
[1ea160c0] | 385 | <para>
|
---|
[4c24eb0a] | 386 | is used to restore a database to a consistent state after a failure
|
---|
[1ea160c0] | 387 | </para>
|
---|
[b742c85] | 388 | <indexterm zone="db db_recover">
|
---|
| 389 | <primary sortas="b-db_recover">db_recover</primary>
|
---|
| 390 | </indexterm>
|
---|
| 391 | </listitem>
|
---|
| 392 | </varlistentry>
|
---|
| 393 |
|
---|
[1ea160c0] | 394 | <varlistentry id="db_replicate">
|
---|
| 395 | <term><command>db_replicate</command></term>
|
---|
| 396 | <listitem>
|
---|
| 397 | <para>
|
---|
| 398 | is a daemon process that provides replication/HA services on a
|
---|
[4c24eb0a] | 399 | transactional environment
|
---|
[1ea160c0] | 400 | </para>
|
---|
| 401 | <indexterm zone="db db_replicate">
|
---|
| 402 | <primary sortas="b-db_replicate">db_replicate</primary>
|
---|
| 403 | </indexterm>
|
---|
| 404 | </listitem>
|
---|
| 405 | </varlistentry>
|
---|
| 406 |
|
---|
[b742c85] | 407 | <varlistentry id="db_stat">
|
---|
| 408 | <term><command>db_stat</command></term>
|
---|
| 409 | <listitem>
|
---|
[27b601a] | 410 | <para>
|
---|
[4c24eb0a] | 411 | displays database environment statistics
|
---|
[27b601a] | 412 | </para>
|
---|
[b742c85] | 413 | <indexterm zone="db db_stat">
|
---|
| 414 | <primary sortas="b-db_stat">db_stat</primary>
|
---|
| 415 | </indexterm>
|
---|
| 416 | </listitem>
|
---|
| 417 | </varlistentry>
|
---|
| 418 |
|
---|
[1ea160c0] | 419 | <varlistentry id="db_tuner">
|
---|
| 420 | <term><command>db_tuner</command></term>
|
---|
| 421 | <listitem>
|
---|
| 422 | <para>
|
---|
| 423 | analyzes the data in a btree database, and suggests a page size that
|
---|
[4c24eb0a] | 424 | is likely to deliver optimal operation
|
---|
[1ea160c0] | 425 | </para>
|
---|
| 426 | <indexterm zone="db db_tuner">
|
---|
| 427 | <primary sortas="b-db_tuner">db_tuner</primary>
|
---|
| 428 | </indexterm>
|
---|
| 429 | </listitem>
|
---|
| 430 | </varlistentry>
|
---|
| 431 |
|
---|
[b742c85] | 432 | <varlistentry id="db_upgrade">
|
---|
| 433 | <term><command>db_upgrade</command></term>
|
---|
| 434 | <listitem>
|
---|
[1ea160c0] | 435 | <para>
|
---|
| 436 | is used to upgrade database files to a newer version of
|
---|
[4c24eb0a] | 437 | <application>Berkeley DB</application>
|
---|
[1ea160c0] | 438 | </para>
|
---|
[b742c85] | 439 | <indexterm zone="db db_upgrade">
|
---|
| 440 | <primary sortas="b-db_upgrade">db_upgrade</primary>
|
---|
| 441 | </indexterm>
|
---|
| 442 | </listitem>
|
---|
| 443 | </varlistentry>
|
---|
| 444 |
|
---|
| 445 | <varlistentry id="db_verify">
|
---|
| 446 | <term><command>db_verify</command></term>
|
---|
| 447 | <listitem>
|
---|
[27b601a] | 448 | <para>
|
---|
[4c24eb0a] | 449 | is used to run consistency checks on database files
|
---|
[27b601a] | 450 | </para>
|
---|
[b742c85] | 451 | <indexterm zone="db db_verify">
|
---|
| 452 | <primary sortas="b-db_verify">db_verify</primary>
|
---|
| 453 | </indexterm>
|
---|
| 454 | </listitem>
|
---|
| 455 | </varlistentry>
|
---|
| 456 | </variablelist>
|
---|
| 457 | </sect2>
|
---|
[4c24eb0a] | 458 |
|
---|
[f45b1953] | 459 | </sect1>
|
---|