The BTreeDatabaseConfig type exposes the following members.

Properties

  NameDescription
BlobThreshold
Deprecated. Replaced by ExternalFileThreshold.
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.)
ExternalFileThreshold
The size in bytes which is used to determine when a data item is stored as an external file.

Any data item that is equal to or larger in size than the threshold value is automatically stored as an external file.

If the threshold value is 0, external files are never be used by the database.

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

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