#include <database.h>
Public Member Functions | |
| OpenParameters () | |
Public Attributes | |
| char const * | databaseName |
| Database name. | |
| char const * | databaseFilePath |
| Database file path. | |
| time_t | transactionCommitDelay |
| Transaction commit delay. | |
| time_t | waitLockTimeoutMsec |
| Deadlock detection timeout (after expiration of this timeout a lokc is revoked). | |
| dbAccessType | accessType |
| Database access type. | |
| size_t | initSize |
| Initial database file size. | |
| size_t | extensionQuantum |
| Quantum for extending memory allocation bitmap. | |
| size_t | initIndexSize |
| Initial database index size. | |
| int | nThreads |
| Concurrency level for sequential search and sort operations. | |
| offs_t | freeSpaceReuseThreshold |
| Threshold for amount of deallocated space after which allocation bitmap is scanned from the very beginning reusing deallocated object. | |
| int | parallelScanThreshold |
| Minimal number of records in the table when performing sequential search in parallel makes sense. | |
| int | nodeId |
| Replicated database node id. | |
| char ** | nodeAddresses |
| Replicated database node addresses. | |
| int | nNodes |
| Number of nodes in replicasted database. | |
| int | pollInterval |
| Interval of polling nodes. | |
| int | waitReadyTimeout |
| Timeout of waiting confirmation from standby node by new master node when it becomes active at startup. | |
| int | waitStatusTimeout |
| Timeout of requesting status of other nodes during startup. | |
| int | recoveryConnectionAttempts |
| Maximal number of attempts to establish with other nodes during recovery. | |
| int | startupConnectionAttempts |
| Maximal number of attempts to establish with other nodes at startup. | |
| int | replicationWriteTimeout |
| Timeout of writing to replication node. | |
| int | maxAsyncRecoveryIterations |
| Maximal number of asynchronous recovery iterations. | |
| OpenParameters | ( | ) | [inline] |
| char const* databaseName |
Database name.
| char const* databaseFilePath |
Database file path.
| time_t transactionCommitDelay |
Transaction commit delay.
| time_t waitLockTimeoutMsec |
Deadlock detection timeout (after expiration of this timeout a lokc is revoked).
Database access type.
| size_t initSize |
Initial database file size.
| size_t extensionQuantum |
Quantum for extending memory allocation bitmap.
| size_t initIndexSize |
Initial database index size.
| int nThreads |
Concurrency level for sequential search and sort operations.
Threshold for amount of deallocated space after which allocation bitmap is scanned from the very beginning reusing deallocated object.
Minimal number of records in the table when performing sequential search in parallel makes sense.
| int nodeId |
Replicated database node id.
| char** nodeAddresses |
Replicated database node addresses.
| int nNodes |
Number of nodes in replicasted database.
| int pollInterval |
Interval of polling nodes.
| int waitReadyTimeout |
Timeout of waiting confirmation from standby node by new master node when it becomes active at startup.
Timeout of requesting status of other nodes during startup.
Maximal number of attempts to establish with other nodes during recovery.
Maximal number of attempts to establish with other nodes at startup.
Timeout of writing to replication node.
If write can not be completed within specified timeout, then node is considered to be dead and connection is hanged up.
Maximal number of asynchronous recovery iterations.
If due to permanent updates of master database recovery can not be completed within specified number of iterations, then synchronous recovery is performed (master will not perform any transaction commits until the end of recovery).