Skip to content

KxDatabaseCacheConfiguration

Source code in docs_src/capo_finspace/types/kx_database_cache_configuration.py
class KxDatabaseCacheConfiguration(TypedDict, closed=True):
    cache_type: "capo_finspace.types.kx_cache_storage_type.KxCacheStorageType"
    """<p>The type of disk cache. This parameter is used to map the database path to cache storage. The valid values are:</p> <ul> <li> <p>CACHE_1000 – This type provides at least 1000 MB/s disk access throughput. </p> </li> </ul>"""
    db_paths: "capo_finspace.types.db_paths.DbPaths"
    """<p>Specifies the portions of database that will be loaded into the cache for access.</p>"""
    dataview_name: NotRequired["capo_finspace.types.kx_dataview_name.KxDataviewName"]
    """<p> The name of the dataview to be used for caching historical data on disk. </p>"""

cache_type instance-attribute

cache_type: KxCacheStorageType

The type of disk cache. This parameter is used to map the database path to cache storage. The valid values are:

  • CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.

dataview_name instance-attribute

dataview_name: NotRequired[KxDataviewName]

The name of the dataview to be used for caching historical data on disk.

db_paths instance-attribute

db_paths: DbPaths

Specifies the portions of database that will be loaded into the cache for access.