| 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>Chapter 2. The Db Handle</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="index.html" title="Berkeley DB C++ API Reference" /> |
| 11 | <link rel="prev" href="introduction.html" title="Chapter 1. Introduction to Berkeley DB APIs" /> |
| 12 | <link rel="next" href="dbassociate.html" title="Db::associate()" /> |
| 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">Chapter 2. |
| 22 | The Db Handle |
| 23 | </th> |
| 24 | </tr> |
| 25 | <tr> |
| 26 | <td width="20%" align="left"><a accesskey="p" href="introduction.html">Prev</a> </td> |
| 27 | <th width="60%" align="center"> </th> |
| 28 | <td width="20%" align="right"> <a accesskey="n" href="dbassociate.html">Next</a></td> |
| 29 | </tr> |
| 30 | </table> |
| 31 | <hr /> |
| 32 | </div> |
| 33 | <div class="chapter" lang="en" xml:lang="en"> |
| 34 | <div class="titlepage"> |
| 35 | <div> |
| 36 | <div> |
| 37 | <h2 class="title"><a id="db"></a>Chapter 2. |
| 38 | The Db Handle |
| 39 | </h2> |
| 40 | </div> |
| 41 | </div> |
| 42 | </div> |
| 43 | <p> |
| 44 | The Db is the handle for a single Berkeley DB database. A Berkeley DB database |
| 45 | provides a mechanism for organizing key-data pairs of information. From the |
| 46 | perspective of some database systems, a Berkeley DB database could be thought of as |
| 47 | a single table within a larger database. |
| 48 | </p> |
| 49 | <p> |
| 50 | You create a Db handle using the <a class="xref" href="dbcreate.html" title="Db">Db</a> |
| 51 | |
| 52 | <span>constructor.</span> |
| 53 | For most database activities, you must then open the handle using the |
| 54 | <a class="xref" href="dbopen.html" title="Db::open()">Db::open()</a> |
| 55 | method. When you are done with them, handles must be closed using the |
| 56 | <a class="xref" href="dbclose.html" title="Db::close()">Db::close()</a> method. |
| 57 | </p> |
| 58 | <p> |
| 59 | Alternatively, you can create a Db and then rename, remove or verify the database |
| 60 | without performing an open. See <a class="xref" href="dbrename.html" title="Db::rename()">Db::rename()</a>, |
| 61 | <a class="xref" href="dbremove.html" title="Db::remove()">Db::remove()</a> or |
| 62 | <a class="xref" href="dbverify.html" title="Db::verify()">Db::verify()</a> for information on these |
| 63 | activities. |
| 64 | </p> |
| 65 | <p> |
| 66 | It is possible to create databases such that they are organized within a |
| 67 | <span class="emphasis"><em>database environment</em></span>. Environments are optional for simple Berkeley |
| 68 | DB applications that do not use transactions, recovery, replication or any other |
| 69 | advanced features. For simple Berkeley DB applications, environments still offer some |
| 70 | advantages. For example, they provide some organizational |
| 71 | benefits on-disk (all databases are located on disk relative to the environment). Also, |
| 72 | if you are using multiple databases, then environments allow your databases to share a |
| 73 | common in-memory cache, which makes for more efficient usage of your hardware's |
| 74 | resources. |
| 75 | </p> |
| 76 | <p> |
| 77 | See <a class="link" href="env.html" title="Chapter 5. The DbEnv Handle">DbEnv</a> for information on using database |
| 78 | environments. |
| 79 | </p> |
| 80 | <p> |
| 81 | You specify the underlying organization of the data in the database (e.g. BTree, Hash, |
| 82 | Queue, and Recno) when you open the database. When you create a database, |
| 83 | you are free to specify any of the available database types. On subsequent opens, |
| 84 | you must either specify the access method used when you first opened the database, or |
| 85 | you can specify <code class="literal">DB_UNKNOWN</code> in order to have this information |
| 86 | retrieved for you. See the <a class="xref" href="dbopen.html" title="Db::open()">Db::open()</a> |
| 87 | method for information on specifying database types. |
| 88 | </p> |
| 89 | <div class="sect1" lang="en" xml:lang="en"> |
| 90 | <div class="titlepage"> |
| 91 | <div> |
| 92 | <div> |
| 93 | <h2 class="title" style="clear: both"><a id="dblist"></a>Database and Related Methods</h2> |
| 94 | </div> |
| 95 | </div> |
| 96 | </div> |
| 97 | <div class="navtable"> |
| 98 | <table border="1" width="80%"> |
| 99 | <thead> |
| 100 | <tr> |
| 101 | <th>Database Operations</th> |
| 102 | <th>Description</th> |
| 103 | </tr> |
| 104 | </thead> |
| 105 | <tbody> |
| 106 | <tr> |
| 107 | <td> |
| 108 | <a class="xref" href="dbassociate.html" title="Db::associate()">Db::associate()</a> |
| 109 | </td> |
| 110 | <td>Associate a secondary index</td> |
| 111 | </tr> |
| 112 | <tr> |
| 113 | <td> |
| 114 | <a class="xref" href="dbassociate_foreign.html" title="Db::associate_foreign()">Db::associate_foreign()</a> |
| 115 | </td> |
| 116 | <td>Associate a foreign index</td> |
| 117 | </tr> |
| 118 | <tr> |
| 119 | <td> |
| 120 | <a class="xref" href="dbclose.html" title="Db::close()">Db::close()</a> |
| 121 | </td> |
| 122 | <td>Close a database</td> |
| 123 | </tr> |
| 124 | <tr> |
| 125 | <td> |
| 126 | <a class="xref" href="dbcompact.html" title="Db::compact()">Db::compact()</a> |
| 127 | </td> |
| 128 | <td>Compact a database</td> |
| 129 | </tr> |
| 130 | <tr> |
| 131 | <td> |
| 132 | <a class="xref" href="dbcreate.html" title="Db">Db</a> |
| 133 | </td> |
| 134 | <td>Create a database handle</td> |
| 135 | </tr> |
| 136 | <tr> |
| 137 | <td> |
| 138 | <a class="xref" href="dbdel.html" title="Db::del()">Db::del()</a> |
| 139 | </td> |
| 140 | <td>Delete items from a database</td> |
| 141 | </tr> |
| 142 | <tr> |
| 143 | <td> |
| 144 | <a class="xref" href="dberr.html" title="Db::err()">Db::err()</a> |
| 145 | </td> |
| 146 | <td>Error message</td> |
| 147 | </tr> |
| 148 | <tr> |
| 149 | <td> |
| 150 | <a class="xref" href="dbexists.html" title="Db::exists()">Db::exists()</a> |
| 151 | </td> |
| 152 | <td>Return if an item appears in a database</td> |
| 153 | </tr> |
| 154 | <tr> |
| 155 | <td> |
| 156 | <a class="xref" href="dbfd.html" title="Db::fd()">Db::fd()</a> |
| 157 | </td> |
| 158 | <td>Return a file descriptor from a database</td> |
| 159 | </tr> |
| 160 | <tr> |
| 161 | <td> |
| 162 | <a class="xref" href="dbget.html" title="Db::get()">Db::get()</a> |
| 163 | </td> |
| 164 | <td>Get items from a database</td> |
| 165 | </tr> |
| 166 | <tr> |
| 167 | <td> |
| 168 | <a class="xref" href="dbget_byteswapped.html" title="Db::get_byteswapped()">Db::get_byteswapped()</a> |
| 169 | </td> |
| 170 | <td>Return if the underlying database is in host order</td> |
| 171 | </tr> |
| 172 | <tr> |
| 173 | <td> |
| 174 | <a class="xref" href="dbget_dbname.html" title="Db::get_dbname()">Db::get_dbname()</a> |
| 175 | </td> |
| 176 | <td>Return the file and database name</td> |
| 177 | </tr> |
| 178 | <tr> |
| 179 | <td> |
| 180 | <a class="xref" href="dbget_multiple.html" title="Db::get_multiple()">Db::get_multiple()</a> |
| 181 | </td> |
| 182 | <td>Return if the database handle references multiple databases</td> |
| 183 | </tr> |
| 184 | <tr> |
| 185 | <td> |
| 186 | <a class="xref" href="dbget_open_flags.html" title="Db::get_open_flags()">Db::get_open_flags()</a> |
| 187 | </td> |
| 188 | <td>Returns the flags specified to Db::open</td> |
| 189 | </tr> |
| 190 | <tr> |
| 191 | <td> |
| 192 | <a class="xref" href="dbget_type.html" title="Db::get_type()">Db::get_type()</a> |
| 193 | </td> |
| 194 | <td>Return the database type</td> |
| 195 | </tr> |
| 196 | <tr> |
| 197 | <td> |
| 198 | <a class="xref" href="dbjoin.html" title="Db::join()">Db::join()</a> |
| 199 | </td> |
| 200 | <td>Perform a database join on cursors</td> |
| 201 | </tr> |
| 202 | <tr> |
| 203 | <td> |
| 204 | <a class="xref" href="dbkey_range.html" title="Db::key_range()">Db::key_range()</a> |
| 205 | </td> |
| 206 | <td>Return estimate of key location</td> |
| 207 | </tr> |
| 208 | <tr> |
| 209 | <td> |
| 210 | <a class="xref" href="dbopen.html" title="Db::open()">Db::open()</a> |
| 211 | </td> |
| 212 | <td>Open a database</td> |
| 213 | </tr> |
| 214 | <tr> |
| 215 | <td> |
| 216 | <a class="xref" href="dbput.html" title="Db::put()">Db::put()</a> |
| 217 | </td> |
| 218 | <td>Store items into a database</td> |
| 219 | </tr> |
| 220 | <tr> |
| 221 | <td> |
| 222 | <a class="xref" href="dbremove.html" title="Db::remove()">Db::remove()</a> |
| 223 | </td> |
| 224 | <td>Remove a database</td> |
| 225 | </tr> |
| 226 | <tr> |
| 227 | <td> |
| 228 | <a class="xref" href="dbrename.html" title="Db::rename()">Db::rename()</a> |
| 229 | </td> |
| 230 | <td>Rename a database</td> |
| 231 | </tr> |
| 232 | <tr> |
| 233 | <td><a class="xref" href="dbset_priority.html" title="Db::set_priority()">Db::set_priority()</a>, <a class="xref" href="dbget_priority.html" title="Db::get_priority()">Db::get_priority()</a></td> |
| 234 | <td>Set/get cache page priority</td> |
| 235 | </tr> |
| 236 | <tr> |
| 237 | <td> |
| 238 | <a class="xref" href="dbstat.html" title="Db::stat()">Db::stat()</a> |
| 239 | </td> |
| 240 | <td>Database statistics</td> |
| 241 | </tr> |
| 242 | <tr> |
| 243 | <td> |
| 244 | <a class="xref" href="dbstat_print.html" title="Db::stat_print()">Db::stat_print()</a> |
| 245 | </td> |
| 246 | <td>Display database statistics</td> |
| 247 | </tr> |
| 248 | <tr> |
| 249 | <td> |
| 250 | <a class="xref" href="dbsync.html" title="Db::sync()">Db::sync()</a> |
| 251 | </td> |
| 252 | <td>Flush a database to stable storage</td> |
| 253 | </tr> |
| 254 | <tr> |
| 255 | <td> |
| 256 | <a class="xref" href="dbtruncate.html" title="Db::truncate()">Db::truncate()</a> |
| 257 | </td> |
| 258 | <td>Empty a database</td> |
| 259 | </tr> |
| 260 | <tr> |
| 261 | <td> |
| 262 | <a class="xref" href="dbupgrade.html" title="Db::upgrade()">Db::upgrade()</a> |
| 263 | </td> |
| 264 | <td>Upgrade a database</td> |
| 265 | </tr> |
| 266 | <tr> |
| 267 | <td> |
| 268 | <a class="xref" href="dbverify.html" title="Db::verify()">Db::verify()</a> |
| 269 | </td> |
| 270 | <td>Verify/salvage a database</td> |
| 271 | </tr> |
| 272 | <tr> |
| 273 | <td> |
| 274 | <a class="xref" href="dbcursor.html" title="Db::cursor()">Db::cursor()</a> |
| 275 | </td> |
| 276 | <td>Create a cursor handle</td> |
| 277 | </tr> |
| 278 | <tr> |
| 279 | <td colspan="2"> |
| 280 | <span class="bold"> |
| 281 | <strong>Database Configuration</strong> |
| 282 | </span> |
| 283 | </td> |
| 284 | </tr> |
| 285 | <tr> |
| 286 | <td> |
| 287 | <a class="xref" href="dbset_alloc.html" title="Db::set_alloc()">Db::set_alloc()</a> |
| 288 | </td> |
| 289 | <td>Set local space allocation functions</td> |
| 290 | </tr> |
| 291 | <tr> |
| 292 | <td><a class="xref" href="dbset_cachesize.html" title="Db::set_cachesize()">Db::set_cachesize()</a>, <a class="xref" href="dbget_cachesize.html" title="Db::get_cachesize()">Db::get_cachesize()</a></td> |
| 293 | <td>Set/get the database cache size</td> |
| 294 | </tr> |
| 295 | <tr> |
| 296 | <td><a class="xref" href="dbset_create_dir.html" title="Db::set_create_dir()">Db::set_create_dir()</a>, <a class="xref" href="dbget_create_dir.html" title="Db::get_create_dir()">Db::get_create_dir()</a></td> |
| 297 | <td>Set/get the directory in which a database is placed</td> |
| 298 | </tr> |
| 299 | <tr> |
| 300 | <td> |
| 301 | <a class="xref" href="dbset_dup_compare.html" title="Db::set_dup_compare()">Db::set_dup_compare()</a> |
| 302 | </td> |
| 303 | <td>Set a duplicate comparison function</td> |
| 304 | </tr> |
| 305 | <tr> |
| 306 | <td><a class="xref" href="dbset_encrypt.html" title="Db::set_encrypt()">Db::set_encrypt()</a>, <a class="xref" href="dbget_encrypt_flags.html" title="Db::get_encrypt_flags()">Db::get_encrypt_flags()</a></td> |
| 307 | <td>Set/get the database cryptographic key</td> |
| 308 | </tr> |
| 309 | <tr> |
| 310 | <td> |
| 311 | <a class="xref" href="dbset_errcall.html" title="Db::set_errcall()">Db::set_errcall()</a> |
| 312 | </td> |
| 313 | <td>Set error message callback</td> |
| 314 | </tr> |
| 315 | <tr> |
| 316 | <td><a class="xref" href="dbset_errfile.html" title="Db::set_errfile()">Db::set_errfile()</a>, <a class="xref" href="dbget_errfile.html" title="Db::get_errfile()">Db::get_errfile()</a></td> |
| 317 | <td>Set/get error message FILE</td> |
| 318 | </tr> |
| 319 | <tr> |
| 320 | <td> |
| 321 | <a class="xref" href="dbset_error_stream.html" title="Db::set_error_stream()">Db::set_error_stream()</a> |
| 322 | </td> |
| 323 | <td>Set C++ ostream used for error messages</td> |
| 324 | </tr> |
| 325 | <tr> |
| 326 | <td><a class="xref" href="dbset_errpfx.html" title="Db::set_errpfx()">Db::set_errpfx()</a>, <a class="xref" href="dbget_errpfx.html" title="Db::get_errpfx()">Db::get_errpfx()</a></td> |
| 327 | <td>Set/get error message prefix</td> |
| 328 | </tr> |
| 329 | <tr> |
| 330 | <td> |
| 331 | <a class="xref" href="dbset_feedback.html" title="Db::set_feedback()">Db::set_feedback()</a> |
| 332 | </td> |
| 333 | <td>Set feedback callback</td> |
| 334 | </tr> |
| 335 | <tr> |
| 336 | <td><a class="xref" href="dbset_flags.html" title="Db::set_flags()">Db::set_flags()</a>, <a class="xref" href="dbget_flags.html" title="Db::get_flags()">Db::get_flags()</a></td> |
| 337 | <td>Set/get general database configuration</td> |
| 338 | </tr> |
| 339 | <tr> |
| 340 | <td><a class="xref" href="dbset_lk_exclusive.html" title="Db::set_lk_exclusive()">Db::set_lk_exclusive()</a>, <a class="xref" href="dbget_lk_exclusive.html" title="Db::get_lk_exclusive()">Db::get_lk_exclusive()</a></td> |
| 341 | <td>Set/get exclusive database locking</td> |
| 342 | </tr> |
| 343 | <tr> |
| 344 | <td><a class="xref" href="dbset_lorder.html" title="Db::set_lorder()">Db::set_lorder()</a>, <a class="xref" href="dbget_lorder.html" title="Db::get_lorder()">Db::get_lorder()</a></td> |
| 345 | <td>Set/get the database byte order</td> |
| 346 | </tr> |
| 347 | <tr> |
| 348 | <td> |
| 349 | <a class="xref" href="dbset_message_stream.html" title="Db::set_message_stream()">Db::set_message_stream()</a> |
| 350 | </td> |
| 351 | <td>Set C++ ostream used for informational messages</td> |
| 352 | </tr> |
| 353 | <tr> |
| 354 | <td> |
| 355 | <a class="xref" href="dbset_msgcall.html" title="Db::set_msgcall()">Db::set_msgcall()</a> |
| 356 | </td> |
| 357 | <td>Set informational message callback</td> |
| 358 | </tr> |
| 359 | <tr> |
| 360 | <td><a class="xref" href="dbset_msgfile.html" title="Db::set_msgfile()">Db::set_msgfile()</a>, <a class="xref" href="dbget_msgfile.html" title="Db::get_msgfile()">Db::get_msgfile()</a></td> |
| 361 | <td>Set/get informational message FILE</td> |
| 362 | </tr> |
| 363 | <tr> |
| 364 | <td><a class="xref" href="dbset_pagesize.html" title="Db::set_pagesize()">Db::set_pagesize()</a>, <a class="xref" href="dbget_pagesize.html" title="Db::get_pagesize()">Db::get_pagesize()</a></td> |
| 365 | <td>Set/get the underlying database page size</td> |
| 366 | </tr> |
| 367 | <tr> |
| 368 | <td> |
| 369 | <a class="xref" href="dbset_partition.html" title="Db::set_partition()">Db::set_partition()</a> |
| 370 | </td> |
| 371 | <td>Set database partitioning</td> |
| 372 | </tr> |
| 373 | <tr> |
| 374 | <td><a class="xref" href="dbset_partition_dirs.html" title="Db::set_partition_dirs()">Db::set_partition_dirs()</a>, <a class="xref" href="dbget_partition_dirs.html" title="Db::get_partition_dirs()">Db::get_partition_dirs()</a></td> |
| 375 | <td>Set/get the directories used for database partitions</td> |
| 376 | </tr> |
| 377 | <tr> |
| 378 | <td colspan="2"> |
| 379 | <span class="bold"> |
| 380 | <strong>Btree/Recno Configuration</strong> |
| 381 | </span> |
| 382 | </td> |
| 383 | </tr> |
| 384 | <tr> |
| 385 | <td> |
| 386 | <a class="xref" href="dbset_append_recno.html" title="Db::set_append_recno()">Db::set_append_recno()</a> |
| 387 | </td> |
| 388 | <td>Set record append callback</td> |
| 389 | </tr> |
| 390 | <tr> |
| 391 | <td> |
| 392 | <a class="xref" href="dbset_bt_compare.html" title="Db::set_bt_compare()">Db::set_bt_compare()</a> |
| 393 | </td> |
| 394 | <td>Set a Btree comparison function</td> |
| 395 | </tr> |
| 396 | <tr> |
| 397 | <td> |
| 398 | <a class="xref" href="dbset_bt_compress.html" title="Db::set_bt_compress()">Db::set_bt_compress()</a> |
| 399 | </td> |
| 400 | <td>Set Btree compression functions</td> |
| 401 | </tr> |
| 402 | <tr> |
| 403 | <td><a class="xref" href="dbset_bt_minkey.html" title="Db::set_bt_minkey()">Db::set_bt_minkey()</a>, <a class="xref" href="dbget_bt_minkey.html" title="Db::get_bt_minkey()">Db::get_bt_minkey()</a></td> |
| 404 | <td>Set/get the minimum number of keys per Btree page</td> |
| 405 | </tr> |
| 406 | <tr> |
| 407 | <td> |
| 408 | <a class="xref" href="dbset_bt_prefix.html" title="Db::set_bt_prefix()">Db::set_bt_prefix()</a> |
| 409 | </td> |
| 410 | <td>Set a Btree prefix comparison function</td> |
| 411 | </tr> |
| 412 | <tr> |
| 413 | <td><a class="xref" href="dbset_re_delim.html" title="Db::set_re_delim()">Db::set_re_delim()</a>, <a class="xref" href="dbget_re_delim.html" title="Db::get_re_delim()">Db::get_re_delim()</a></td> |
| 414 | <td>Set/get the variable-length record delimiter</td> |
| 415 | </tr> |
| 416 | <tr> |
| 417 | <td><a class="xref" href="dbset_re_len.html" title="Db::set_re_len()">Db::set_re_len()</a>, <a class="xref" href="dbget_re_len.html" title="Db::get_re_len()">Db::get_re_len()</a></td> |
| 418 | <td>Set/get the fixed-length record length</td> |
| 419 | </tr> |
| 420 | <tr> |
| 421 | <td><a class="xref" href="dbset_re_pad.html" title="Db::set_re_pad()">Db::set_re_pad()</a>, <a class="xref" href="dbget_re_pad.html" title="Db::get_re_pad()">Db::get_re_pad()</a></td> |
| 422 | <td>Set/get the fixed-length record pad byte</td> |
| 423 | </tr> |
| 424 | <tr> |
| 425 | <td><a class="xref" href="dbset_re_source.html" title="Db::set_re_source()">Db::set_re_source()</a>, <a class="xref" href="dbget_re_source.html" title="Db::get_re_source()">Db::get_re_source()</a></td> |
| 426 | <td>Set/get the backing Recno text file</td> |
| 427 | </tr> |
| 428 | <tr> |
| 429 | <td colspan="2"> |
| 430 | <span class="bold"> |
| 431 | <strong>Hash Configuration</strong> |
| 432 | </span> |
| 433 | </td> |
| 434 | </tr> |
| 435 | <tr> |
| 436 | <td> |
| 437 | <a class="xref" href="dbset_h_compare.html" title="Db::set_h_compare()">Db::set_h_compare()</a> |
| 438 | </td> |
| 439 | <td>Set a Hash comparison function</td> |
| 440 | </tr> |
| 441 | <tr> |
| 442 | <td><a class="xref" href="dbset_h_ffactor.html" title="Db::set_h_ffactor()">Db::set_h_ffactor()</a>, <a class="xref" href="dbget_h_ffactor.html" title="Db::get_h_ffactor()">Db::get_h_ffactor()</a></td> |
| 443 | <td>Set/get the Hash table density</td> |
| 444 | </tr> |
| 445 | <tr> |
| 446 | <td> |
| 447 | <a class="xref" href="dbset_h_hash.html" title="Db::set_h_hash()">Db::set_h_hash()</a> |
| 448 | </td> |
| 449 | <td>Set a hashing function</td> |
| 450 | </tr> |
| 451 | <tr> |
| 452 | <td><a class="xref" href="dbset_h_nelem.html" title="Db::set_h_nelem()">Db::set_h_nelem()</a>, <a class="xref" href="dbget_h_nelem.html" title="Db::get_h_nelem()">Db::get_h_nelem()</a></td> |
| 453 | <td>Set/get the Hash table size</td> |
| 454 | </tr> |
| 455 | <tr> |
| 456 | <td colspan="2"> |
| 457 | <span class="bold"> |
| 458 | <strong>Queue Configuration</strong> |
| 459 | </span> |
| 460 | </td> |
| 461 | </tr> |
| 462 | <tr> |
| 463 | <td><a class="xref" href="dbset_q_extentsize.html" title="Db::set_q_extentsize()">Db::set_q_extentsize()</a>, <a class="xref" href="dbget_q_extentsize.html" title="Db::get_q_extentsize()">Db::get_q_extentsize()</a></td> |
| 464 | <td>Set/get Queue database extent size</td> |
| 465 | </tr> |
| 466 | <tr> |
| 467 | <td colspan="2"> |
| 468 | <span class="bold"> |
| 469 | <strong>Heap</strong> |
| 470 | </span> |
| 471 | </td> |
| 472 | </tr> |
| 473 | <tr> |
| 474 | <td><a class="xref" href="dbset_heapsize.html" title="Db::set_heapsize()">Db::set_heapsize()</a>, <a class="xref" href="dbget_heapsize.html" title="Db::get_heapsize()">Db::get_heapsize()</a></td> |
| 475 | <td>Set/get the database heap size</td> |
| 476 | </tr> |
| 477 | <tr> |
| 478 | <td><a class="xref" href="dbset_heap_regionsize.html" title="Db::set_heap_regionsize()">Db::set_heap_regionsize()</a>, <a class="xref" href="dbget_heap_regionsize.html" title="Db::get_heap_regionsize()">Db::get_heap_regionsize()</a></td> |
| 479 | <td>Set/get the database region size</td> |
| 480 | </tr> |
| 481 | <tr> |
| 482 | <td> |
| 483 | <a class="xref" href="db_heap_rid.html" title="DbHeapRecordId">DbHeapRecordId</a> |
| 484 | </td> |
| 485 | <td></td> |
| 486 | </tr> |
| 487 | <tr> |
| 488 | <td colspan="2"> |
| 489 | <span class="bold"> |
| 490 | <strong>Database Utilities</strong> |
| 491 | </span> |
| 492 | </td> |
| 493 | </tr> |
| 494 | <tr> |
| 495 | <td> |
| 496 | <a class="xref" href="db_copy.html" title="db_copy">db_copy</a> |
| 497 | </td> |
| 498 | <td>Copy a named database to a target directory</td> |
| 499 | </tr> |
| 500 | </tbody> |
| 501 | </table> |
| 502 | </div> |
| 503 | </div> |
| 504 | </div> |
| 505 | <div class="navfooter"> |
| 506 | <hr /> |
| 507 | <table width="100%" summary="Navigation footer"> |
| 508 | <tr> |
| 509 | <td width="40%" align="left"><a accesskey="p" href="introduction.html">Prev</a> </td> |
| 510 | <td width="20%" align="center"> </td> |
| 511 | <td width="40%" align="right"> <a accesskey="n" href="dbassociate.html">Next</a></td> |
| 512 | </tr> |
| 513 | <tr> |
| 514 | <td width="40%" align="left" valign="top">Chapter 1. Introduction to Berkeley DB APIs </td> |
| 515 | <td width="20%" align="center"> |
| 516 | <a accesskey="h" href="index.html">Home</a> |
| 517 | </td> |
| 518 | <td width="40%" align="right" valign="top"> Db::associate()</td> |
| 519 | </tr> |
| 520 | </table> |
| 521 | </div> |
| 522 | </body> |
| 523 | </html> |