<xml></xml>

Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++ Members: Show All Members: Filtered Members: Filtered Members: Filtered

Berkeley DB .NET API Documentation
BTreeDatabaseConfig Properties
BTreeDatabaseConfig Class See Also Send Feedback

The BTreeDatabaseConfig type exposes the following members.

# Properties

| Name | Description
--- | --- | ---

BlobThreshold

The size in bytes which is used to determine when a data item will be stored as a blob.

Any data item that is equal to or larger in size than the threshold value will automatically be stored as a blob.

If the threshold value is 0, blob will never be used by the database.

It is illegal to enable blob in the database which is configured as in-memory database or with chksum, encryption, duplicates, sorted duplicates, compression, multiversion concurrency control and transactional read operations with degree 1 isolation.

| Compress | The compression function used to store key/data pairs in the database.
| Decompress | The decompression function used to retrieve key/data pairs from the database.
| EncryptAlgorithm | The algorithm used to perform encryption and decryption. (Inherited from DatabaseConfig.)
| Encrypted | Encrypt the database using the cryptographic password specified by DatabaseConfig.SetEncryption or DatabaseEnvironmentConfig.SetEncryption. (Inherited from DatabaseConfig.)
| EncryptionPassword | The password used to perform encryption and decryption. (Inherited from DatabaseConfig.)
| MinKeysPerPage | The minimum number of key/data pairs intended to be stored on any single Btree leaf page.
| NParts | Return the number of partitions to create.
| PageSize | The size of the pages used to hold items in the database, in bytes. (Inherited from DatabaseConfig.)
| Partition | Return the application-specified partitioning function.
| PartitionKeys | Return an array of type DatabaseEntry where each array entry contains the range of keys contained in one of the database's partitions. The array contains the information for the entire database.

# See Also

BTreeDatabaseConfig Class
BerkeleyDB Namespace