Python Bindings for Oracle Berkeley DB 4.8, 5.3, 6.2 and 18.1¶
Introduction¶
This handcrafted package contains Python wrappers for Oracle Berkeley DB, the Open Source embedded database system. Oracle Berkeley DB is a programmatic toolkit that provides high-performance built-in database support for desktop and server applications.
The Oracle Berkeley DB access methods include B+tree, Extended Linear Hashing, Fixed and Variable-length records, and Queues. Oracle Berkeley DB provides full transactional support, database recovery, online backups, multi-threaded and multi-process access, etc.
The Python wrappers allow you to store Python string objects of any length, keyed either by strings or integers depending on the database access method. With the use of another module in the package standard shelve-like functionality is provided allowing you to store any picklable Python object!
Oracle Berkeley DB is very powerful and versatile, but it is complex to use correctly. Oracle documentation is very complete. Please, review it.
Since June 2013 (release 6.0.0), this project accepts donations. Please, contribute if you can. Details.
Documentation Index¶
- Oracle Berkeley DB 4.8, 5.3, 6.2 and 18.1 Python Extension Package
- DBEnv
- DBEnv Attributes
- DBEnv Methods
DBEnv()
close()
open()
log_cursor()
memp_stat()
memp_stat_print()
memp_sync()
memp_trickle()
remove()
dbremove()
dbrename()
backup()
dbbackup()
get_backup_config()
set_backup_config()
fileid_reset()
get_thread_count()
set_thread_count()
set_encrypt()
get_encrypt_flags()
get_intermediate_dir_mode()
set_intermediate_dir_mode()
get_timeout()
set_timeout()
get_mp_max_openfd()
set_mp_max_openfd()
get_mp_max_write()
set_mp_max_write()
set_shm_key()
get_shm_key()
set_cache_max()
get_cache_max()
set_cachesize()
get_cachesize()
set_data_dir()
get_data_dirs()
get_flags()
set_flags()
set_tmp_dir()
get_tmp_dir()
set_get_returns_none()
set_private()
get_private()
get_open_flags()
get_lg_filemode()
set_lg_filemode()
get_lg_bsize()
set_lg_bsize()
get_lg_dir()
set_lg_dir()
set_lg_max()
get_lg_max()
get_lg_regionmax()
set_lg_regionmax()
get_lk_partitions()
set_lk_partitions()
get_lk_detect()
set_lk_detect()
get_lk_max_locks()
set_lk_max_locks()
get_lk_max_lockers()
set_lk_max_lockers()
get_lk_max_objects()
set_lk_max_objects()
get_mp_mmapsize()
set_mp_mmapsize()
stat_print()
log_file()
log_printf()
log_archive()
log_flush()
log_get_config()
log_set_config()
lock_detect()
lock_get()
lock_id()
lock_id_free()
lock_put()
lock_stat()
lock_stat_print()
cdsgroup_begin()
get_tx_max()
set_tx_max()
get_tx_timestamp()
set_tx_timestamp()
txn_begin()
txn_checkpoint()
txn_stat()
txn_stat_print()
lsn_reset()
log_stat()
log_stat_print()
txn_recover()
set_verbose()
get_verbose()
set_event_notify()
mutex_stat()
mutex_stat_print()
mutex_set_max()
mutex_get_max()
mutex_set_increment()
mutex_get_increment()
mutex_set_align()
mutex_get_align()
mutex_set_tas_spins()
mutex_get_tas_spins()
- DBEnv Replication Manager Methods
- DBEnv Replication Methods
rep_elect()
rep_set_transport()
rep_process_messsage()
rep_start()
rep_sync()
rep_set_config()
rep_get_config()
rep_set_limit()
rep_get_limit()
rep_set_request()
rep_get_request()
rep_set_nsites()
rep_get_nsites()
rep_set_priority()
rep_get_priority()
rep_set_timeout()
rep_get_timeout()
rep_set_clockskew()
rep_get_clockskew()
rep_stat()
rep_stat_print()
- DB
- DB Methods
DB()
append()
associate()
close()
compact()
consume()
consume_wait()
cursor()
delete()
exists()
fd()
get()
pget()
get_transactional()
get_priority()
set_priority()
get_lk_exclusive()
set_lk_exclusive()
get_dbname()
get_open_flags()
set_private()
get_private()
get_both()
get_byteswapped()
get_size()
get_type()
join()
key_range()
open()
put()
remove()
rename()
set_encrypt()
get_encrypt_flags()
set_bt_compare()
get_bt_minkey()
set_bt_minkey()
set_cachesize()
get_cachesize()
set_heapsize()
get_heapsize()
set_heap_regionsize()
get_heap_regionsize()
set_dup_compare()
set_get_returns_none()
get_flags()
set_flags()
get_h_ffactor()
set_h_ffactor()
get_h_nelem()
set_h_nelem()
get_lorder()
set_lorder()
get_pagesize()
set_pagesize()
get_re_delim()
set_re_delim()
get_re_len()
set_re_len()
get_re_pad()
set_re_pad()
get_re_source()
set_re_source()
get_q_extentsize()
set_q_extentsize()
stat()
stat_print()
sync()
truncate()
upgrade()
verify()
- DB Mapping and Compatibility Methods
- DB Methods
- DBCursor
- DBLogCursor
- DBTxn
- DBLock
- DBSequence
- DBSite
- History
- Changelog
- Changelog of legacy “bsddb3” project
- 6.2.9 - 2020-11-26:
- 6.2.8 - 2020-11-20:
- 6.2.7:
- 6.2.6:
- 6.2.5:
- 6.2.4:
- 6.2.3:
- 6.2.2:
- 6.2.1:
- 6.2.0:
- 6.1.1:
- 6.1.0:
- 6.0.1:
- 6.0.0:
- 5.3.0:
- 5.2.0:
- 5.1.2:
- 5.1.1:
- 5.1.0:
- 5.0.0:
- 4.8.4:
- 4.8.3:
- 4.8.2:
- 4.8.1:
- 4.8.0:
- 4.7.6:
- 4.7.5:
- 4.7.4:
- 4.7.3: (Python 2.6 release. First release with Python 3.0 support)
- 4.7.2:
- 4.7.1:
- 4.7.0:
- 4.6.4:
- 4.6.3:
- 4.6.2:
- 4.6.1: (first release from Jesús Cea Avión)
- 4.6.0:
- 4.5.0:
- 4.4.5:
- 4.4.4:
- 4.4.3:
- 4.4.2:
- 4.4.1:
- 4.4.0:
- 4.3.3:
- 4.3.2:
- 4.3.1:
- 4.3.0:
- 4.2.9:
- 4.2.8:
- 4.2.7:
- 4.2.6:
- 4.2.5:
- 4.2.4:
- 4.2.3:
- 4.2.2:
- 4.2.1:
- 4.2.0:
- 4.1.x:
- 4.1.6:
- 4.1.5:
- 4.1.4:
- 4.1.3 - 2003-02-02:
- 4.1.2 - 2003-01-17:
- 4.1.1 - 2002-12-20:
- 4.1.0 - 2002-12-13:
- 3.4.3 - 2002-10-18:
- 3.4.2 - 2002-08-14:
- 3.4.1:
- 3.4.0:
- LICENSE
- DONATE!