source: content/databases/db-3.3.xml@ 08254fc

10.0 10.1 11.0 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 08254fc was 08254fc, checked in by Bruce Dubbs <bdubbs@…>, 17 years ago

New XML - Part VII

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2306 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY db-3.3-download-http " ">
8 <!ENTITY db-3.3-download-ftp "ftp://ftp.pu.edu.tw/Unix/Database/BerkeleyDB/db-&db-3.3-version;.tar.gz">
9 <!ENTITY db-3.3-size "2.3 MB">
10 <!ENTITY db-3.3-buildsize "20.3 MB">
11 <!ENTITY db-3.3-time "0.80 SBU">
12]>
13
14<sect1 id="db-3.3" xreflabel="Berkeley DB-&db-3.3-version;">
15<?dbhtml filename="db-3.3.html"?>
16<title>Berkeley DB-&db-3.3-version;</title>
17
18<sect2>
19<title>Introduction to <application>Berkeley DB</application>-&db-3.3-version;</title>
20
21<para>The <application>Berkeley DB</application> package contains version
22&db-3.3-version; of the Berkeley Database.</para>
23
24<sect3><title>Package information</title>
25<itemizedlist spacing='compact'>
26<listitem><para>Download (HTTP): <ulink
27url="&db-3.3-download-http;"/></para></listitem>
28<listitem><para>Download (FTP): <ulink
29url="&db-3.3-download-ftp;"/></para></listitem>
30<listitem><para>Download size: &db-3.3-size;</para></listitem>
31<listitem><para>Estimated Disk space required:
32&db-3.3-buildsize;</para></listitem>
33<listitem><para>Estimated build time:
34&db-3.3-time;</para></listitem></itemizedlist>
35</sect3>
36
37<sect3><title>Additional downloads</title>
38<itemizedlist spacing='compact'>
39<listitem><para>Required Patch: <ulink
40url="http://www.sleepycat.com/webforms/patchdl.php?src=patch.3.3.11.1"/></para></listitem>
41<listitem><para>Recommended Patch: <ulink
42url="http://www.sleepycat.com/webforms/patchdl.php?src=patch.3.3.11.2"/></para></listitem>
43</itemizedlist></sect3>
44
45
46</sect2>
47
48<sect2>
49<title>Installation of <application>Berkeley DB</application></title>
50
51<para>See: <ulink url="http://www.sleepycat.com/download/patching.shtml"/>
52for instructions on installing the patches.
53</para>
54
55<para>Install <application>Berkeley DB</application> by running the following commands:
56</para>
57
58<screen><userinput><command>cd build_unix &amp;&amp;
59../dist/configure --prefix=/opt/db-3.3 --enable-compat185 &amp;&amp;
60make &amp;&amp;
61make docdir=/opt/db-3.3/doc/Berkeley-DB install &amp;&amp;
62cd /opt/db-3.3/lib/ &amp;&amp;
63rm -f libdb.so &amp;&amp;
64for i in $(ls); do mv $i /usr/lib; ln -sf /usr/lib/$i; done &amp;&amp;
65cd /opt/db-3.3/include/ &amp;&amp;
66sed -i 's/^DB185/DB/' db_185.h &amp;&amp;
67ln -nsf /opt/db-3.3/include /usr/include/db3</command></userinput></screen>
68
69</sect2>
70
71<sect2>
72<title>Command explanations</title>
73
74<para><command>sed 's/^DB185/DB/' /usr/include/db_185.h > /usr/include/db_185.h.new</command>: Change the DB185 database pointer to DB.</para>
75
76</sect2>
77
78<sect2>
79<title>Contents</title>
80
81<para>The <application>Berkeley DB</application> package contains
82<command>db_archive</command>,
83<command>db_checkpoint</command>,
84<command>db_deadlock</command>,
85<command>db_dump</command>,
86<command>db_load</command>,
87<command>db_printlog</command>,
88<command>db_recover</command>,
89<command>db_stat</command>,
90<command>db_upgrade</command> and
91<command>db_verify</command>.
92
93</para>
94
95</sect2>
96
97<sect2><title>Description</title>
98
99<sect3><title>db_archive</title>
100<para><command>db_archive</command> prints the pathnames of log files that are
101no longer in use.</para></sect3>
102
103
104<sect3><title>db_checkpoint</title>
105<para><command>db_checkpoint</command> is a daemon process used to monitor and
106checkpoint database logs.</para></sect3>
107
108<sect3><title>db_deadlock</title>
109<para><command>db_deadlock</command> is used to abort lock requests when
110deadlocks are detected.</para></sect3>
111
112<sect3><title>db_dump</title>
113<para><command>db_dump</command> converts database files to a flat file format
114readable by <command>db_load</command>.</para></sect3>
115
116<sect3><title>db_load</title>
117<para><command>db_load</command> is used to create database files from flat
118files created with <command>db_dump</command>.</para></sect3>
119
120<sect3><title>db_printlog</title>
121<para><command>db_printlog</command> converts database log files to human
122readable text.</para></sect3>
123
124
125<sect3><title>db_recover</title>
126<para><command>db_recover</command> is used to restore a database to a
127consistent state after a failure.</para></sect3>
128
129<sect3><title>db_stat</title>
130<para><command>db_stat</command> displays database environment statistics.
131</para></sect3>
132
133<sect3><title>db_upgrade</title>
134<para><command>db_upgrade</command> is used to upgrade database files to a
135newer version of <application>Berkeley DB</application>.</para></sect3>
136
137<sect3><title>db_verify</title>
138<para><command>db_verify</command> is used to run consistency checks on
139database files.</para></sect3>
140
141</sect2>
142
143</sect1>
Note: See TracBrowser for help on using the repository browser.