Public Attributes

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
bool preserveExistedIndices
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

Database access type

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

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

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.

Quantum for extending memory allocation bitmap

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

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

Initial index size (number of objects)

Concurrency level for sequential search and sort operations

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

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)

By default GigaBASE drops existed indices if correspondent fields are not marked any more as indexable in the class descriptor. Setting this parameter to true allows to preserve indices. It may be useful if indices were created manually.

Transaction commit delay


The documentation for this struct was generated from the following file: