target/bin/<PROCESSORcompiler>The
/targetdirectory under your eXtremeDB installation root contains a number of binary libraries in subdirectories with names beginning with "bin-": one set is for the target processor, and another set in the directory with a name beginning "bin-sim" is for the simulator in the host environment. These libraries are statically linked to your C/C++ applications. The libraries provided for all eXtremeDB packages are described below. Please refer to the following link for descriptions of additional libraries to support extension module features.Each library is provided in two forms:
- Debug — used during development to aid in finding application-level errors; contains several levels of checks for possible erroneous argument values and other error conditions that should be caught and resolved before application deployment. These are located in the directory with the
-debugsuffix.- Release — used when the development cycle is completed or when performance comparisons are desired; because most of the checks built into the debug version are removed, this version of the libraries performs significantly faster.
(Only release mode filenames are shown in the sections below.)
Required Libraries
The following tables list the essential libraries that implement the eXtremeDB functionality. Platform-dependent functionality is implemented in the set of libraries called the System Access Layer (SAL). At least one library from each of the categories below must be linked to C and C++ applications together with the supporting SAL libraries.
The SAL libraries in the following table implement the indicated functionality for all supported platforms:
libmcosalatomic.aAtomic operations.libmcosallatches.aLatches implementations.libmcosaltimer.aLow-resolution and high-resolution timer implementations.libmconet.aSystem network layer.libmcosalmem.aSystem memory management.libmcosalsmp.aSystem mutex, semaphores, threading, and other multi-thread/process related code.libmcosaldload.aSystem dynamic loader.libmcosalhollow.aStub functions for in-memory database single-threaded applications only.Core Runtime
Of the following libraries,
libmcolib.ais required for basic eXtremeDB functions, and eitherlibmcovtmem.aorlibmcovtdsk.ais required depending on whether a persistent database is used:libmcolib.aMain database functions.libmcovtmem.aVirtual Table management for in-memory databases.libmcovtdsk.aVirtual Table management for persistent and hybrid databases.Memory Device Manager
Depending on the type of database memory device being used, one of the following libraries is required:
libmcomconv.aConventional memory device.libmcomalloc.aConventional memory device with internal memory allocation by the eXtremeDB runtime.libmcompsx.aShared memory device using IPC.Transaction Manager
Depending on the choice of Transaction Manager, one of the following libraries is required:
libmcotmursiw.alibmcotmvcc.alibmcotexcl.aEXCLusive transaction manager.Concurrency Management
One of the following libraries is required to manage synchronization of database access from multiple threads or processes.
(Note that for minimalistic single-threaded in-memory database applications, a “hollow” synchronization stub is provided in library
libmcosalhollow.a. It has no synchronization code, so it is the fastest implementation—but it is valid for single-threaded applications only. If the application links withlibmcosalhollow.a, then no synchronization library is necessary.)libmcosvxn.aSynchronization implementation using conventional memory.libmcosvxshm.aSynchronization implementation using shared memory.Persistent Database Support
All C and C++ applications using the Persistent Storage APIs must link with
libmcovtdskinstead oflibmcovtmemfor "virtual table" control. In addition, the following file system wrapper library is required:libmcofvx.aVxWorks file system support.Or, if a custom file system wrapper is desired, the following library is provided as an empty "placeholder" (project files to build this library are also provided for convenience):
libmcofempty.aA placeholder for a possible custom VxWorks file system wrapper implementation.Utility Functions
Miscellaneous functionality used in eXtremeDB internals is provided in the following libraries. Depending on whether the standard C runtime libraries are used, one of these is required:
libmcouwrt.aUtilities using the C runtime.libmcounrt.aUtilities without the C runtime.Optional Libraries
The following sections describe optional libraries that are required only for the specified eXtremeDB features:
Dynamic Module Loader [Optional]
The following library provides the capability to dynamically load parts of the eXtremeDB core on request:
libmcoloader.aProvides themco_core_load()API to dynamically load parts of the eXtremeDB core on request.Sequence Data Type Support [Optional]
These libraries provide basic
sequencedata type operations such as reading and insertingsequencedata. All applications that use thesequencedata type must link with one of the following libraries:libmcoseq.aSequencedata type API support.libmcoseqrle.aSequencedata type with RLE compression API support.Analytics Function Library Support [Optional]
If, in addition to basic sequence operations, mathematics and statistical functions that operate on sequences are required, applications must link with one of the following libraries:
libmcoseqmath.aMathematical and statistical functions operating onsequences.libmcoseqrlemath.aMathematical and statistical functions operating onsequenceswith RLE compression.Active Replication Fabric Support [Optional]
eXtremeDB Active Replication Fabric packages provide the following libraries. All applications that use ARF (IoT) APIs must link with both:
libmcoiotcomm.aIoT communication library.libmcoiotrepl.aIoT replication.Transaction Logging APIs [Optional]
The eXtremeDB Transaction Logging APIs are implemented in the following library. All applications that use the Transaction Logging API must link with:
libmcolog.aTransaction Logging API.In addition, all applications that use the Transaction Logging APIs must link with a File System Wrapper library (see the Persistent Database Support section above).
Backup [Optional]
The following library is provided for applications using the incremental backup feature to backup and restore databases on persistent media:
libmcobackup.aIncremental backup and restore for in-memory and persistent databases.Serialization [Optional]
The following library is provided for applications using the
save/loadfeatures to store and retrieve database or class snapshots on persistent media. (Note that this functionality does not require file system wrappers. Thesave/loadfeatures use an abstract stream (implemented by the application) to transfer data to the operating system.)Serialization capability is implemented in the following library:
libmcoseri.aSerialization (save and load) for all-in-memory databases.Uniform Data Access (UDA) [Optional]
For applications that use the Uniform Data Access functions, the following library is required:
libmcouda.aRequired if UDA APIs are used.Debug Error and Tracing Diagnostics [Optional]
The eXtremeDB tracing framework allows applications to output trace and debugging information to a log file. If desired, the following library can be included:
libmcotrace.aRequired if the tracing framework is used.Database Calculator [Optional]
The following library is required for applications that use the database calculator:
libmcodbcalc.aDatabase Calculator implementation.Cryptography [Optional]
The Database Encryption feature requires one of the following libraries:
libmcocryptaes.aAES encryption algorithm.libmcocryptstub.aEmpty encryption APIs for custom implementation.