Debian Codegraph @

docs/api_reference/C/rep_set_clockskew_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>rep_set_clockskew</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="mutex_set_tas_spins_parameter.html" title="mutex_set_tas_spins" />
12 <link rel="next" href="rep_set_config_parameter.html" title="rep_set_config" />
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">rep_set_clockskew</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="mutex_set_tas_spins_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="rep_set_config_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="rep_set_clockskew_parameter"></a>rep_set_clockskew</h2>
36 </div>
37 </div>
38 </div>
39 <p>
40 Sets the clock skew ratio among replication group members based on
41 the fastest and slowest measurements among the group for use with
42 master leases.
43 </p>
44 <p>
45 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 single
46 line with the string <code class="literal">rep_set_clockskew</code>, one or
47 more whitespace characters, and the clockskew specified in two
48 parts: the fast_clock and the slow_clock.
49 </p>
50 <p>
51 For example:
52 </p>
53 <pre class="programlisting">rep_set_clockskew 102 100</pre>
54 <p>
55 Sets the fast_clock to 102 and the slow_clock to 100 if a group of
56 sites has a 2% variance.
57 </p>
58 <p>
59 For more information, see <a class="xref" href="repclockskew.html" title="DB_ENV-&gt;rep_set_clockskew()">DB_ENV-&gt;rep_set_clockskew()</a>.
60 </p>
61 </div>
62 <div class="navfooter">
63 <hr />
64 <table width="100%" summary="Navigation footer">
65 <tr>
66 <td width="40%" align="left"><a accesskey="p" href="mutex_set_tas_spins_parameter.html">Prev</a> </td>
67 <td width="20%" align="center">
68 <a accesskey="u" href="configuration_reference.html">Up</a>
69 </td>
70 <td width="40%" align="right"> <a accesskey="n" href="rep_set_config_parameter.html">Next</a></td>
71 </tr>
72 <tr>
73 <td width="40%" align="left" valign="top">mutex_set_tas_spins </td>
74 <td width="20%" align="center">
75 <a accesskey="h" href="index.html">Home</a>
76 </td>
77 <td width="40%" align="right" valign="top"> rep_set_config</td>
78 </tr>
79 </table>
80 </div>
81 </body>
82 </html>