How to Cache FHIR Data Catalog Metadata: Explanation of the CacheMetadata Feature
CData Tableau Connector for FHIR - CacheMetadata
Summary
The CData Tableau Connector offers a 'CacheMetadata' feature that saves table metadata from the FHIR data catalog into a file-based cache database. This significantly improves the speed of metadata retrieval, especially in large-scale FHIR instances or environments with frequent connections.
Details
This article explains the 'CacheMetadata' function within the CData Tableau Connector. When enabled, this setting caches the table metadata from the FHIR catalog into a dedicated cache database upon query execution. This dramatically speeds up subsequent metadata discovery processes because the information is read directly from the cache database rather than being requested from the live FHIR source. The feature is particularly useful in environments with a large number of FHIR tables and columns. However, users must be aware that this cache is static; it does not automatically reflect changes to the underlying table schema (such as added or deleted columns). Therefore, new metadata requires manually deleting and rebuilding the cache database file. While the connector typically persists metadata in memory for up to an hour, making CacheMetadata generally unnecessary, its use is highly valuable for performance optimization in large-scale FHIR environments or workflows involving numerous connections.
Original content copyright by respective publishers