RuntimeInfo provides access to the eXtremeDB database runtime settings.
public static class RuntimeInfo { public byte mco_version_major; public byte mco_version_minor; public short mco_build_number; public byte mco_size_t; public byte mco_offs_t; public boolean uint4_supported; public boolean float_supported; public byte mco_checklevel; public boolean evaluation_version; public boolean large_database_supported; public boolean collation_supported; public boolean heap31_supported; public boolean bin_serialization_supported; public boolean fixedrec_supported; public boolean statistics_supported; public boolean events_supported; public boolean save_load_supported; public boolean object_initialization_supported; public boolean direct_index_field_access_supported; public boolean multiprocess_access_supported; public boolean object_repack_supported; public boolean transaction_logging_supported; public boolean cluster_supported; public boolean high_availability_supported; public boolean ha_multicast_supported; public boolean ha_incremental_replication_supported; public boolean binary_schema_evalution_supported; public boolean unicode_supported; public boolean wchar_supported; public boolean recovery_supported; public boolean disk_supported; public boolean direct_pointers_supported; public boolean persistent_object_supported; public boolean xml_import_export_supported; public boolean user_defined_index_supported; public boolean multifile_supported; public boolean multifile_descriptor_supported; public boolean two_phase_commit_supported; public boolean rtree_supported; public boolean tree_based_hash; public boolean tmgr_mvcc_async_cleanup; public boolean concurent_disk_btree; public boolean open_cursor_goto_first; public boolean smart_index_insert; public boolean btree_leaf_lock; public boolean null_statistics; public boolean implicit_runtime_start; public boolean bufferized_sync_iostream; public boolean async_replication; public boolean fast_transaction_list; public boolean extendable_dirty_page_bitmap; public byte mursiw_policy; public byte sync_capabilities; public byte char_comparison_policy; public long stream_buffer_size; public byte max_db_instances; public byte max_db_name_length; public byte max_extends; public long tl_page_buffer_size; public short ha_max_replicas; public long ha_transmit_buffer_size; public long ha_syncronization_buffer_size; public long default_redo_log_limit; public byte mvcc_critical_sections; public byte mvcc_per_index_locks; public short con_disk_page_cache_size; public byte small_con_cache_threshold; public long extendable_dirty_page_bitmap_limit; public byte max_vista_sessions; public byte concurrent_write_transactions; public byte encryption_support; public boolean backup_support; public String mco_revision; public byte mco_process_t; };
mco_version_major
mco_version_minor
mco_build_number
mco_size_t
mco_size_t variable, which depends on the x32/x64 architecture.mco_offs_t
mco_offs_t variable, which depends on the x32/x64 architecture.uint4_supported
True, the uint4 data type is supported.float_supported
True, the double/float data types are supported.mco_checklevel
evaluation_version
True, this is an eXtremeDB evaluation package.large_database_supported
True, large databases (>4G) are supported in x32 runtime mode.collation_supported
True, external collations (index comparison) are supported.heap31_supported
True, the eXtremeDB v3.1 application-level heap feature is supported.bin_serialization_supported
True, binary or XML serialization is supported.fixedrec_supported
True, FIXEDREC allocations for constant-size objects are supported.statistics_supported
True, statistics collection is enabled.events_supported
True, synchronous/asynchronous events are supported.save_load_supported
True, the Connection methods saveSnapshot(), saveClass() and loadClass() are supported.True, initialization of new object fields (instead of zeros) is supported.True, the optimization that uses values of indexed fields from the indexes instead of object bodies is supported (persistent objects).multiprocess_access_supported
object_repack_supported
transaction_logging_supported
True, eXtremeDB Transaction Logging is enabled.cluster_supported
True, eXtremeDB Cluster is enabled.high_availability_supported
True, eXtremeDB High Availability is enabled.ha_multicast_supported
True, eXtremeDB High Availability multicast communication is enabled.True, eXtremeDB High Availability incremental replication is enabled.True, Binary Schema Evolution is enabled.unicode_supported
True, Unicode (nchar / nstring data types) is supported.wchar_supported
True, WChar (wchar / wstring data types) is supported. Requires the C/C++ runtime.recovery_supported
disk_supported
True, persistent objects (vtmem / vtdsk runtime) are supported.direct_pointers_supported
True, direct- or offset-based pointers in the database (DPTR / OFFS runtime) are supported.persistent_object_supported
True, object persistence is supported (allows persistent objects in the IM-OFFS runtime).xml_import_export_supported
True, XML database export/import is supported.user_defined_index_supported
True, user-defined indexes (comparison) are supported.multifile_supported
True, multi-file persistent storage is supported.multifile_descriptor_supported
True, a multi-file descriptor file (mfd-file) is supported for the multi-file persistent storage feature.two_phase_commit_supported
True, two-phase commit is supported.rtree_supported
True, the rtree index implementation code is included in the runtime.tree_based_hash
True, the tree-based hash implementation (for internal debugging) is supported.tmgr_mvcc_async_cleanup
MCO_CFG_TMGR_MVCC_ASYNC_CLEANUP in file mcocfg.h).concurent_disk_btree
open_cursor_goto_first
smart_index_insert
btree_leaf_lock
tree indexes.null_statistics
implicit_runtime_start
bufferized_sync_iostream
async_replication
fast_transaction_list
extendable_dirty_page_bitmap
mursiw_policy
MURSIW TM behavior: 0 — Priority-based transaction queue, 1 — Sequential transaction queue, 2 — Global sync, 3 — RW-Lock.sync_capabilities
char_comparison_policy
stream_buffer_size
max_db_instances
max_db_name_length
max_extends
tl_page_buffer_size
ha_max_replicas
ha_transmit_buffer_size
ha_syncronization_buffer_size
default_redo_log_limit
REDO log length limit; the default is 16M.mvcc_critical_sections
mvcc_per_index_locks
con_disk_page_cache_size
small_con_cache_threshold
con_disk_page_cache_size > small_con_cache_threshold; an array is used otherwise.max_vista_sessions
concurrent_write_transactions
encryption_support
The numeric identifier of the currently supported encryption algorithm, as specified in mco.h:
#define MCO_CFG_NO_ENCRYPTION 0
#define MCO_CFG_RC4_OLD_ENCRYPTION 1
#define MCO_CFG_RC4_ENCRYPTION 2
#define MCO_CFG_AES_ENCRYPTION 3
Note that the value MCO_CFG_RC4_OLD_ENCRYPTION indicates
"RC4 encryption without page offset as salt: for backward compatibility only".
backup_support
True, the Incremental Backup feature is supported.mco_revision
mco_process_t
sizeof(mco_process_t) — the size of the process identifier data type in bytes.
This data type is usually utilized as a context in a database connection, which in turn is used in
sniffer functionality.