version 1, including all changes.
.
| Rev |
Author |
# |
Line |
| 1 |
perry |
1 |
DB_STAT |
| |
|
2 |
!!!DB_STAT |
| |
|
3 |
NAME |
| |
|
4 |
SYNOPSIS |
| |
|
5 |
DESCRIPTION |
| |
|
6 |
ENVIRONMENT VARIABLES |
| |
|
7 |
SEE ALSO |
| |
|
8 |
---- |
| |
|
9 |
!!NAME |
| |
|
10 |
|
| |
|
11 |
|
| |
|
12 |
db_stat - display DB statistics |
| |
|
13 |
!!SYNOPSIS |
| |
|
14 |
|
| |
|
15 |
|
| |
|
16 |
__db_stat__ [[__-clmNt__] |
| |
|
17 |
|
| |
|
18 |
|
| |
|
19 |
[[__-C Acfhlmo__] [[__-d file__] [[__-h home__] [[__-M |
| |
|
20 |
Ahlm__] |
| |
|
21 |
!!DESCRIPTION |
| |
|
22 |
|
| |
|
23 |
|
| |
|
24 |
The ''db_stat'' utility displays statistics for DB |
| |
|
25 |
environments. |
| |
|
26 |
|
| |
|
27 |
|
| |
|
28 |
The options are as follows: |
| |
|
29 |
|
| |
|
30 |
|
| |
|
31 |
__-C__ |
| |
|
32 |
|
| |
|
33 |
|
| |
|
34 |
Display internal information about the lock region. (The |
| |
|
35 |
output from this option is often both voluminous and |
| |
|
36 |
meaningless, and is intended only for |
| |
|
37 |
debugging.) |
| |
|
38 |
|
| |
|
39 |
|
| |
|
40 |
__-A__ |
| |
|
41 |
|
| |
|
42 |
|
| |
|
43 |
Display all information. |
| |
|
44 |
|
| |
|
45 |
|
| |
|
46 |
__-c__ |
| |
|
47 |
|
| |
|
48 |
|
| |
|
49 |
Display lock conflict matrix. |
| |
|
50 |
|
| |
|
51 |
|
| |
|
52 |
__-f__ |
| |
|
53 |
|
| |
|
54 |
|
| |
|
55 |
Display lock and object free lists. |
| |
|
56 |
|
| |
|
57 |
|
| |
|
58 |
__-l__ |
| |
|
59 |
|
| |
|
60 |
|
| |
|
61 |
Display lockers within hash chains. |
| |
|
62 |
|
| |
|
63 |
|
| |
|
64 |
__-m__ |
| |
|
65 |
|
| |
|
66 |
|
| |
|
67 |
Display region memory information. |
| |
|
68 |
|
| |
|
69 |
|
| |
|
70 |
__-o__ |
| |
|
71 |
|
| |
|
72 |
|
| |
|
73 |
Display objects within hash chains. |
| |
|
74 |
|
| |
|
75 |
|
| |
|
76 |
__-c__ |
| |
|
77 |
|
| |
|
78 |
|
| |
|
79 |
Display lock region statistics as described in |
| |
|
80 |
''db_lock''(3). |
| |
|
81 |
|
| |
|
82 |
|
| |
|
83 |
__-d__ |
| |
|
84 |
|
| |
|
85 |
|
| |
|
86 |
Display database statistics for the specified database as |
| |
|
87 |
described in ''db_open''(3). |
| |
|
88 |
|
| |
|
89 |
|
| |
|
90 |
__-h__ |
| |
|
91 |
|
| |
|
92 |
|
| |
|
93 |
Specify a home directory for the database. |
| |
|
94 |
|
| |
|
95 |
|
| |
|
96 |
__-l__ |
| |
|
97 |
|
| |
|
98 |
|
| |
|
99 |
Display log region statistics as described in |
| |
|
100 |
''db_log''(3). |
| |
|
101 |
|
| |
|
102 |
|
| |
|
103 |
__-M__ |
| |
|
104 |
|
| |
|
105 |
|
| |
|
106 |
Display internal information about the shared memory buffer |
| |
|
107 |
pool. (The output from this option is often both voluminous |
| |
|
108 |
and meaningless, and is intended only for |
| |
|
109 |
debugging.) |
| |
|
110 |
|
| |
|
111 |
|
| |
|
112 |
__-A__ |
| |
|
113 |
|
| |
|
114 |
|
| |
|
115 |
Display all information. |
| |
|
116 |
|
| |
|
117 |
|
| |
|
118 |
__-h__ |
| |
|
119 |
|
| |
|
120 |
|
| |
|
121 |
Display buffers within hash chains. |
| |
|
122 |
|
| |
|
123 |
|
| |
|
124 |
__-l__ |
| |
|
125 |
|
| |
|
126 |
|
| |
|
127 |
Display buffers within LRU chains. |
| |
|
128 |
|
| |
|
129 |
|
| |
|
130 |
__-m__ |
| |
|
131 |
|
| |
|
132 |
|
| |
|
133 |
Display region memory information. |
| |
|
134 |
|
| |
|
135 |
|
| |
|
136 |
__-m__ |
| |
|
137 |
|
| |
|
138 |
|
| |
|
139 |
Display shared memory buffer pool statistics as described in |
| |
|
140 |
''db_mpool''(3). |
| |
|
141 |
|
| |
|
142 |
|
| |
|
143 |
__-N__ |
| |
|
144 |
|
| |
|
145 |
|
| |
|
146 |
Don't acquire locks while displaying the statistics. This |
| |
|
147 |
option is intended only for debugging corrupt regions and |
| |
|
148 |
should not be used under any other |
| |
|
149 |
circumstances. |
| |
|
150 |
|
| |
|
151 |
|
| |
|
152 |
__-t__ |
| |
|
153 |
|
| |
|
154 |
|
| |
|
155 |
Display transaction region statistics as described in |
| |
|
156 |
''db_txn''(3). |
| |
|
157 |
|
| |
|
158 |
|
| |
|
159 |
The ''db_stat'' utility attaches to DB shared memory |
| |
|
160 |
regions. In order to avoid region corruption, it should |
| |
|
161 |
always be given the chance to detach and exit gracefully. To |
| |
|
162 |
cause ''db_stat'' to clean up after itself and exit, send |
| |
|
163 |
it an interrupt signal (SIGINT). |
| |
|
164 |
|
| |
|
165 |
|
| |
|
166 |
Values smaller than 10 million are generally displayed |
| |
|
167 |
without any special notation. Values larger than 10 million |
| |
|
168 |
are normally displayed as `` |
| |
|
169 |
|
| |
|
170 |
|
| |
|
171 |
The ''db_stat'' utility exits 0 on success, and |
| |
|
172 |
'' |
| |
|
173 |
!!ENVIRONMENT VARIABLES |
| |
|
174 |
|
| |
|
175 |
|
| |
|
176 |
The following environment variables affect the execution of |
| |
|
177 |
''db_stat'': |
| |
|
178 |
|
| |
|
179 |
|
| |
|
180 |
DB_HOME |
| |
|
181 |
|
| |
|
182 |
|
| |
|
183 |
If the __-h__ option is not specified and the environment |
| |
|
184 |
variable ''DB_HOME'' is set, it is used as the path of |
| |
|
185 |
the database home, as described in |
| |
|
186 |
''db_appinit''(3). |
| |
|
187 |
!!SEE ALSO |
| |
|
188 |
|
| |
|
189 |
|
| |
|
190 |
The DB library is a family of groups of functions that |
| |
|
191 |
provides a modular programming interface to transactions and |
| |
|
192 |
record-oriented file access. The library includes support |
| |
|
193 |
for transactions, locking, logging and file page caching, as |
| |
|
194 |
well as various indexed access methods. Many of the |
| |
|
195 |
functional groups (e.g., the file page caching functions) |
| |
|
196 |
are useful independent of the other DB functions, although |
| |
|
197 |
some functional groups are explicitly based on other |
| |
|
198 |
functional groups (e.g., transactions and |
| |
|
199 |
logging). |
| |
|
200 |
|
| |
|
201 |
|
| |
|
202 |
''db_archive''(1), ''db_checkpoint''(1), |
| |
|
203 |
''db_deadlock''(1), ''db_dump''(1), ''db_load''(1), |
| |
|
204 |
''db_recover''(1), ''db_stat''(1), |
| |
|
205 |
---- |