Skip to main content
VeloDB Cloud 26.x is based on Apache Doris 4.x. See Version Mapping.

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 nameTypeDescription
FE_HOSTstringFrontend host that reports the cache.
CATALOG_NAMEstringExternal catalog name.
ENGINE_NAMEstringCatalog engine name.
ENTRY_NAMEstringCache entry category.
EFFECTIVE_ENABLEDbooleanWhether this cache is enabled after applying runtime conditions.
CONFIG_ENABLEDbooleanWhether configuration enables this cache.
AUTO_REFRESHbooleanWhether automatic refresh is enabled.
TTL_SECONDbigintCache time to live in seconds.
CAPACITYbigintConfigured entry capacity.
ESTIMATED_SIZEbigintEstimated number of cached entries.
REQUEST_COUNTbigintNumber of cache lookup requests.
HIT_COUNTbigintNumber of cache hits.
MISS_COUNTbigintNumber of cache misses.
HIT_RATEdoubleFraction of requests served from cache.
LOAD_SUCCESS_COUNTbigintNumber of successful cache loads.
LOAD_FAILURE_COUNTbigintNumber of failed cache loads.
TOTAL_LOAD_TIME_MSbigintTotal cache load time in milliseconds.
AVG_LOAD_PENALTY_MSdoubleAverage cache load time in milliseconds.
EVICTION_COUNTbigintNumber of cache evictions.
INVALIDATE_COUNTbigintNumber of explicit cache invalidations.
LAST_LOAD_SUCCESS_TIMEstringTime of the most recent successful load.
LAST_LOAD_FAILURE_TIMEstringTime of the most recent failed load.
LAST_ERRORstringMost recent cache load error.
WEIGHT_BOUNDEDbooleanWhether cache weight is bounded.
MAX_WEIGHTbigintMaximum permitted cache weight.
ESTIMATED_WEIGHTbigintEstimated current cache weight.
EVICTION_WEIGHTbigintCache weight evicted.
WEIGHT_REJECT_COUNTbigintNumber of loads rejected by the weight budget.
CATALOG_MAX_WEIGHTbigintMaximum cache weight for the catalog.
CATALOG_ESTIMATED_WEIGHTbigintEstimated cache weight for the catalog.
GLOBAL_MAX_WEIGHTbigintMaximum global cache weight.
GLOBAL_ESTIMATED_WEIGHTbigintEstimated global cache weight.
LAST_WEIGHT_REJECT_REASONstringMost 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.