Main Page   Class Hierarchy   Compound List   File List   Compound Members  

dbDatabase::OpenParameters Struct Reference

#include <database.h>

List of all members.

Public Attributes

char_t const * databaseName
int openAttr
dbFilefile
time_t transactionCommitDelay
bool deleteFileOnClose
bool doNotReuseOidAfterClose
dbAccessType accessType
size_t poolSize
size_t extensionQuantum
size_t initIndexSize
int nThreads
offs_t freeSpaceReuseThreshold


Detailed Description

Structure to specify database open parameters


Member Data Documentation

dbAccessType dbDatabase::OpenParameters::accessType
 

Database access type

char_t const* dbDatabase::OpenParameters::databaseName
 

Database file name (used if "file" is NULL)

bool dbDatabase::OpenParameters::deleteFileOnClose
 

Delete file on close (used only if "file" is not null

bool dbDatabase::OpenParameters::doNotReuseOidAfterClose
 

Do not include OIDs deallocated within session in list of free OIDs. So it prevents deallocated OIDs to be reused in next session. By default all OIDs deallocated within session are included in global list of free OIDs and can be reused in next session. Setting this flags makes sense in case of multiclient mode (there can be multiple database sessions concurrently working with the same database) or if you want to avoid reuse of OIDs permanently.

size_t dbDatabase::OpenParameters::extensionQuantum
 

Quantum for extending memory allocation bitmap

dbFile* dbDatabase::OpenParameters::file
 

Databasr file (if non null, "databaseName" is igonored)

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 index size (number of objects)

int dbDatabase::OpenParameters::nThreads
 

Concurrency level for sequential search and sort operations

int dbDatabase::OpenParameters::openAttr
 

Attributes for openning file (used only if "file" is null)

size_t dbDatabase::OpenParameters::poolSize
 

Number of pages in page pool, if 0 GigaBASE will choose pool size itself depending on size of memory in the system.
When DISKLESS_CONFIGURATION is used, then in this parameter MAXIMAL size of the database should be specified (in this mode database can not be reallocated)

time_t dbDatabase::OpenParameters::transactionCommitDelay
 

Transaction commit delay


The documentation for this struct was generated from the following file:
Generated on Thu Feb 14 21:46:05 2008 for GigaBASE by doxygen1.2.18