catalog_meta_cache_statistics
Inspect external catalog metadata caches, including hit rates, entry counts, load failures, and cache capacity.
Run the query in the warehouse SQL Editor or a connected SQL client:
SELECT * FROM information_schema.catalog_meta_cache_statistics LIMIT 10;
Database
information_schema
Table information
| Column name | Type | Description |
|---|---|---|
FE_HOST | string | Frontend host that reports the cache. |
CATALOG_NAME | string | External catalog name. |
ENGINE_NAME | string | Catalog engine name. |
ENTRY_NAME | string | Cache entry category. |
EFFECTIVE_ENABLED | boolean | Whether this cache is enabled after applying runtime conditions. |
CONFIG_ENABLED | boolean | Whether configuration enables this cache. |
AUTO_REFRESH | boolean | Whether automatic refresh is enabled. |
TTL_SECOND | bigint | Cache time to live in seconds. |
CAPACITY | bigint | Configured entry capacity. |
ESTIMATED_SIZE | bigint | Estimated number of cached entries. |
REQUEST_COUNT | bigint | Number of cache lookup requests. |
HIT_COUNT | bigint | Number of cache hits. |
MISS_COUNT | bigint | Number of cache misses. |
HIT_RATE | double | Fraction of requests served from cache. |
LOAD_SUCCESS_COUNT | bigint | Number of successful cache loads. |
LOAD_FAILURE_COUNT | bigint | Number of failed cache loads. |
TOTAL_LOAD_TIME_MS | bigint | Total cache load time in milliseconds. |
AVG_LOAD_PENALTY_MS | double | Average cache load time in milliseconds. |
EVICTION_COUNT | bigint | Number of cache evictions. |
INVALIDATE_COUNT | bigint | Number of explicit cache invalidations. |
LAST_LOAD_SUCCESS_TIME | string | Time of the most recent successful load. |
LAST_LOAD_FAILURE_TIME | string | Time of the most recent failed load. |
LAST_ERROR | string | Most recent cache load error. |
WEIGHT_BOUNDED | boolean | Whether cache weight is bounded. |
MAX_WEIGHT | bigint | Maximum permitted cache weight. |
ESTIMATED_WEIGHT | bigint | Estimated current cache weight. |
EVICTION_WEIGHT | bigint | Cache weight evicted. |
WEIGHT_REJECT_COUNT | bigint | Number of loads rejected by the weight budget. |
CATALOG_MAX_WEIGHT | bigint | Maximum cache weight for the catalog. |
CATALOG_ESTIMATED_WEIGHT | bigint | Estimated cache weight for the catalog. |
GLOBAL_MAX_WEIGHT | bigint | Maximum global cache weight. |
GLOBAL_ESTIMATED_WEIGHT | bigint | Estimated global cache weight. |
LAST_WEIGHT_REJECT_REASON | string | Most recent weight budget rejection reason. |
Use DESCRIBE information_schema.catalog_meta_cache_statistics; to inspect the schema in your warehouse.
Inspect cache behavior
SELECT CATALOG_NAME, ENGINE_NAME, ENTRY_NAME, HIT_RATE,
ESTIMATED_SIZE, LOAD_FAILURE_COUNT, LAST_ERROR
FROM information_schema.catalog_meta_cache_statistics
ORDER BY CATALOG_NAME, ENGINE_NAME, ENTRY_NAME;
Hit rates are fractions. Load time columns use milliseconds. Size and weight fields are estimates and can change while queries run.