The
\target\bin
directory under your eXtremeDB installation root directory contains Java archivesextremedb.jar
andextremedb_jdbc.jar
, apython
subdirectory and a number of binary libraries described below. The Java archive files are required only for Java applications and JDBC applications. The Python subdirectory contains shared object libraries andexdb.py
which are required for Python applications.Python Subdirectory
The
/target/bin/python
directory contains the eXtremeDB Python implementation source fileexdb.py
and the following Windows Dynamic Link Library files. (As for native C libraries, both debug (with suffix_debug
) and release mode versions are provided. Only the release mode filenames are listed below).Native C Libraries
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.)
The native C libraries (upon which the C++, Python, Java and .NET Framework wrappers depend) are described in the sections below. 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 easily recognized with the
_debug
suffix in the filename- 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.)
The Windows eXtremeDB runtime can be linked to applications in two ways.
- Statically as a set of static libraries (with extension
.lib
)- Dynamically using a set of dynamic libraries (with extension
.dll
)Whereas C and C++ applications will normally statically link the appropriate eXtremeDB libraries, Python, Java and .NET Framework applications load DLL versions of the necessary libraries at runtime. Use of the dynamically linked runtime provides advantages:
- the ability to choose the exact runtime features at application start time, rather than at link time
- the ability to create and call User-Defined Functions from the SQL engine, as they are created as a plugin modules
Static Libraries
The sections below describe the static libraries that comprise the eXtremeDB runtime. For a description of the dynamic libraries see pages eXtremeDB Windows Dynamic Link Libraries and eXtremeDB Extension Module Windows Dynamic Link Libraries.
Required Libraries
The following tables lists the essential libraries that implement the eXtremeDB functionality. Platform-dependent functionality is implemented in the set of libraries called System Access Layer (SAL) . At least one of the libraries 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:
mcosalatomic.lib Atomic operations mcosallatches.lib Latches implementations mcosaltimer.lib Low-resolution and hi-resolution timer implementations mconet.lib System network layer mcosalmem.lib System memory management mcosalsmp.lib System mutex, semaphores, threading and other multi-thread/process related code mcosaldload.lib System dynamic loader mcosalhollow.lib Stub functions for in-memory database single-threaded applications only Core Runtime
Of the following libraries,
mcolib.lib
is required for basic eXtremeDB functions and eithermcovtmem.lib
ormcovtdsk.lib
is required depending on whether a persistent database is used:
mcolib.lib Main database functions mcovtmem.lib Virtual Table management for all-in-memory databases mcovtdsk.lib Virtual 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:
mcomconv.lib Conventional memory device mcomalloc.lib Conventional memory device with internal memory allocation by the eXtremeDB runtime mcomw32.lib Shared memory device Transaction Manager
Depending on the choice of Transaction Manager, one of the following libraries is required:
mcotmursiw.lib MURSIW (MUlti-Read-Single-Write) transaction manager mcotmvcc.lib MVCC (Multi Version Concurrency Control) transaction manager mcotexcl.lib EXCLusive transaction manager Concurrency Management
One of the following libraries is required to manage synchronization of database access from multiple threads or processes.
(Note that minimalistic single threaded in-memory database applications, a “hollow” synchronization stub is provided in library
mcosalhollow.lib
. It has no synchronization code so it is the fastest implementation - but it is valid for single-threaded applications only. If the application links withmcosalhollow.lib
then no synchronization library is necessary).
mcosw32.lib Native Windows synchronization with “atomic operations” to avoid unnecessary kernel calls. mcosw32n.lib Native Windows synchronization without “atomic operations” Persistent Database Support
All C and C++ applications using the Persistent Storage APIs must link with
mcovtdsk.lib
instead ofmcovtmem.lib
for "virtual table" control, and, in addition, the following file system library is required:
mcofw32.lib Windows file system support Utility Functions
Miscellaneous functionality used in eXtremeDB internals are provided in the following libraries. Depending on whether the standard C runtime libraries are used one of these is required:
mcouwrt.lib Utilities using the C runtime mcounrt.lib Utilities without the C runtime Optional Libraries
The following sections describe optional libraries that are required only for the eXtremeDB features specified:
Dynamic Module Loader [Optional]
The following library provides the capability to dynamically load parts of the eXtremeDB core on request:
mcoloader.lib Provides the mco_core_load()
API to dynamically load parts of the eXtremeDB core on requestSequence Data Type Support [Optional]
These libraries provide basic
data type operations such as reading and inserting
sequence
sequence
data. All applications that use thesequence
data type must link with one of the following libraries:
mcoseq.lib Sequence
data type API supportmcoseqrle.lib Sequence
data type with RLE compression API supportAnalytics 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:
mcoseqmath.lib Mathematical and statistical functions operating on sequences
mcoseqrlemath.lib Mathematical and statistical functions operating on sequences
with RLE compressionActive Replication Fabric Support [Optional]
eXtremeDB Active Replication Fabric packages provide the following libraries. All applications that use ARF (IoT) APIs must link with both:
mcoiotcomm.lib IOT communication library mcoiotrepl.lib IOT 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:
mcolog.lib Transaction 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:
mcobackup.lib Incremental backup and restore for in-memory and persistent databases Serialization [Optional]
The following library is provided for applications using the
save
/load
features to store and retrieve database or class snapshots on persistent media. (Note that this functionality does not require file system wrappers. Thesave
/load
features use an abstract stream (implemented by the application) to transfer data to the operating system.)Serialization capability is implemented in the following library:
mcoseri.lib Serialization (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:
mcouda.lib Required 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:
mcotrace.lib Required if tracing framework is used Database Calculator [Optional]
The following library is required for applications that use the database calculator:
mcodbcalc.lib Database Calculator implementation HTTP Database Viewer [Optional]
The HTTP Viewer requires the following two libraries:
mcoews.lib HTTP server implementation mcohv.lib HTTP Database Viewer (without SQL capability) Cryptography [Optional]
The Database Encryption feature requires one of the following libraries:
mcocryptaes.lib AES encryption algorithm mcocryptstub.lib Empty encryption APIs for custom implementation