| 1 |
db_env_create |
| 2 |
DB_CXX_NO_EXCEPTIONS # C++: return error values |
| 3 |
|
| 4 |
DbEnv.backup |
| 5 |
# Remove all files from the target directory tree first. |
| 6 |
DB_BACKUP_CLEAN |
| 7 |
DB_BACKUP_FILES # Copy plain files too. |
| 8 |
DB_BACKUP_NO_LOGS # Don't backup log files. |
| 9 |
DB_BACKUP_SINGLE_DIR # All files go to a single directory. |
| 10 |
DB_BACKUP_UPDATE # Incremental backup. |
| 11 |
DB_CREATE # Create the target directories. |
| 12 |
DB_EXCL # Error if a target file exists. |
| 13 |
|
| 14 |
DbEnv.close |
| 15 |
# Sync database when automatically closing its db handles. |
| 16 |
DB_FORCESYNC |
| 17 |
|
| 18 |
DbEnv.dbremove |
| 19 |
DB_AUTO_COMMIT # Implied transaction |
| 20 |
DB_LOG_NO_DATA # UNDOC: Don't log the data. |
| 21 |
DB_NOSYNC # UNDOC: Don't sync for a subdb remove |
| 22 |
DB_TXN_NOT_DURABLE # UNDOC: Don't log the remove |
| 23 |
|
| 24 |
DbEnv.dbrename |
| 25 |
DB_AUTO_COMMIT # Implied transaction |
| 26 |
DB_NOSYNC # Don't sync for a subdb rename |
| 27 |
|
| 28 |
DbEnv.fileid_reset |
| 29 |
DB_ENCRYPT # File contains encrypted databases |
| 30 |
|
| 31 |
DbEnv.log_verify |
| 32 |
DB_LOG_VERIFY_ERR # Verify failed. |
| 33 |
DB_LOG_VERIFY_CAF # Continue after a failed check. |
| 34 |
# Not the entire logs are verified, due to user specified log range, |
| 35 |
# archiving, or other reasons. Only part of the entire logs verified. |
| 36 |
DB_LOG_VERIFY_PARTIAL |
| 37 |
DB_LOG_VERIFY_DBFILE # Verify only logs of one db file. |
| 38 |
# Pre-scan log from last to first record to get aborts and timestamps. |
| 39 |
DB_LOG_VERIFY_FORWARD |
| 40 |
DB_LOG_VERIFY_INTERR # Got internal error during verify. |
| 41 |
DB_LOG_VERIFY_WARNING # Got warnings during verify. |
| 42 |
DB_LOG_VERIFY_VERBOSE # Output verbose information. |
| 43 |
|
| 44 |
DbEnv.open |
| 45 |
DB_CREATE # Create as necessary |
| 46 |
DB_FAILCHK # Run failchk on open |
| 47 |
DB_FAILCHK_ISALIVE # UNDOC: failchk with isalive, for SQL |
| 48 |
DB_INIT_CDB # Concurrent Access Methods |
| 49 |
DB_INIT_LOCK # Initialize locking |
| 50 |
DB_INIT_LOG # Initialize logging |
| 51 |
DB_INIT_MPOOL # Initialize mpool |
| 52 |
DB_INIT_MUTEX # Initialize mutex |
| 53 |
DB_INIT_REP # Initialize replication |
| 54 |
DB_INIT_TXN # Initialize transactions |
| 55 |
DB_LOCKDOWN # Lock memory into physical core |
| 56 |
DB_NO_CHECKPOINT # UNDOC: Recover but do not checkpoint |
| 57 |
DB_PRIVATE # DB_ENV is process local |
| 58 |
DB_RECOVER # Run normal recovery |
| 59 |
DB_RECOVER_FATAL # Run catastrophic recovery |
| 60 |
DB_REGISTER # Multi-process registry |
| 61 |
DB_SYSTEM_MEM # Use system-backed memory |
| 62 |
DB_THREAD # Handle is free-threaded |
| 63 |
DB_USE_ENVIRON # Use the environment |
| 64 |
DB_USE_ENVIRON_ROOT # Use the environment if root |
| 65 |
|
| 66 |
DbEnv.lock_stat |
| 67 |
DB_STAT_CLEAR # Clear stats after return |
| 68 |
|
| 69 |
DbEnv.lock_stat_print |
| 70 |
DB_STAT_ALL # Everything |
| 71 |
DB_STAT_ALLOC # Print allocation information |
| 72 |
DB_STAT_CLEAR # Clear stats after return |
| 73 |
DB_STAT_LOCK_CONF # Print lock conflict matrix |
| 74 |
DB_STAT_LOCK_LOCKERS # Print lockers |
| 75 |
DB_STAT_LOCK_OBJECTS # Print lock objects |
| 76 |
DB_STAT_LOCK_PARAMS # Print lock parameters |
| 77 |
DB_STAT_SUBSYSTEM # Print subsystems |
| 78 |
|
| 79 |
DbEnv.lock_vec |
| 80 |
DB_LOCK_CHECK # UNDOC: check for a lock |
| 81 |
DB_LOCK_IGNORE_REC # UNDOC: get lock during recovery |
| 82 |
DB_LOCK_NOWAIT # Don't wait for an unavailable lock |
| 83 |
DB_LOCK_RECORD # UNDOC: record lock |
| 84 |
DB_LOCK_SET_TIMEOUT # UNDOC: set lock timeout |
| 85 |
DB_LOCK_SWITCH # UNDOC: switch existing lock |
| 86 |
DB_LOCK_UPGRADE # UNDOC: upgrade existing lock |
| 87 |
|
| 88 |
DbEnv.log_archive |
| 89 |
DB_ARCH_ABS # Absolute pathnames |
| 90 |
DB_ARCH_DATA # Data files |
| 91 |
DB_ARCH_LOG # Log files |
| 92 |
DB_ARCH_REMOVE # Remove log files |
| 93 |
|
| 94 |
DbEnv.log_put |
| 95 |
DB_FLUSH # Flush data to disk |
| 96 |
DB_LOG_CHKPNT # UNDOC: Flush supports a checkpoint |
| 97 |
DB_LOG_COMMIT # UNDOC: Flush supports a commit |
| 98 |
DB_LOG_NOCOPY # UNDOC: Don't copy data |
| 99 |
DB_LOG_NOT_DURABLE # UNDOC: Do not log; keep in memory |
| 100 |
DB_LOG_WRNOSYNC # UNDOC: Write, don't sync log_put |
| 101 |
|
| 102 |
DbEnv.log_set_config |
| 103 |
DB_LOG_DIRECT # Don't buffer log files in the OS |
| 104 |
DB_LOG_DSYNC # Set O_DSYNC on the log |
| 105 |
DB_LOG_AUTO_REMOVE # Automatically remove log files |
| 106 |
DB_LOG_IN_MEMORY # Store logs in buffers in memory |
| 107 |
DB_LOG_ZERO # Zero log file on creation |
| 108 |
|
| 109 |
DbEnv.log_stat |
| 110 |
DB_STAT_CLEAR # Clear stats after return |
| 111 |
|
| 112 |
DbEnv.log_stat_print |
| 113 |
DB_STAT_ALL # Everything |
| 114 |
DB_STAT_ALLOC # Print allocation information |
| 115 |
DB_STAT_CLEAR # Clear stats after return |
| 116 |
DB_STAT_SUBSYSTEM # Print subsystems |
| 117 |
|
| 118 |
DbEnv.lsn_reset |
| 119 |
DB_ENCRYPT # File contains encrypted databases |
| 120 |
|
| 121 |
DbEnv.memp_stat |
| 122 |
DB_STAT_CLEAR # Clear stats after return |
| 123 |
|
| 124 |
DbEnv.memp_stat_print |
| 125 |
DB_STAT_ALL # Everything |
| 126 |
DB_STAT_ALLOC # Print allocation information |
| 127 |
DB_STAT_CLEAR # Clear stats after return |
| 128 |
DB_STAT_MEMP_HASH # Print mpool hash buckets |
| 129 |
DB_STAT_MEMP_NOERROR # UNDOC: continue on error |
| 130 |
DB_STAT_SUBSYSTEM # Print subsystems |
| 131 |
|
| 132 |
DbEnv.mutex_alloc |
| 133 |
DB_MUTEX_ALLOCATED # UNDOC: Mutex currently allocated |
| 134 |
DB_MUTEX_LOCKED # UNDOC: Mutex currently locked |
| 135 |
DB_MUTEX_LOGICAL_LOCK # UNDOC: Mutex backs a database lock |
| 136 |
DB_MUTEX_PROCESS_ONLY # Mutex private to a process |
| 137 |
DB_MUTEX_SELF_BLOCK # Must be able to block self |
| 138 |
DB_MUTEX_SHARED # Shared (read/write) mutex |
| 139 |
|
| 140 |
DbEnv.mutex_stat |
| 141 |
DB_STAT_CLEAR # Clear stats after return |
| 142 |
|
| 143 |
DbEnv.mutex_stat_print |
| 144 |
DB_STAT_ALL # Everything |
| 145 |
DB_STAT_ALLOC # Print allocation information |
| 146 |
DB_STAT_CLEAR # Clear stats after return |
| 147 |
DB_STAT_SUBSYSTEM # Print subsystems |
| 148 |
|
| 149 |
DbEnv.remove |
| 150 |
DB_FORCE |
| 151 |
DB_USE_ENVIRON # Use the environment |
| 152 |
DB_USE_ENVIRON_ROOT # Use the environment if root |
| 153 |
|
| 154 |
DbEnv.rep_set_config |
| 155 |
DB_REPMGR_CONF_2SITE_STRICT # Don't cheat on election votes |
| 156 |
DB_REPMGR_CONF_ELECTIONS # Manage elections to choose master |
| 157 |
DB_REP_CONF_AUTOINIT # automatic client init |
| 158 |
DB_REP_CONF_AUTOROLLBACK # UNDOC: discard txns to sync w/ master |
| 159 |
DB_REP_CONF_BULK # Bulk transfer |
| 160 |
DB_REP_CONF_DELAYCLIENT # Delay client synchronization |
| 161 |
DB_REP_CONF_INMEM # In-memory replication |
| 162 |
DB_REP_CONF_LEASE # Master leases |
| 163 |
DB_REP_CONF_NOWAIT # Don't wait, return error |
| 164 |
|
| 165 |
DbEnv.rep_set_transport |
| 166 |
DB_REP_ANYWHERE # Message can be serviced anywhere |
| 167 |
DB_REP_NOBUFFER # Do not buffer this message |
| 168 |
DB_REP_PERMANENT # Important -- app may want to flush |
| 169 |
DB_REP_REREQUEST # This msg already been requested |
| 170 |
|
| 171 |
DbEnv.rep_start |
| 172 |
DB_REP_CLIENT # Client |
| 173 |
DB_REP_MASTER # Master |
| 174 |
|
| 175 |
DbEnv.rep_stat |
| 176 |
DB_STAT_CLEAR # Clear stats after return |
| 177 |
|
| 178 |
DbEnv.rep_stat_print |
| 179 |
DB_STAT_ALL # Everything |
| 180 |
DB_STAT_ALLOC # Print allocation information |
| 181 |
DB_STAT_CLEAR # Clear stats after return |
| 182 |
DB_STAT_SUBSYSTEM # Print subsystems |
| 183 |
DB_STAT_SUMMARY # UNDOC: print summary |
| 184 |
|
| 185 |
# Covers both flags to the callback-setting method, and the callback itself |
| 186 |
DbEnv.repmgr_msg_dispatch |
| 187 |
DB_REPMGR_NEED_RESPONSE # Synchronous request message type |
| 188 |
|
| 189 |
DbEnv.repmgr_start |
| 190 |
DB_REP_CLIENT # Client |
| 191 |
DB_REP_ELECTION # Election |
| 192 |
DB_REP_MASTER # Master |
| 193 |
|
| 194 |
DbEnv.repmgr_stat |
| 195 |
DB_STAT_CLEAR # Clear stats after return |
| 196 |
|
| 197 |
DbEnv.repmgr_stat_print |
| 198 |
DB_STAT_ALL # Everything |
| 199 |
DB_STAT_ALLOC # Print allocation information |
| 200 |
DB_STAT_CLEAR # Clear stats after return |
| 201 |
DB_STAT_SUBSYSTEM # Print subsystems |
| 202 |
|
| 203 |
DbEnv.set_encrypt |
| 204 |
DB_ENCRYPT_AES # AES, assumes SHA1 checksum |
| 205 |
|
| 206 |
DbEnv.set_feedback.op |
| 207 |
DB_RECOVER # Running recovery. |
| 208 |
|
| 209 |
DbEnv.set_flags |
| 210 |
DB_AUTO_COMMIT # Implied transaction |
| 211 |
DB_CDB_ALLDB # Set CDB locking per environment |
| 212 |
DB_DATABASE_LOCKING # UNDOC: try database-level locking |
| 213 |
DB_DIRECT_DB # Don't buffer databases in the OS |
| 214 |
DB_DSYNC_DB # Set O_DSYNC on the databases |
| 215 |
DB_HOTBACKUP_IN_PROGRESS # Inhibit bulk loading optimization |
| 216 |
DB_MULTIVERSION # Multiversion concurrency control |
| 217 |
DB_NOLOCKING # Set locking/mutex behavior |
| 218 |
DB_NOMMAP # Don't mmap the underlying file |
| 219 |
DB_NOPANIC # Set panic state per environment |
| 220 |
DB_NOFLUSH # UNDOC: don't flush cache on close |
| 221 |
DB_OVERWRITE # Overwrite unlinked region files |
| 222 |
DB_PANIC_ENVIRONMENT # Set panic state per environment |
| 223 |
DB_REGION_INIT # Page-fault regions on open |
| 224 |
DB_TIME_NOTGRANTED # Return NOTGRANTED on timeout |
| 225 |
DB_TXN_NOSYNC # Do not sync log on commit |
| 226 |
DB_TXN_NOWAIT # Do not wait for locks |
| 227 |
DB_TXN_SNAPSHOT # Snapshot isolation |
| 228 |
DB_TXN_WRITE_NOSYNC # Write the log bug don't sync |
| 229 |
DB_YIELDCPU # Yield the CPU (a lot) |
| 230 |
|
| 231 |
DbEnv.set_isalive |
| 232 |
DB_MUTEX_ALLOCATED # UNDOC: Mutex currently allocated |
| 233 |
DB_MUTEX_LOCKED # UNDOC: Mutex currently locked |
| 234 |
DB_MUTEX_LOGICAL_LOCK # UNDOC: Mutex backs a database lock |
| 235 |
DB_MUTEX_PROCESS_ONLY # Mutex private to a process |
| 236 |
DB_MUTEX_SELF_BLOCK # Must be able to block self |
| 237 |
|
| 238 |
DbEnv.set_timeout |
| 239 |
DB_SET_LOCK_TIMEOUT # Set lock timeout |
| 240 |
DB_SET_TXN_NOW # UNDOC: Timeout lock now |
| 241 |
DB_SET_TXN_TIMEOUT # Set transaction timeout |
| 242 |
DB_SET_REG_TIMEOUT # Set dbregister timeout |
| 243 |
|
| 244 |
DbEnv.set_verbose |
| 245 |
DB_VERB_BACKUP # Backup information |
| 246 |
DB_VERB_DEADLOCK # Deadlock detection information |
| 247 |
DB_VERB_FILEOPS # Major file operations |
| 248 |
DB_VERB_FILEOPS_ALL # All file operations |
| 249 |
DB_VERB_RECOVERY # Recovery information |
| 250 |
DB_VERB_REGISTER # Dump waits-for table |
| 251 |
DB_VERB_REPLICATION # All replication and repmgr output |
| 252 |
DB_VERB_REPMGR_CONNFAIL # Repmgr connection failure output |
| 253 |
DB_VERB_REPMGR_MISC # Miscellaneous repmgr output |
| 254 |
DB_VERB_REP_ELECT # Replication election output |
| 255 |
DB_VERB_REP_LEASE # Replication master lease output |
| 256 |
DB_VERB_REP_MISC # Miscellaneous replication output |
| 257 |
DB_VERB_REP_MSGS # Replication message output |
| 258 |
DB_VERB_REP_SYNC # Replication client sync output |
| 259 |
DB_VERB_REP_SYSTEM # Replication system messages |
| 260 |
DB_VERB_REP_TEST # Replication temporary test output |
| 261 |
DB_VERB_WAITSFOR # Dump waits-for table |
| 262 |
|
| 263 |
DbEnv.stat_print |
| 264 |
DB_STAT_ALL # Everything |
| 265 |
DB_STAT_ALLOC # Print allocation information |
| 266 |
DB_STAT_CLEAR # Clear stats after return |
| 267 |
DB_STAT_SUBSYSTEM # Print subsystems |
| 268 |
|
| 269 |
DbEnv.txn_begin |
| 270 |
DB_IGNORE_LEASE # UNDOC: Ignore leases |
| 271 |
DB_READ_COMMITTED # Degree 2 isolation |
| 272 |
DB_READ_UNCOMMITTED # Degree 1 isolation |
| 273 |
DB_TXN_NOSYNC # Do not sync log on commit |
| 274 |
DB_TXN_NOWAIT # Do not wait for locks |
| 275 |
DB_TXN_FAMILY # Cursors and child txns are |
| 276 |
# independent but lock-compatible |
| 277 |
DB_TXN_SNAPSHOT # Snapshot isolation |
| 278 |
DB_TXN_SYNC # Always sync log on commit |
| 279 |
DB_TXN_WAIT # Always wait for locks in this txn |
| 280 |
DB_TXN_WRITE_NOSYNC # Write the log but don't sync |
| 281 |
DB_TXN_BULK # Enable transactional bulk loading |
| 282 |
|
| 283 |
DbEnv.txn_checkpoint |
| 284 |
DB_CKP_INTERNAL # UNDOC: internally generated checkpoint |
| 285 |
DB_FORCE # Force |
| 286 |
|
| 287 |
DbEnv.txn_recover |
| 288 |
__MASK=0xff # Berkeley DB operation codes. |
| 289 |
|
| 290 |
DbEnv.txn_stat |
| 291 |
DB_STAT_CLEAR # Clear stats after return |
| 292 |
|
| 293 |
DbEnv.txn_stat_print |
| 294 |
DB_STAT_ALL # Everything |
| 295 |
DB_STAT_ALLOC # Print allocation information |
| 296 |
DB_STAT_CLEAR # Clear stats after return |
| 297 |
DB_STAT_SUBSYSTEM # Print subsystems |
| 298 |
|
| 299 |
DbLogc.get |
| 300 |
__MASK=0xff # Berkeley DB operation codes. |
| 301 |
|
| 302 |
DbMpoolFile.close |
| 303 |
DB_MPOOL_DISCARD # UNDOC: Discard file |
| 304 |
DB_FLUSH # UNDOC: opened to flush a page |
| 305 |
DB_MPOOL_NOLOCK # UNDOC: Already have mpf locked |
| 306 |
|
| 307 |
DbMpoolFile.get |
| 308 |
DB_MPOOL_CREATE # Create a page |
| 309 |
DB_MPOOL_DIRTY # Get page for an update |
| 310 |
DB_MPOOL_EDIT # Modify without copying |
| 311 |
DB_MPOOL_FREE # UNDOC: Free page if present |
| 312 |
DB_MPOOL_LAST # Return the last page |
| 313 |
DB_MPOOL_NEW # Create a new page |
| 314 |
DB_MPOOL_TRY # Try to read a page, but don't block |
| 315 |
|
| 316 |
DbMpoolFile.open |
| 317 |
DB_CREATE # Create as necessary |
| 318 |
DB_DIRECT # Don't buffer the file in the OS |
| 319 |
DB_DURABLE_UNKNOWN # UNDOC: Durability on open |
| 320 |
DB_EXTENT # UNDOC: dealing with an extent |
| 321 |
DB_FLUSH # UNDOC: opened to flush a page |
| 322 |
DB_MULTIVERSION # Multiversion concurrency control |
| 323 |
DB_NOMMAP # Don't mmap underlying file |
| 324 |
DB_ODDFILESIZE # Truncate file to N * pgsize |
| 325 |
DB_RDONLY # Read-only (O_RDONLY) |
| 326 |
DB_TXN_NOT_DURABLE # UNDOC: Mark file not durable on open |
| 327 |
|
| 328 |
DbMpoolFile.set_flags |
| 329 |
DB_MPOOL_NOFILE # Never open a backing file |
| 330 |
DB_MPOOL_UNLINK # Unlink the file on last close |
| 331 |
|
| 332 |
DbSequence.get |
| 333 |
DB_AUTO_COMMIT # UNDOC: compatibility only |
| 334 |
DB_TXN_NOSYNC # Do not sync log on commit |
| 335 |
|
| 336 |
DbSequence.open |
| 337 |
DB_AUTO_COMMIT # UNDOC: compatibility only |
| 338 |
DB_CREATE # Create as necessary |
| 339 |
DB_EXCL # Exclusive open (O_EXCL) |
| 340 |
DB_THREAD # Handle is free-threaded |
| 341 |
|
| 342 |
DbSequence.remove |
| 343 |
DB_TXN_NOSYNC # Do not sync log on commit |
| 344 |
|
| 345 |
DbSequence.set_flags |
| 346 |
DB_SEQ_DEC # Decrement sequence |
| 347 |
DB_SEQ_INC # Increment sequence |
| 348 |
DB_SEQ_RANGE_SET # UNDOC: Range set |
| 349 |
DB_SEQ_WRAP # Wrap sequence at min/max |
| 350 |
DB_SEQ_WRAPPED # UNDOC: Just wrapped |
| 351 |
|
| 352 |
DbSequence.stat |
| 353 |
DB_STAT_CLEAR # Clear stats after return |
| 354 |
|
| 355 |
DbSequence.stat_print |
| 356 |
DB_STAT_CLEAR # Clear stats after return |
| 357 |
DB_STAT_SUBSYSTEM # Print subsystems |
| 358 |
|
| 359 |
DbSite.set_config |
| 360 |
DB_BOOTSTRAP_HELPER # Join target for new group member |
| 361 |
DB_GROUP_CREATOR # Primordial membership DB creator |
| 362 |
DB_LEGACY # Upgrading pre-5.2 group |
| 363 |
DB_LOCAL_SITE # Identifies this as the local site |
| 364 |
DB_REPMGR_PEER # C2C synchronization |
| 365 |
|
| 366 |
DbTxn.commit |
| 367 |
DB_TXN_NOSYNC # Do not sync log on commit |
| 368 |
DB_TXN_SYNC # Always sync log on commit |
| 369 |
|
| 370 |
DbTxn.set_timeout |
| 371 |
DB_SET_LOCK_TIMEOUT # Set lock timeout |
| 372 |
DB_SET_TXN_TIMEOUT # Set transaction timeout |
| 373 |
|
| 374 |
db_create |
| 375 |
DB_CXX_NO_EXCEPTIONS # C++: return error values |
| 376 |
DB_XA_CREATE # Create a DBP for an XA database |
| 377 |
|
| 378 |
Db.associate |
| 379 |
DB_AUTO_COMMIT # UNDOC: compatibility only |
| 380 |
DB_CREATE # Create as necessary |
| 381 |
DB_IMMUTABLE_KEY # Secondary key is immutable |
| 382 |
|
| 383 |
Db.associate_foreign |
| 384 |
DB_FOREIGN_ABORT # If foreign key exists, delete aborts |
| 385 |
DB_FOREIGN_CASCADE # If foreign key exists, delete cascades |
| 386 |
DB_FOREIGN_NULLIFY # If foreign key exists, nullify it |
| 387 |
|
| 388 |
Db.close |
| 389 |
DB_NOSYNC # Berkeley DB operation codes. |
| 390 |
|
| 391 |
Db.compact |
| 392 |
DB_FREELIST_ONLY # Just sort and truncate |
| 393 |
DB_FREE_SPACE # Free space |
| 394 |
|
| 395 |
Db.cursor |
| 396 |
DB_CURSOR_BULK # Optimize for bulk updates |
| 397 |
DB_CURSOR_TRANSIENT # UNDOC: Single-use cursor |
| 398 |
DB_READ_COMMITTED # Degree 2 isolation |
| 399 |
DB_READ_UNCOMMITTED # Degree 1 isolation |
| 400 |
DB_RECOVER # Called from recovery (internal) |
| 401 |
DB_WRITECURSOR # Cursor can update (CDB) |
| 402 |
DB_WRITELOCK # Cursor should get write locks |
| 403 |
DB_TXN_SNAPSHOT # Snapshot isolation |
| 404 |
|
| 405 |
Db.del |
| 406 |
DB_AUTO_COMMIT # UNDOC: compatibility only |
| 407 |
DB_MULTIPLE # Delete multiple data values |
| 408 |
DB_MULTIPLE_KEY # Delete multiple key/data pairs |
| 409 |
|
| 410 |
Db.exists |
| 411 |
DB_READ_COMMITTED # Degree 2 isolation |
| 412 |
DB_READ_UNCOMMITTED # Degree 1 isolation |
| 413 |
DB_RMW # Acquire write lock immediately |
| 414 |
|
| 415 |
Db.get |
| 416 |
__MASK=0xff # Berkeley DB operation codes. |
| 417 |
DB_AUTO_COMMIT # UNDOC: compatibility only |
| 418 |
DB_IGNORE_LEASE # Ignore leases |
| 419 |
DB_MULTIPLE # Return multiple data values |
| 420 |
DB_READ_COMMITTED # Degree 2 isolation |
| 421 |
DB_READ_UNCOMMITTED # Degree 1 isolation |
| 422 |
DB_RMW # Acquire write lock immediately |
| 423 |
|
| 424 |
Db.pget |
| 425 |
__MASK=0xff # Berkeley DB operation codes. |
| 426 |
DB_IGNORE_LEASE # Ignore leases |
| 427 |
DB_MULTIPLE # Return multiple data values |
| 428 |
DB_READ_COMMITTED # Degree 2 isolation |
| 429 |
DB_READ_UNCOMMITTED # Degree 1 isolation |
| 430 |
DB_RMW # Acquire write lock immediately |
| 431 |
|
| 432 |
Db.join |
| 433 |
DB_JOIN_NOSORT # Don't try to optmize join |
| 434 |
|
| 435 |
Db.open |
| 436 |
DB_AUTO_COMMIT # Implied transaction |
| 437 |
DB_CREATE # Create file as necessary |
| 438 |
DB_EXCL # Exclusive open (O_EXCL) |
| 439 |
DB_FCNTL_LOCKING # UNDOC: fcntl(2) locking |
| 440 |
DB_MULTIVERSION # Multiversion concurrency control |
| 441 |
DB_NOMMAP # Don't mmap underlying file |
| 442 |
DB_NO_AUTO_COMMIT # UNDOC: override env's AUTO_COMMIT |
| 443 |
DB_RDONLY # Read-only (O_RDONLY) |
| 444 |
DB_RDWRMASTER # UNDOC: allow subdb master open R/W |
| 445 |
DB_READ_UNCOMMITTED # Degree 1 isolation |
| 446 |
DB_THREAD # Handle is free-threaded |
| 447 |
DB_TRUNCATE # Discard existing DB (O_TRUNC) |
| 448 |
|
| 449 |
# The following flags aren't actually part of the Db.open method |
| 450 |
# API, but they are accepted by the underlying __db_open function. |
| 451 |
DB_DURABLE_UNKNOWN # UNDOC: Durability on open |
| 452 |
DB_INTERNAL_PERSISTENT_DB # UNDOC: Open db in metadata dir |
| 453 |
DB_INTERNAL_TEMPORARY_DB # UNDOC: Open db in env home dir |
| 454 |
DB_NOERROR # UNDOC: Don't raise errors. |
| 455 |
DB_ODDFILESIZE # UNDOC: Truncate file to N * pgsize |
| 456 |
DB_WRITEOPEN # UNDOC: open with write lock |
| 457 |
|
| 458 |
# The following flags are DB constructor flags. However, create and/or |
| 459 |
# open of BDB XML containers is done in a single call (rather than the |
| 460 |
# two-call "construct the object, then open it" paradigm used by DB), |
| 461 |
# and they can't collide for that reason. |
| 462 |
DB_CXX_NO_EXCEPTIONS # C++: return error values |
| 463 |
|
| 464 |
Db.put |
| 465 |
__MASK=0xff # Berkeley DB operation codes. |
| 466 |
DB_AUTO_COMMIT # UNDOC: compatibility only |
| 467 |
DB_MULTIPLE # Put multiple (from key and data DBTs) |
| 468 |
DB_MULTIPLE_KEY # Put multiple (from key DBT) |
| 469 |
|
| 470 |
Db.set_encrypt |
| 471 |
DB_ENCRYPT_AES # AES, assumes SHA1 checksum |
| 472 |
|
| 473 |
Db.set_feedback |
| 474 |
DB_UPGRADE # Upgrading |
| 475 |
DB_VERIFY # Verifying |
| 476 |
|
| 477 |
Db.set_flags |
| 478 |
DB_CHKSUM # Checksums |
| 479 |
DB_DUP # Btree, Hash: duplicate keys |
| 480 |
DB_DUPSORT # Btree, Hash: sorted duplicated |
| 481 |
DB_ENCRYPT # AES, assumes SHA1 checksum |
| 482 |
DB_INORDER # Queue: strict ordering on consume |
| 483 |
DB_RECNUM # Btree: record numbers |
| 484 |
DB_RENUMBER # Recno: renumber on insert/delete |
| 485 |
DB_REVSPLITOFF # Btree: turn off reverse splits |
| 486 |
DB_SNAPSHOT # Recno: snapshot the input |
| 487 |
DB_TXN_NOT_DURABLE # Do not log changes |
| 488 |
|
| 489 |
Db.stat |
| 490 |
DB_FAST_STAT # Don't traverse the database |
| 491 |
DB_READ_COMMITTED # Degree 2 isolation |
| 492 |
DB_READ_UNCOMMITTED # Degree 1 isolation |
| 493 |
|
| 494 |
Db.truncate |
| 495 |
DB_AUTO_COMMIT # UNDOC: compatibility only |
| 496 |
|
| 497 |
Db.upgrade |
| 498 |
DB_DUPSORT # Upgrade duplicate data items |
| 499 |
|
| 500 |
Db.verify |
| 501 |
DB_AGGRESSIVE # Salvage whatever could be data |
| 502 |
DB_NOORDERCHK # Skip sort order/hashing check |
| 503 |
DB_ORDERCHKONLY # Only perform the order check |
| 504 |
DB_PRINTABLE # Use printable format for salvage |
| 505 |
DB_PR_PAGE # UNDOC: Show page contents (-da) |
| 506 |
DB_PR_RECOVERYTEST # UNDOC: Recover test (-dr) |
| 507 |
DB_SALVAGE # Salvage what looks like data |
| 508 |
DB_UNREF # UNDOC: Report unreferenced pages |
| 509 |
DB_VERIFY_PARTITION # Verifying a partition |
| 510 |
|
| 511 |
# Flags understood by the btree structure checks (__bam_vrfy_subtree). |
| 512 |
# These share the same space as the global flags to Db.verify. |
| 513 |
DB_ST_DUPOK # UNDOC: Duplicates are acceptable |
| 514 |
DB_ST_DUPSET # UNDOC: Subtree is in a duplicate tree |
| 515 |
DB_ST_DUPSORT # UNDOC: Duplicates are sorted |
| 516 |
DB_ST_IS_RECNO # UNDOC: Subtree is a recno |
| 517 |
DB_ST_OVFL_LEAF # UNDOC: Overflow reffed from leaf page |
| 518 |
DB_ST_RECNUM # UNDOC: Subtree has record numbering on |
| 519 |
DB_ST_RELEN # UNDOC: Subtree has fixed-length recs |
| 520 |
DB_ST_TOPLEVEL # UNDOC: Subtree == entire tree |
| 521 |
|
| 522 |
# Flags understood by __bam_salvage and __db_salvage. These need not |
| 523 |
# share name space with the __bam_vrfy_subtree flags, but must share |
| 524 |
# with Db.verify. |
| 525 |
DB_SA_SKIPFIRSTKEY # UNDOC: I have no idea what this does. |
| 526 |
DB_SA_UNKNOWNKEY # UNDOC: The salvage key is unknown |
| 527 |
|
| 528 |
DbCursor.dup |
| 529 |
__MASK=0xff # Berkeley DB operation codes. |
| 530 |
DB_SHALLOW_DUP # UNDOC: Don't duplicate compression info |
| 531 |
|
| 532 |
DbCursor.get |
| 533 |
__MASK=0xff # Berkeley DB operation codes. |
| 534 |
DB_IGNORE_LEASE # Ignore leases |
| 535 |
DB_MULTIPLE # Return multiple data values |
| 536 |
DB_MULTIPLE_KEY # Return multiple key/data pairs |
| 537 |
DB_READ_COMMITTED # Degree 2 isolation |
| 538 |
DB_READ_UNCOMMITTED # Degree 1 isolation |
| 539 |
DB_RMW # Acquire write lock immediately |
| 540 |
|
| 541 |
DbCursor.put |
| 542 |
__MASK=0xff # Berkeley DB operation codes. |