Main Page   Class Hierarchy   Compound List   File List   Compound Members  

dbDatabase::OpenParameters Struct Reference

#include <database.h>

List of all members.

Public Attributes

char const * databaseName
char const * databaseFilePath
time_t transactionCommitDelay
time_t waitLockTimeoutMsec
dbAccessType accessType
size_t initSize
size_t extensionQuantum
size_t initIndexSize
int nThreads
offs_t freeSpaceReuseThreshold
int parallelScanThreshold
int nodeId
char ** nodeAddresses
int nNodes
int pollInterval
int waitReadyTimeout
int waitStatusTimeout
int recoveryConnectionAttempts
int startupConnectionAttempts
int replicationWriteTimeout
int maxAsyncRecoveryIterations


Detailed Description

Structure to specify database open parameters


Member Data Documentation

dbAccessType dbDatabase::OpenParameters::accessType
 

Database access type

char const* dbDatabase::OpenParameters::databaseFilePath
 

Database file path

char const* dbDatabase::OpenParameters::databaseName
 

Database name

size_t dbDatabase::OpenParameters::extensionQuantum
 

Quantum for extending memory allocation bitmap

offs_t dbDatabase::OpenParameters::freeSpaceReuseThreshold
 

Threshold for amount of deallocated space after which allocation bitmap is scanned from the very beginning reusing deallocated object

size_t dbDatabase::OpenParameters::initIndexSize
 

Initial database index size

size_t dbDatabase::OpenParameters::initSize
 

Initial database file size

int dbDatabase::OpenParameters::maxAsyncRecoveryIterations
 

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).

int dbDatabase::OpenParameters::nNodes
 

Number of nodes in replicasted database

char** dbDatabase::OpenParameters::nodeAddresses
 

Replicated database node addresses

int dbDatabase::OpenParameters::nodeId
 

Replicated database node id

int dbDatabase::OpenParameters::nThreads
 

Concurrency level for sequential search and sort operations

int dbDatabase::OpenParameters::parallelScanThreshold
 

Minimal number of records in the table when performing sequential search in parallel makes sense

int dbDatabase::OpenParameters::pollInterval
 

Interval of polling nodes

int dbDatabase::OpenParameters::recoveryConnectionAttempts
 

Maximal number of attempts to establish with other nodes during recovery

int dbDatabase::OpenParameters::replicationWriteTimeout
 

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.

int dbDatabase::OpenParameters::startupConnectionAttempts
 

Maximal number of attempts to establish with other nodes at startup

time_t dbDatabase::OpenParameters::transactionCommitDelay
 

Transaction commit delay

time_t dbDatabase::OpenParameters::waitLockTimeoutMsec
 

Deadlock detection timeout (after expiration of this timeout a lokc is revoked)

int dbDatabase::OpenParameters::waitReadyTimeout
 

Timeout of waiting confirmation from standby node by new master node when it becomes active at startup

int dbDatabase::OpenParameters::waitStatusTimeout
 

Timeout of requesting status of other nodes during startup


The documentation for this struct was generated from the following file:
Generated on Thu Feb 14 12:42:31 2008 for FastDB by doxygen1.2.18