Debian Codegraph @

templates/man3/btree.3.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:20+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
21 #: opensuse-tumbleweed
22 #, no-wrap
23 msgid "btree"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2025-09-21"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. .UC 7
40 #. type: SH
41 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
42 #: opensuse-tumbleweed
43 #, no-wrap
44 msgid "NAME"
45 msgstr ""
46
47 #. type: Plain text
48 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
49 #: opensuse-tumbleweed
50 msgid "btree - btree database access method"
51 msgstr ""
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
55 #: opensuse-tumbleweed
56 #, no-wrap
57 msgid "LIBRARY"
58 msgstr ""
59
60 #. type: Plain text
61 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
62 #: opensuse-tumbleweed
63 msgid "Standard C library (I<libc>,\\ I<-lc>)"
64 msgstr ""
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
68 #: opensuse-tumbleweed
69 #, no-wrap
70 msgid "SYNOPSIS"
71 msgstr ""
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
75 #: opensuse-tumbleweed
76 #, no-wrap
77 msgid ""
78 "B<#include E<lt>sys/types.hE<gt>\n"
79 "#include E<lt>db.hE<gt>>\n"
80 msgstr ""
81
82 #. type: SH
83 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
84 #: opensuse-tumbleweed
85 #, no-wrap
86 msgid "DESCRIPTION"
87 msgstr ""
88
89 #. type: Plain text
90 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
91 #: opensuse-tumbleweed
92 msgid ""
93 "I<Note well>: This page documents interfaces provided up until glibc 2.1. "
94 "Since glibc 2.2, glibc no longer provides these interfaces. Probably, you "
95 "are looking for the APIs provided by the I<libdb> library instead."
96 msgstr ""
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
100 #: opensuse-tumbleweed
101 msgid ""
102 "The routine B<dbopen>(3) is the library interface to database files. One "
103 "of the supported file formats is btree files. The general description of "
104 "the database access methods is in B<dbopen>(3), this manual page describes "
105 "only the btree-specific information."
106 msgstr ""
107
108 #. type: Plain text
109 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
110 #: opensuse-tumbleweed
111 msgid ""
112 "The btree data structure is a sorted, balanced tree structure storing "
113 "associated key/data pairs."
114 msgstr ""
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
118 #: opensuse-tumbleweed
119 msgid ""
120 "The btree access-method-specific data structure provided to B<dbopen>(3) is "
121 "defined in the I<E<lt>db.hE<gt>> include file as follows:"
122 msgstr ""
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
126 #: opensuse-tumbleweed
127 #, no-wrap
128 msgid ""
129 "typedef struct {\n"
130 " unsigned long flags;\n"
131 " unsigned int cachesize;\n"
132 " int maxkeypage;\n"
133 " int minkeypage;\n"
134 " unsigned int psize;\n"
135 " int (*compare)(const DBT *key1, const DBT *key2);\n"
136 " size_t (*prefix)(const DBT *key1, const DBT *key2);\n"
137 " int lorder;\n"
138 "} BTREEINFO;\n"
139 msgstr ""
140
141 #. type: Plain text
142 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
143 #: opensuse-tumbleweed
144 msgid "The elements of this structure are as follows:"
145 msgstr ""
146
147 #. type: TP
148 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
149 #: opensuse-tumbleweed
150 #, no-wrap
151 msgid "I<flags>"
152 msgstr ""
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
156 #: opensuse-tumbleweed
157 msgid "The flag value is specified by ORing any of the following values:"
158 msgstr ""
159
160 #. type: TP
161 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
162 #: opensuse-tumbleweed
163 #, no-wrap
164 msgid "B<R_DUP>"
165 msgstr ""
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
169 #: opensuse-tumbleweed
170 msgid ""
171 "Permit duplicate keys in the tree, that is, permit insertion if the key to "
172 "be inserted already exists in the tree. The default behavior, as described "
173 "in B<dbopen>(3), is to overwrite a matching key when inserting a new key or "
174 "to fail if the B<R_NOOVERWRITE> flag is specified. The B<R_DUP> flag is "
175 "overridden by the B<R_NOOVERWRITE> flag, and if the B<R_NOOVERWRITE> flag is "
176 "specified, attempts to insert duplicate keys into the tree will fail."
177 msgstr ""
178
179 #. type: Plain text
180 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
181 #: opensuse-tumbleweed
182 msgid ""
183 "If the database contains duplicate keys, the order of retrieval of key/data "
184 "pairs is undefined if the I<get> routine is used, however, I<seq> routine "
185 "calls with the B<R_CURSOR> flag set will always return the logical \"first\" "
186 "of any group of duplicate keys."
187 msgstr ""
188
189 #. type: TP
190 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
191 #: opensuse-tumbleweed
192 #, no-wrap
193 msgid "I<cachesize>"
194 msgstr ""
195
196 #. type: Plain text
197 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
198 #: opensuse-tumbleweed
199 msgid ""
200 "A suggested maximum size (in bytes) of the memory cache. This value is "
201 "I<only> advisory, and the access method will allocate more memory rather "
202 "than fail. Since every search examines the root page of the tree, caching "
203 "the most recently used pages substantially improves access time. In "
204 "addition, physical writes are delayed as long as possible, so a moderate "
205 "cache can reduce the number of I/O operations significantly. Obviously, "
206 "using a cache increases (but only increases) the likelihood of corruption or "
207 "lost data if the system crashes while a tree is being modified. If "
208 "I<cachesize> is 0 (no size is specified), a default cache is used."
209 msgstr ""
210
211 #. type: TP
212 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
213 #: opensuse-tumbleweed
214 #, no-wrap
215 msgid "I<maxkeypage>"
216 msgstr ""
217
218 #. The maximum number of keys which will be stored on any single page.
219 #. Because of the way the btree data structure works,
220 #. .I maxkeypage
221 #. must always be greater than or equal to 2.
222 #. If
223 #. .I maxkeypage
224 #. is 0 (no maximum number of keys is specified), the page fill factor is
225 #. made as large as possible (which is almost invariably what is wanted).
226 #. type: Plain text
227 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
228 #: opensuse-tumbleweed
229 msgid ""
230 "The maximum number of keys which will be stored on any single page. Not "
231 "currently implemented."
232 msgstr ""
233
234 #. type: TP
235 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
236 #: opensuse-tumbleweed
237 #, no-wrap
238 msgid "I<minkeypage>"
239 msgstr ""
240
241 #. type: Plain text
242 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
243 #: opensuse-tumbleweed
244 msgid ""
245 "The minimum number of keys which will be stored on any single page. This "
246 "value is used to determine which keys will be stored on overflow pages, that "
247 "is, if a key or data item is longer than the pagesize divided by the "
248 "minkeypage value, it will be stored on overflow pages instead of in the page "
249 "itself. If I<minkeypage> is 0 (no minimum number of keys is specified), a "
250 "value of 2 is used."
251 msgstr ""
252
253 #. type: TP
254 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
255 #: opensuse-tumbleweed
256 #, no-wrap
257 msgid "I<psize>"
258 msgstr ""
259
260 #. type: Plain text
261 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
262 #: opensuse-tumbleweed
263 msgid ""
264 "Page size is the size (in bytes) of the pages used for nodes in the tree. "
265 "The minimum page size is 512 bytes and the maximum page size is 64\\ KiB. "
266 "If I<psize> is 0 (no page size is specified), a page size is chosen based on "
267 "the underlying filesystem I/O block size."
268 msgstr ""
269
270 #. type: TP
271 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
272 #: opensuse-tumbleweed
273 #, no-wrap
274 msgid "I<compare>"
275 msgstr ""
276
277 #. type: Plain text
278 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
279 #: opensuse-tumbleweed
280 msgid ""
281 "Compare is the key comparison function. It must return an integer less "
282 "than, equal to, or greater than zero if the first key argument is considered "
283 "to be respectively less than, equal to, or greater than the second key "
284 "argument. The same comparison function must be used on a given tree every "
285 "time it is opened. If I<compare> is NULL (no comparison function is "
286 "specified), the keys are compared lexically, with shorter keys considered "
287 "less than longer keys."
288 msgstr ""
289
290 #. type: TP
291 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
292 #: opensuse-tumbleweed
293 #, no-wrap
294 msgid "I<prefix>"
295 msgstr ""
296
297 #. type: Plain text
298 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
299 #: opensuse-tumbleweed
300 msgid ""
301 "Prefix is the prefix comparison function. If specified, this routine must "
302 "return the number of bytes of the second key argument which are necessary to "
303 "determine that it is greater than the first key argument. If the keys are "
304 "equal, the key length should be returned. Note, the usefulness of this "
305 "routine is very data-dependent, but, in some data sets can produce "
306 "significantly reduced tree sizes and search times. If I<prefix> is NULL (no "
307 "prefix function is specified), I<and> no comparison function is specified, a "
308 "default lexical comparison routine is used. If I<prefix> is NULL and a "
309 "comparison routine is specified, no prefix comparison is done."
310 msgstr ""
311
312 #. type: TP
313 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
314 #: opensuse-tumbleweed
315 #, no-wrap
316 msgid "I<lorder>"
317 msgstr ""
318
319 #. type: Plain text
320 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
321 #: opensuse-tumbleweed
322 msgid ""
323 "The byte order for integers in the stored database metadata. The number "
324 "should represent the order as an integer; for example, big endian order "
325 "would be the number 4,321. If I<lorder> is 0 (no order is specified), the "
326 "current host order is used."
327 msgstr ""
328
329 #. type: Plain text
330 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
331 #: opensuse-tumbleweed
332 msgid ""
333 "If the file already exists (and the B<O_TRUNC> flag is not specified), the "
334 "values specified for the arguments I<flags>, I<lorder>, and I<psize> are "
335 "ignored in favor of the values used when the tree was created."
336 msgstr ""
337
338 #. type: Plain text
339 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
340 #: opensuse-tumbleweed
341 msgid ""
342 "Forward sequential scans of a tree are from the least key to the greatest."
343 msgstr ""
344
345 #. type: Plain text
346 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
347 #: opensuse-tumbleweed
348 msgid ""
349 "Space freed up by deleting key/data pairs from the tree is never reclaimed, "
350 "although it is normally made available for reuse. This means that the btree "
351 "storage structure is grow-only. The only solutions are to avoid excessive "
352 "deletions, or to create a fresh tree periodically from a scan of an existing "
353 "one."
354 msgstr ""
355
356 #. type: Plain text
357 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
358 #: opensuse-tumbleweed
359 msgid ""
360 "Searches, insertions, and deletions in a btree will all complete in O lg "
361 "base N where base is the average fill factor. Often, inserting ordered data "
362 "into btrees results in a low fill factor. This implementation has been "
363 "modified to make ordered insertion the best case, resulting in a much better "
364 "than normal page fill factor."
365 msgstr ""
366
367 #. type: SH
368 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
369 #: opensuse-tumbleweed
370 #, no-wrap
371 msgid "ERRORS"
372 msgstr ""
373
374 #. type: Plain text
375 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
376 #: opensuse-tumbleweed
377 msgid ""
378 "The I<btree> access method routines may fail and set I<errno> for any of the "
379 "errors specified for the library routine B<dbopen>(3)."
380 msgstr ""
381
382 #. type: SH
383 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
384 #: opensuse-tumbleweed
385 #, no-wrap
386 msgid "BUGS"
387 msgstr ""
388
389 #. type: Plain text
390 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
391 #: opensuse-tumbleweed
392 msgid "Only big and little endian byte order is supported."
393 msgstr ""
394
395 #. type: SH
396 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
397 #: opensuse-tumbleweed
398 #, no-wrap
399 msgid "SEE ALSO"
400 msgstr ""
401
402 #. type: Plain text
403 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
404 #: opensuse-tumbleweed
405 msgid "B<dbopen>(3), B<hash>(3), B<mpool>(3), B<recno>(3)"
406 msgstr ""
407
408 #. type: Plain text
409 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
410 #: opensuse-tumbleweed
411 msgid ""
412 "I<The Ubiquitous B-tree>, Douglas Comer, ACM Comput.\\& Surv.\\& 11, 2 (June "
413 "1979), 121-138."
414 msgstr ""
415
416 #. type: Plain text
417 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
418 #: opensuse-tumbleweed
419 msgid ""
420 "I<Prefix B-trees>, Bayer and Unterauer, ACM Transactions on Database "
421 "Systems, Vol.\\& 2, 1 (March 1977), 11-26."
422 msgstr ""
423
424 #. type: Plain text
425 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
426 #: opensuse-tumbleweed
427 msgid ""
428 "I<The Art of Computer Programming Vol.\\& 3: Sorting and Searching>, D.E.\\& "
429 "Knuth, 1968, pp 471-480."
430 msgstr ""
431
432 #. type: TH
433 #: debian-trixie
434 #, no-wrap
435 msgid "2024-05-02"
436 msgstr ""
437
438 #. type: TH
439 #: debian-trixie
440 #, no-wrap
441 msgid "Linux man-pages 6.9.1"
442 msgstr ""
443
444 #. type: Plain text
445 #: debian-trixie
446 msgid "Standard C library (I<libc>, I<-lc>)"
447 msgstr ""
448
449 #. type: Plain text
450 #: debian-trixie
451 msgid ""
452 "I<The Ubiquitous B-tree>, Douglas Comer, ACM Comput. Surv. 11, 2 (June "
453 "1979), 121-138."
454 msgstr ""
455
456 #. type: Plain text
457 #: debian-trixie
458 msgid ""
459 "I<Prefix B-trees>, Bayer and Unterauer, ACM Transactions on Database "
460 "Systems, Vol. 2, 1 (March 1977), 11-26."
461 msgstr ""
462
463 #. type: Plain text
464 #: debian-trixie
465 msgid ""
466 "I<The Art of Computer Programming Vol. 3: Sorting and Searching>, D.E. "
467 "Knuth, 1968, pp 471-480."
468 msgstr ""
469
470 #. type: TH
471 #: mageia-cauldron
472 #, no-wrap
473 msgid "Linux man-pages 6.17"
474 msgstr ""
475
476 #. type: TH
477 #: opensuse-leap-16-1 opensuse-tumbleweed
478 #, no-wrap
479 msgid "Linux man-pages (unreleased)"
480 msgstr ""