Database - Database Handle
Database handles are created in order to access data in an ODABA database. An ODABA database has to refer to a dictionary, which defines the schema for the database and application resources.
Each ODABA database consists of at least one object space (root object space) that is the owner of extents and other data collections. When creating a database handle, the object space handle inherits object space handle (ObjectSpace) for the root object.
A database may consists of a number of physical separated main bases and data areas. This is, however, handled internally after creating the database. For creating a multiple resource database the database handle provides several functions for initializing main and data areas.
Moreover, the database handle provides log file and recovery features, that allow logging all changes made on the database or recovering the database in case of errors.
The workspace feature supported by the database handle is a sort of persistent transactions. It allows storing changes for a longer period outside the database and consolidating or discarding changes when requested by the user.
- 1. Administration - Administration functions
- 3.1. Extensions - Handling dynamic data type extensions
- 4. Context function support - Context function support
- 5. Versions - Database versioning
- 6. Replication - Replication server support
- 7. Workspace - Workspace support
- 8. Recovery - Recovery log support
- 9. Maintenance - Database maintenance functions
- Database - Opening a database handle
- activateShadowBase - Activate Shadow Database
- applicationLicensed - Check Application License
- assign - Assign database handle
- backupDatabase - Backup database
- changeRecovery - Enable/disable recovery support
- checkDatabase - Check database consistency
- close - Close database handle
- closeMirror - - internal feature (not documented)
- closeRecovery - Close recovery file
- closeWorkspace - Close workspace
- consolidateWorkspace - Consolidate Workspace
- copyExtensions - Copy extension properties
- createMajorVersion - Create new major version
- createVersion - Create new version
- databaseContext - Get database context
- databaseIdentifier - Get database resource number
- deactivateShadowBase - Deactivate Shadow Database
- deleteWorkspace - Delete workspace
- disableReplication - Disable replication database
- disableWorkspace - Disabling workspace feature
- disableWrite - Disable write feature for database
- discardWorkspace - Discard Workspace
- enableReplication - Enable replication master
- enableWorkspace - Enable workspace feature
- enableWrite - Enable write feature for database
- entryStatus - Get database entry status
- existsWorkspace - Exist workspace?
- extensionDefinition - Get extension property definition
- extensionExist - Does extension property exist
- extensionsCount - Get extension property count
- hasVersions - Has database versions
- initializeOptions - Initialize options
- initializeRecovery - Initialize recovery file
- lastMajorVersion - Last major version
- lastVersion - Last owner scope version
- licensed - Licensed property
- loadExtensions - Refresh extension property definitions
- locateWorkspace - Locate an existing Workspace
- majorVersionBegin - Get major version begin
- majorVersionCount - Number of major versions
- majorVersionEnd - Get major version end
- open - Open database handle
- openMirror - Open mirror database
- openReplicate - Open replication database
- openWorkspace - Open Workspace
- operator= - Create database handle copy
- path - Database path property
- pif - Platform independent property
- recoveryFile - Recovery file name
- recoveryNumber - Current recovery number
- recoveryPath - Path for recovery folder
- recoveryStartNumber - Recovery start number
- recoveryType - Recovery type
- recreateExtent - Recreate Index for an extent
- registerLicence - Register license
- resetMajorVersion - Reset major version
- resetSchemaVersion - Reset schema version
- resetVersion - Reset owner scope version
- resourceDatabase - Resource database
- restoreDatabase - Restore database
- schemaVersion - Schema version
- shared - Shared use for database
- storeOption - Store option in database configuration
- storeOptions - Store options in database configuration
- systemVersion - ODABA system schema version
- toMajorVersion - Get major version number for the time point
- unerase - Unerase database entry
- updateMajorVersion - Change time stamp for major version end
- versionString - Database version string
- versioningMode - Versioning mode
- workspaceName - Get workspace names
- ~Database - Destructor