Debian Codegraph @

docs/programmer_reference/am_stat.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>Database statistics</title>
7 <link rel="stylesheet" href="gettingStarted.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 Programmer's Reference Guide" />
10 <link rel="up" href="am.html" title="Chapter 3.  Access Method Operations" />
11 <link rel="prev" href="am_delete.html" title="Deleting records" />
12 <link rel="next" href="am_truncate.html" title="Database truncation" />
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">Database statistics</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="am_delete.html">Prev</a> </td>
25 <th width="60%" align="center">Chapter 3. 
26 Access Method Operations
27 </th>
28 <td width="20%" align="right"> <a accesskey="n" href="am_truncate.html">Next</a></td>
29 </tr>
30 </table>
31 <hr />
32 </div>
33 <div class="sect1" lang="en" xml:lang="en">
34 <div class="titlepage">
35 <div>
36 <div>
37 <h2 class="title" style="clear: both"><a id="am_stat"></a>Database statistics</h2>
38 </div>
39 </div>
40 </div>
41 <p>The <a href="../api_reference/C/dbstat.html" class="olink">DB-&gt;stat()</a> method returns a set of statistics about the underlying
42 database, for example, the number of key/data pairs in the database, how
43 the database was originally configured, and so on.</p>
44 <p>There is a flag you can set to avoid time-consuming operations:</p>
45 <div class="variablelist">
46 <dl>
47 <dt>
48 <span class="term">
49 <a href="../api_reference/C/dbstat.html#stat_DB_FAST_STAT" class="olink">DB_FAST_STAT</a>
50 </span>
51 </dt>
52 <dd>Return only information that can be acquired without traversing the
53 entire database.</dd>
54 </dl>
55 </div>
56 </div>
57 <div class="navfooter">
58 <hr />
59 <table width="100%" summary="Navigation footer">
60 <tr>
61 <td width="40%" align="left"><a accesskey="p" href="am_delete.html">Prev</a> </td>
62 <td width="20%" align="center">
63 <a accesskey="u" href="am.html">Up</a>
64 </td>
65 <td width="40%" align="right"> <a accesskey="n" href="am_truncate.html">Next</a></td>
66 </tr>
67 <tr>
68 <td width="40%" align="left" valign="top">Deleting records </td>
69 <td width="20%" align="center">
70 <a accesskey="h" href="index.html">Home</a>
71 </td>
72 <td width="40%" align="right" valign="top"> Database truncation</td>
73 </tr>
74 </table>
75 </div>
76 </body>
77 </html>