<xml></xml>

Collapse AllExpand 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
HeapDatabase Properties
HeapDatabase Class See Also Send Feedback

The HeapDatabase type exposes the following members.

# Properties

| Name | Description
--- | --- | ---
| AutoCommit | If true, all database modification operations based on this object are transactionally protected. (Inherited from BaseDatabase.)
| BlobDir | Deprecated. Replaced by ExternalFileDir.
| BlobThreshold | Deprecated. Replaced by ExternalFileThreshold.
| CacheSize | The size of the shared memory buffer pool (the cache). (Inherited from BaseDatabase.)
| Creation | The CreatePolicy with which this database was opened. (Inherited from BaseDatabase.)
| DatabaseName | The name of this database, if it has one. (Inherited from BaseDatabase.)
| DoChecksum | If true, do checksum verification of pages read into the cache from the backing filestore. (Inherited from BaseDatabase.)
| EncryptAlgorithm | The algorithm used by the Berkeley DB library to perform encryption and decryption. (Inherited from BaseDatabase.)
| Encrypted | If true, encrypt all data stored in the database. (Inherited from BaseDatabase.)
| Endianness | The database byte order. (Inherited from BaseDatabase.)
| ErrorFeedback | The mechanism for reporting detailed error messages to the application. (Inherited from BaseDatabase.)
| ErrorPrefix | The prefix string that appears before error messages issued by Berkeley DB. (Inherited from BaseDatabase.)
| ExternalFileDir | The path of the directory where external files are stored.
| ExternalFileThreshold | The threshold value in bytes beyond which data items are stored as external files. Any data item that is equal to or larger in size than the threshold value is automatically stored as an external file. A value of 0 indicates that external files are not used by the database.
| Feedback | Monitor progress within long running operations. (Inherited from BaseDatabase.)
| FileName | The filename of this database, if it has one. (Inherited from BaseDatabase.)
| FreeThreaded | If true, the object is free-threaded; concurrently usable by multiple threads in the address space. (Inherited from BaseDatabase.)
| HasMultiple | If true, the object references a physical file supporting multiple databases. (Inherited from BaseDatabase.)
| InHostOrder | If true, the underlying database files were created on an architecture of the same byte order as the current one. This information may be used to determine whether application data needs to be adjusted for this architecture or not. (Inherited from BaseDatabase.)
| MaxSizeBytes | The bytes component of the maximum on-disk database file size.
| MaxSizeGBytes | The gigabytes component of the maximum on-disk database file size.
| messageFeedback | The mechanism for reporting detailed statistic messages to the application. (Inherited from BaseDatabase.)
| MessagePrefix | The prefix string that appears before informational messages issued by Berkeley DB. (Inherited from BaseDatabase.)
| Msgfile | The message file. (Inherited from BaseDatabase.)
| NoMMap | If true, this database is not mapped into process memory. See MMapSize for further information. (Inherited from BaseDatabase.)
| NonDurableTxns | If true, Berkeley DB does not write log records for this database. (Inherited from BaseDatabase.)

NoWaitDbExclusiveLock

If true, configure the database handle to obtain a write lock on the entire database. When the database is opened it immediately throws LockNotGrantedException if it cannot obtain the exclusive lock immediately. If False, configure the database handle to obtain a write lock on the entire database. When the database is opened, it blocks until it can obtain the exclusive lock. If null, do not configure the database handle to obtain a write lock on the entire database.
(Inherited from BaseDatabase.)

| Pagesize | The database's current page size. (Inherited from BaseDatabase.)
| Priority | The cache priority for pages referenced by this object. (Inherited from BaseDatabase.)
| ReadOnly | If true, this database has been opened for read only. Any attempt to modify items in the database will fail, regardless of the actual permissions of any underlying files. (Inherited from BaseDatabase.)
| ReadUncommitted | If true, this database supports transactional read operations with degree 1 isolation. Read operations on the database may request the return of modified but not yet committed data. (Inherited from BaseDatabase.)
| RegionSize | The number of pages in a region of the database. It is set by RegionSize when the heap database is opened.
| Transactional | If true, this database has been opened in a transactional mode. (Inherited from BaseDatabase.)
| Truncated | If true, the underlying file was physically truncated upon open, discarding all previous databases it might have held. (Inherited from BaseDatabase.)
| Type | The type of the underlying access method (and file format). This value may be used to determine the type of the database after an Open(String, DatabaseConfig). (Inherited from BaseDatabase.)
| UseMVCC | If true, the database was opened with support for multiversion concurrency control. (Inherited from BaseDatabase.)

# See Also

HeapDatabase Class
BerkeleyDB Namespace