Debian Codegraph @

docs/api_reference/C/log_set_config_parameter.html

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <title>log_set_config</title>
7 <link rel="stylesheet" href="apiReference.css" type="text/css" />
8 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
9 <link rel="start" href="index.html" title="Berkeley DB C API Reference" />
10 <link rel="up" href="configuration_reference.html" title="Appendix D. DB_CONFIG Parameter Reference" />
11 <link rel="prev" href="set_lk_partitions_parameter.html" title="set_lk_partitions" />
12 <link rel="next" href="set_mp_max_openfd_parameter.html" title="set_mp_max_openfd" />
13 </head>
14 <body>
15 <div xmlns="" class="navheader">
16 <div class="libver">
17 <p>Library Version 11.2.5.3</p>
18 </div>
19 <table width="100%" summary="Navigation header">
20 <tr>
21 <th colspan="3" align="center">log_set_config</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="set_lk_partitions_parameter.html">Prev</a> </td>
25 <th width="60%" align="center">Appendix D. DB_CONFIG Parameter Reference</th>
26 <td width="20%" align="right"> <a accesskey="n" href="set_mp_max_openfd_parameter.html">Next</a></td>
27 </tr>
28 </table>
29 <hr />
30 </div>
31 <div class="sect1" lang="en" xml:lang="en">
32 <div class="titlepage">
33 <div>
34 <div>
35 <h2 class="title" style="clear: both"><a id="log_set_config_parameter"></a>log_set_config</h2>
36 </div>
37 </div>
38 </div>
39 <p>
40 Configures the Berkeley DB logging subsystem.
41 </p>
42 <p>
43 The syntax of this parameter in the <a href="../../programmer_reference/env_db_config.html#env_db_config.DB_CONFIG" class="olink">DB_CONFIG</a> file is a
44 single line with the string
45 <code class="literal">log_set_config</code>, one or more whitespace
46 characters, method <span class="bold"><strong>flag</strong></span>
47 parameter as a string, optionally one or more whitespace
48 characters, and the string <code class="literal">on</code> or
49 <code class="literal">off</code>. If the optional string is
50 omitted, the default is <code class="literal">on.</code>
51 </p>
52 <p>
53 The method <span class="bold"><strong>flag</strong></span> parameters are:
54 </p>
55 <div class="itemizedlist">
56 <ul type="disc">
57 <li>
58 DB_LOG_DIRECT
59 <p>
60 Turns off system buffering of Berkeley DB log files to avoid double caching.
61 </p></li>
62 <li>
63 DB_LOG_DSYNC
64 <p>Configures Berkeley DB to flush log writes to the backing disk before returning from the
65 write system call, rather than flushing log writes explicitly in a separate system call, as
66 necessary.</p></li>
67 </ul>
68 </div>
69 <p>For more information, see <a class="xref" href="envlog_set_config.html" title="DB_ENV-&gt;log_set_config()">DB_ENV-&gt;log_set_config()</a>. </p>
70 </div>
71 <div class="navfooter">
72 <hr />
73 <table width="100%" summary="Navigation footer">
74 <tr>
75 <td width="40%" align="left"><a accesskey="p" href="set_lk_partitions_parameter.html">Prev</a> </td>
76 <td width="20%" align="center">
77 <a accesskey="u" href="configuration_reference.html">Up</a>
78 </td>
79 <td width="40%" align="right"> <a accesskey="n" href="set_mp_max_openfd_parameter.html">Next</a></td>
80 </tr>
81 <tr>
82 <td width="40%" align="left" valign="top">set_lk_partitions </td>
83 <td width="20%" align="center">
84 <a accesskey="h" href="index.html">Home</a>
85 </td>
86 <td width="40%" align="right" valign="top"> set_mp_max_openfd</td>
87 </tr>
88 </table>
89 </div>
90 </body>
91 </html>