The Sync mechanism synchronizes data between data sources and the Fabric database. During a synchronization, extraction and transformation processes are executed on an LU Instance (LUI) whereby data is retrieved from source systems using the GET command and then loaded into the Fabric database.
Since Fabric receives multiple requests concurrently, the GET command's response time is highly important. To optimize the LUI retrieval process, Fabric uses a cache mechanism that has a predefined size limit which enables loading an instance into the memory faster.
The size and location of the cache on the Fabric server are defined in the [fabricdb] section of the config.ini file.
The size of the cache is limited and can be updated if needed. Note that more disk space is required when the cache size is increased.
The following variables in the [fabricdb] section of the config.ini are used to define the permanent storage and location of the cache in the Fabric server:
MDB_DEFAULT_SCHEMA_CACHE_STORAGE_TYPE, holds the storage type:
#MDB_DEFAULT_SCHEMA_CACHE_STORAGE_TYPE=com.k2view.cdbms.dao.CassandraEntityStorage
MDB_DEFAULT_CACHE_PATH, holds the location of the Fabric MDB cache files on the server.
#MDB_DEFAULT_CACHE_PATH=/dev/shm/fdb_cache
MDB_DEFAULT_SCHEMA_CACHE_SIZE, defines the size limit of the cache in bytes for MicroDB instances.
Fabric enables to modify the default location of the cache per Logical Unit using the MDB_DEFAULT_CACHE_PATH variable in the [fabricdb] section of the config.ini and the LU Schema's Cache Location property as follows:
When the Cache Location is set to Default, store the cache in /dev/shm/fdb_cache if it exists, otherwise store it in ${FABRIC_HOME}/storage/fdb_cache.
When the Cache Location is set to Storage, store the cache under the storage folder in Fabric ${FABRIC_STORAGE}/storage/fdb_cache if it exists, otherwise store it in ${FABRIC_HOME}/storage/fdb_cache.
If the default path in the config.ini is updated to another path, the cache is always located according to the config.ini regardless of the LU Schema property setting in the Fabric Studio.
Note that both the config.ini and the Fabric Studio configuration changes become effective only after Fabric is restarted. On the first LU deployment the restart is not required.
The Sync mechanism synchronizes data between data sources and the Fabric database. During a synchronization, extraction and transformation processes are executed on an LU Instance (LUI) whereby data is retrieved from source systems using the GET command and then loaded into the Fabric database.
Since Fabric receives multiple requests concurrently, the GET command's response time is highly important. To optimize the LUI retrieval process, Fabric uses a cache mechanism that has a predefined size limit which enables loading an instance into the memory faster.
The size and location of the cache on the Fabric server are defined in the [fabricdb] section of the config.ini file.
The size of the cache is limited and can be updated if needed. Note that more disk space is required when the cache size is increased.
The following variables in the [fabricdb] section of the config.ini are used to define the permanent storage and location of the cache in the Fabric server:
MDB_DEFAULT_SCHEMA_CACHE_STORAGE_TYPE, holds the storage type:
#MDB_DEFAULT_SCHEMA_CACHE_STORAGE_TYPE=com.k2view.cdbms.dao.CassandraEntityStorage
MDB_DEFAULT_CACHE_PATH, holds the location of the Fabric MDB cache files on the server.
#MDB_DEFAULT_CACHE_PATH=/dev/shm/fdb_cache
MDB_DEFAULT_SCHEMA_CACHE_SIZE, defines the size limit of the cache in bytes for MicroDB instances.
Fabric enables to modify the default location of the cache per Logical Unit using the MDB_DEFAULT_CACHE_PATH variable in the [fabricdb] section of the config.ini and the LU Schema's Cache Location property as follows:
When the Cache Location is set to Default, store the cache in /dev/shm/fdb_cache if it exists, otherwise store it in ${FABRIC_HOME}/storage/fdb_cache.
When the Cache Location is set to Storage, store the cache under the storage folder in Fabric ${FABRIC_STORAGE}/storage/fdb_cache if it exists, otherwise store it in ${FABRIC_HOME}/storage/fdb_cache.
If the default path in the config.ini is updated to another path, the cache is always located according to the config.ini regardless of the LU Schema property setting in the Fabric Studio.
Note that both the config.ini and the Fabric Studio configuration changes become effective only after Fabric is restarted. On the first LU deployment the restart is not required.