Library 11.2.5.0, Release 5.0.34, November 09, 2011
Berkeley DB Java Edition (JE) is a 100% pure Java embedded, transactional data store. It supplies a key/object data model with indexing, full transactional ACID support, POJO APIs and High Availability/Replication.
This is release 5.0.34 of Berkeley DB Java Edition. This release includes a file format change, and there are two important notes to be aware of.
A number of enhancements have been added since version JE 4.1, including:
DiskOrderedCursor
class can be used to iterate over
all records in a database, for increased performance when transactional
guarantees are not required. [#15260]
Environment.preload
method can be used to preload
multiple databases at a time, for increased performance compared to
preloading each database individually. [#18153]
AppStateMonitor
class lets the HA application add more
application specific information to the notion of node state in a
replication group. [#18046]
Cursor
methods were added to allow quickly skipping over a
specified number of key/value pairs. [#19165]
ClassLoader
may now be configured and will
be used by JE for loading all user-supplied classes. [#18368]
java.io.Closeable
interface is now implemented by all JE
classes and interfaces with a public void close()
method.
This allows using these objects with the Java 1.7 try-with-resources
statement. [#20559]
Environment.flushLog
method has been added. It can be used
to make durable, by writing to the log, all preceding non-transactional
write operations, without performing a checkpoint. [#19111]
DbCacheSize
utility to take into account memory
management enhancements and improve accuracy. Added support for key
prefixing, databases configured for sorted duplicates, and replicated
environments. [#20145]
EnvironmentConfig.TREE_COMPACT_MAX_KEY_LENGTH
was added for
user configuration of the in-memory compaction of keys in the Btree.
[#20120]