| 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>Appendix D. DB_CONFIG Parameter Reference</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="db_env_set_func_yield.html" title="db_env_set_func_yield" /> |
| 12 | <link rel="next" href="add_data_dir_parameter.html" title="add_data_dir" /> |
| 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">Appendix D. DB_CONFIG Parameter Reference</th> |
| 22 | </tr> |
| 23 | <tr> |
| 24 | <td width="20%" align="left"><a accesskey="p" href="db_env_set_func_yield.html">Prev</a> </td> |
| 25 | <th width="60%" align="center"> </th> |
| 26 | <td width="20%" align="right"> <a accesskey="n" href="add_data_dir_parameter.html">Next</a></td> |
| 27 | </tr> |
| 28 | </table> |
| 29 | <hr /> |
| 30 | </div> |
| 31 | <div class="appendix" lang="en" xml:lang="en"> |
| 32 | <div class="titlepage"> |
| 33 | <div> |
| 34 | <div> |
| 35 | <h2 class="title"><a id="configuration_reference"></a>Appendix D. DB_CONFIG Parameter Reference</h2> |
| 36 | </div> |
| 37 | </div> |
| 38 | </div> |
| 39 | <p> |
| 40 | The following <code class="literal">DB_CONFIG</code> parameters can be used to |
| 41 | manage various aspects of your application's database |
| 42 | environment. |
| 43 | </p> |
| 44 | <div class="sect1" lang="en" xml:lang="en"> |
| 45 | <div class="titlepage"> |
| 46 | <div> |
| 47 | <div> |
| 48 | <h2 class="title" style="clear: both"><a id="configlist"></a>DB_CONFIG Parameters</h2> |
| 49 | </div> |
| 50 | </div> |
| 51 | </div> |
| 52 | <div class="navtable"> |
| 53 | <table border="1" width="80%"> |
| 54 | <thead> |
| 55 | <tr> |
| 56 | <th>DB_CONFIG Parameters</th> |
| 57 | <th>Description</th> |
| 58 | </tr> |
| 59 | </thead> |
| 60 | <tbody> |
| 61 | <tr> |
| 62 | <td> |
| 63 | <a class="xref" href="add_data_dir_parameter.html" title="add_data_dir">add_data_dir</a> |
| 64 | </td> |
| 65 | <td>Sets the mutex alignment.</td> |
| 66 | </tr> |
| 67 | <tr> |
| 68 | <td> |
| 69 | <a class="xref" href="mutex_set_align_parameter.html" title="mutex_set_align">mutex_set_align</a> |
| 70 | </td> |
| 71 | <td>Sets the mutex alignment.</td> |
| 72 | </tr> |
| 73 | <tr> |
| 74 | <td> |
| 75 | <a class="xref" href="mutex_set_increment_parameter.html" title="mutex_set_increment">mutex_set_increment</a> |
| 76 | </td> |
| 77 | <td>Configures the number of additional mutexes to allocate.</td> |
| 78 | </tr> |
| 79 | <tr> |
| 80 | <td> |
| 81 | <a class="xref" href="mutex_set_max_parameter.html" title="mutex_set_max">mutex_set_max</a> |
| 82 | </td> |
| 83 | <td>Configures the total number of mutexes to allocate.</td> |
| 84 | </tr> |
| 85 | <tr> |
| 86 | <td> |
| 87 | <a class="xref" href="mutex_set_tas_spins_parameter.html" title="mutex_set_tas_spins">mutex_set_tas_spins</a> |
| 88 | </td> |
| 89 | <td>Specifies the number of times the test-and-set mutexes should spin without blocking.</td> |
| 90 | </tr> |
| 91 | <tr> |
| 92 | <td> |
| 93 | <a class="xref" href="rep_set_clockskew_parameter.html" title="rep_set_clockskew">rep_set_clockskew</a> |
| 94 | </td> |
| 95 | <td>Sets the clock skew ratio.</td> |
| 96 | </tr> |
| 97 | <tr> |
| 98 | <td> |
| 99 | <a class="xref" href="rep_set_config_parameter.html" title="rep_set_config">rep_set_config</a> |
| 100 | </td> |
| 101 | <td>Configures the Berkeley DB replication subsystem.</td> |
| 102 | </tr> |
| 103 | <tr> |
| 104 | <td> |
| 105 | <a class="xref" href="rep_set_limit_parameter.html" title="rep_set_limit">rep_set_limit</a> |
| 106 | </td> |
| 107 | <td>Sets record transmission throttling.</td> |
| 108 | </tr> |
| 109 | <tr> |
| 110 | <td> |
| 111 | <a class="xref" href="rep_set_nsites_parameter.html" title="rep_set_nsites">rep_set_nsites</a> |
| 112 | </td> |
| 113 | <td>Specifies the total number of sites in a replication group.</td> |
| 114 | </tr> |
| 115 | <tr> |
| 116 | <td> |
| 117 | <a class="xref" href="rep_set_priority_parameter.html" title="rep_set_priority">rep_set_priority</a> |
| 118 | </td> |
| 119 | <td>Specifies the database environment's priority.</td> |
| 120 | </tr> |
| 121 | <tr> |
| 122 | <td> |
| 123 | <a class="xref" href="rep_set_request_parameter.html" title="rep_set_request">rep_set_request</a> |
| 124 | </td> |
| 125 | <td>Sets a threshold before requesting retransmission of a missing message.</td> |
| 126 | </tr> |
| 127 | <tr> |
| 128 | <td> |
| 129 | <a class="xref" href="rep_set_timeout_parameter.html" title="rep_set_timeout">rep_set_timeout</a> |
| 130 | </td> |
| 131 | <td>Specifies a variety of replication timeout values.</td> |
| 132 | </tr> |
| 133 | <tr> |
| 134 | <td> |
| 135 | <a class="xref" href="repmgr_set_ack_policy_parameter.html" title="repmgr_set_ack_policy">repmgr_set_ack_policy</a> |
| 136 | </td> |
| 137 | <td>Specifies how master and client sites will handle acknowledgment.</td> |
| 138 | </tr> |
| 139 | <tr> |
| 140 | <td> |
| 141 | <a class="xref" href="repmgr_site_parameter.html" title="repmgr_site">repmgr_site</a> |
| 142 | </td> |
| 143 | <td>Identifies a Replication Manager host.</td> |
| 144 | </tr> |
| 145 | <tr> |
| 146 | <td> |
| 147 | <a class="xref" href="set_cachesize_parameter.html" title="set_cachesize">set_cachesize</a> |
| 148 | </td> |
| 149 | <td>Sets the size of the shared memory buffer pool.</td> |
| 150 | </tr> |
| 151 | <tr> |
| 152 | <td> |
| 153 | <a class="xref" href="set_cache_max_parameter.html" title="set_cache_max">set_cache_max</a> |
| 154 | </td> |
| 155 | <td>Sets the maximum size for set_cachesize parameter.</td> |
| 156 | </tr> |
| 157 | <tr> |
| 158 | <td> |
| 159 | <a class="xref" href="set_create_dir_parameter.html" title="set_create_dir">set_create_dir</a> |
| 160 | </td> |
| 161 | <td>Sets the directory path to create the access method database files.</td> |
| 162 | </tr> |
| 163 | <tr> |
| 164 | <td> |
| 165 | <a class="xref" href="set_data_len_parameter.html" title="set_data_len">set_data_len</a> |
| 166 | </td> |
| 167 | <td>Sets the maximum number of bytes displayed by some utilities.</td> |
| 168 | </tr> |
| 169 | <tr> |
| 170 | <td> |
| 171 | <a class="xref" href="set_flags_parameter.html" title="set_flags">set_flags</a> |
| 172 | </td> |
| 173 | <td>Configures a database environment.</td> |
| 174 | </tr> |
| 175 | <tr> |
| 176 | <td> |
| 177 | <a class="xref" href="set_intermediate_dir_mode_parameter.html" title="set_intermediate_dir_mode">set_intermediate_dir_mode</a> |
| 178 | </td> |
| 179 | <td>Configures the directory permissions. </td> |
| 180 | </tr> |
| 181 | <tr> |
| 182 | <td> |
| 183 | <a class="xref" href="set_lg_bsize_parameter.html" title="set_lg_bsize">set_lg_bsize</a> |
| 184 | </td> |
| 185 | <td>Sets the size of the in-memory log buffer.</td> |
| 186 | </tr> |
| 187 | <tr> |
| 188 | <td> |
| 189 | <a class="xref" href="set_lg_dir_parameter.html" title="set_lg_dir">set_lg_dir</a> |
| 190 | </td> |
| 191 | <td>Sets the path of the directory for logging files.</td> |
| 192 | </tr> |
| 193 | <tr> |
| 194 | <td> |
| 195 | <a class="xref" href="set_lg_filemode_parameter.html" title="set_lg_filemode">set_lg_filemode</a> |
| 196 | </td> |
| 197 | <td>Sets the absolute file mode for created log files.</td> |
| 198 | </tr> |
| 199 | <tr> |
| 200 | <td> |
| 201 | <a class="xref" href="set_lg_max_parameter.html" title="set_lg_max">set_lg_max</a> |
| 202 | </td> |
| 203 | <td>Sets the maximum size of a single file in the log.</td> |
| 204 | </tr> |
| 205 | <tr> |
| 206 | <td> |
| 207 | <a class="xref" href="set_lg_regionmax_parameter.html" title="set_lg_regionmax">set_lg_regionmax</a> |
| 208 | </td> |
| 209 | <td>Sets the size of the underlying logging area.</td> |
| 210 | </tr> |
| 211 | <tr> |
| 212 | <td> |
| 213 | <a class="xref" href="set_lk_detect_parameter.html" title="set_lk_detect">set_lk_detect</a> |
| 214 | </td> |
| 215 | <td>Sets the maximum number of locking entities.</td> |
| 216 | </tr> |
| 217 | <tr> |
| 218 | <td> |
| 219 | <a class="xref" href="set_lk_max_lockers_parameter.html" title="set_lk_max_lockers">set_lk_max_lockers</a> |
| 220 | </td> |
| 221 | <td>Sets the maximum number of locking entities.</td> |
| 222 | </tr> |
| 223 | <tr> |
| 224 | <td> |
| 225 | <a class="xref" href="set_lk_max_locks_parameter.html" title="set_lk_max_locks">set_lk_max_locks</a> |
| 226 | </td> |
| 227 | <td>Sets the maximum number of locks supported by the Berkeley DB environment.</td> |
| 228 | </tr> |
| 229 | <tr> |
| 230 | <td> |
| 231 | <a class="xref" href="set_lk_max_objects_parameter.html" title="set_lk_max_objects">set_lk_max_objects</a> |
| 232 | </td> |
| 233 | <td>Sets the maximum number of locked objects.</td> |
| 234 | </tr> |
| 235 | <tr> |
| 236 | <td> |
| 237 | <a class="xref" href="set_lk_partitions_parameter.html" title="set_lk_partitions">set_lk_partitions</a> |
| 238 | </td> |
| 239 | <td>Sets the number of lock table partitions in the Berkeley DB environment. </td> |
| 240 | </tr> |
| 241 | <tr> |
| 242 | <td> |
| 243 | <a class="xref" href="log_set_config_parameter.html" title="log_set_config">log_set_config</a> |
| 244 | </td> |
| 245 | <td>Configures the Berkeley DB logging subsystem.</td> |
| 246 | </tr> |
| 247 | <tr> |
| 248 | <td> |
| 249 | <a class="xref" href="set_mp_max_openfd_parameter.html" title="set_mp_max_openfd">set_mp_max_openfd</a> |
| 250 | </td> |
| 251 | <td>Limits the number of file descriptors the library will open concurrently when flushing dirty pages from the cache.</td> |
| 252 | </tr> |
| 253 | <tr> |
| 254 | <td> |
| 255 | <a class="xref" href="set_mp_max_write_parameter.html" title="set_mp_max_write">set_mp_max_write</a> |
| 256 | </td> |
| 257 | <td>Limits the number of sequential write operations</td> |
| 258 | </tr> |
| 259 | <tr> |
| 260 | <td> |
| 261 | <a class="xref" href="set_mp_mmapsize_parameter.html" title="set_mp_mmapsize">set_mp_mmapsize</a> |
| 262 | </td> |
| 263 | <td>Sets the maximum file size.</td> |
| 264 | </tr> |
| 265 | <tr> |
| 266 | <td> |
| 267 | <a class="xref" href="set_open_flags_parameter.html" title="set_open_flags">set_open_flags</a> |
| 268 | </td> |
| 269 | <td>Initializes specific subsystems of the Berkeley DB environment.</td> |
| 270 | </tr> |
| 271 | <tr> |
| 272 | <td> |
| 273 | <a class="xref" href="set_shm_key_parameter.html" title="set_shm_key">set_shm_key</a> |
| 274 | </td> |
| 275 | <td>Configures the database environment's base segment ID.</td> |
| 276 | </tr> |
| 277 | <tr> |
| 278 | <td> |
| 279 | <a class="xref" href="set_thread_count_parameter.html" title="set_thread_count">set_thread_count</a> |
| 280 | </td> |
| 281 | <td>Declares an approximate number of threads in the database environment.</td> |
| 282 | </tr> |
| 283 | <tr> |
| 284 | <td> |
| 285 | <a class="xref" href="set_timeout_parameter.html" title="set_timeout">set_timeout</a> |
| 286 | </td> |
| 287 | <td>Sets timeout values for locks or transactions.</td> |
| 288 | </tr> |
| 289 | <tr> |
| 290 | <td> |
| 291 | <a class="xref" href="set_tmp_dir_parameter.html" title="set_tmp_dir">set_tmp_dir</a> |
| 292 | </td> |
| 293 | <td>Specifies the directory path of temporary files. </td> |
| 294 | </tr> |
| 295 | <tr> |
| 296 | <td> |
| 297 | <a class="xref" href="set_tx_max_parameter.html" title="set_tx_max">set_tx_max</a> |
| 298 | </td> |
| 299 | <td>Configures support of simultaneously active transactions. </td> |
| 300 | </tr> |
| 301 | <tr> |
| 302 | <td> |
| 303 | <a class="xref" href="set_verbose_parameter.html" title="set_verbose">set_verbose</a> |
| 304 | </td> |
| 305 | <td>Enables/disables the Berkeley DB message output.</td> |
| 306 | </tr> |
| 307 | </tbody> |
| 308 | </table> |
| 309 | </div> |
| 310 | </div> |
| 311 | </div> |
| 312 | <div class="navfooter"> |
| 313 | <hr /> |
| 314 | <table width="100%" summary="Navigation footer"> |
| 315 | <tr> |
| 316 | <td width="40%" align="left"><a accesskey="p" href="db_env_set_func_yield.html">Prev</a> </td> |
| 317 | <td width="20%" align="center"> </td> |
| 318 | <td width="40%" align="right"> <a accesskey="n" href="add_data_dir_parameter.html">Next</a></td> |
| 319 | </tr> |
| 320 | <tr> |
| 321 | <td width="40%" align="left" valign="top">db_env_set_func_yield </td> |
| 322 | <td width="20%" align="center"> |
| 323 | <a accesskey="h" href="index.html">Home</a> |
| 324 | </td> |
| 325 | <td width="40%" align="right" valign="top"> add_data_dir</td> |
| 326 | </tr> |
| 327 | </table> |
| 328 | </div> |
| 329 | </body> |
| 330 | </html> |