Aleksandr Zakharchenko
11/17/2026, 4:33 PMRocky
11/17/2026, 4:33 PMiceberg_meta_cache_ttl_sec — this is not an FE config at all; it's an Iceberg catalog property (default `86400`; expire-after-write for the database/table/partition/file caches; on REST catalogs the table entry is capped at 3000 s in 4.0/4.1). So:
• There is no global form of it — you set it per catalog: CREATE CATALOG ... PROPERTIES ("iceberg_meta_cache_ttl_sec" = "...") or ALTER CATALOG <name> SET ("iceberg_meta_cache_ttl_sec" = "...").
• ALTER CATALOG ... SET does apply without a restart, but it replaces the connector, so that catalog's caches start cold. You'd have to run it on each Iceberg catalog individually.
hive_meta_cache_ttl_s — this is an FE config (type long, default 3600L * 24L, i.e. 86400). Per the source it's static, so it can't be changed with `ADMIN SET FRONTEND CONFIG`; you'd edit fe.conf and restart. It only acts as the implicit default for the Hive catalog property metastore_cache_ttl_sec.
If what you actually want is to change the TTL at runtime, use the per-catalog property instead, which is what the docs describe:
ALTER CATALOG <hive_catalog> SET ("metastore_cache_ttl_sec" = "3600");
(same cold-cache caveat as above).
Caveats on my confidence: the iceberg_meta_cache_ttl_sec is-mutable behaviour and the cold-cache effect of ALTER CATALOG ... SET come from internal source reading, not the user-facing docs — the 4.1 Iceberg catalog page lists the MetadataRelatedParams set but doesn't document iceberg_meta_cache_ttl_sec itself, and hive_meta_cache_ttl_s isn't in the 4.1 FE parameter docs at all. Worth verifying directly on 4.1.6 (`SHOW CATALOGS`/`ALTER CATALOG` behaviour) or asking in the StarRocks community Slack if this is load-bearing for you.
References
• administration/configuration/FE_parameters/log_server_meta.md
• administration/configuration/FE_parameters/shared_lake_other.md
• data_source/catalog/iceberg/iceberg.md
• data_source/feature-support-data-lake-analytics.md
• knowledge/qa/iceberg_query_latency_and_metadata_cache.md (StarRocks knowledge base)
• data_source/catalog/hive_catalog.mdAleksandr Zakharchenko
11/17/2026, 4:41 PMiceberg_meta_cache_ttl_secRocky
11/17/2026, 4:41 PM86400 seconds (24 hours) — it's the expire-after-write TTL for the Iceberg database, table, partition and file caches.
Two caveats:
• This value comes from the FE source (IcebergCatalogProperties, default 86400) and the internal knowledge-base notes, not from the user-facing Iceberg catalog page — the MetadataRelatedParams table in the 4.1 docs doesn't document iceberg_meta_cache_ttl_sec itself, so treat 86400 as source-derived rather than officially documented.
• Special cases: setting it to 0 means each query fetches a new snapshot (docs suggest this only if you need maximum freshness, at a planning-cost); on REST catalogs the table-cache entry is capped at 3000 s in 4.0/4.1.
It's a per-catalog property, so it is only "global" in the sense that new catalogs inherit the default — each catalog has its own value.
References
• data_source/catalog/iceberg/iceberg.md
• administration/configuration/FE_parameters/shared_lake_other.md
• administration/configuration/FE_parameters/log_server_meta.md
• data_source/feature-support-data-lake-analytics.md
• knowledge/qa/iceberg_query_latency_and_metadata_cache.md (StarRocks knowledge base)
• data_source/catalog/hive_catalog.mdAleksandr Zakharchenko
11/17/2026, 4:42 PMRocky
11/17/2026, 4:42 PMCREATE EXTERNAL CATALOG ... PROPERTIES (...) and `DROP CATALOG`; there's no ALTER CATALOG ... DROP/UNSET statement in the SQL reference, and ALTER CATALOG <name> SET (...) (which is used in catalog docs for things like properties changes) only adds or overwrites keys — it doesn't remove them.
The practical workaround is drop + recreate the catalog without that property:
sql
SHOW CREATE CATALOG <catalog_name>; -- capture current properties (also handy before dropping)
DROP CATALOG <catalog_name>;
CREATE EXTERNAL CATALOG <catalog_name> PROPERTIES (...); -- same as before, minus the key
Two things to be aware of:
• Privileges are lost. The privilege FAQ states that recreating a catalog causes its related privileges to be lost, so back up grants before dropping and restore them after.
• Caches go cold on the recreated catalog, same as with ALTER CATALOG ... SET.
Caveat: I could not confirm from the docs or source whether there is any undocumented way (e.g. setting an empty value) to make a property fall back to its default — I'd rather not guess. If this matters, the safest path is drop + recreate, or ask in the StarRocks community Slack. Also note for the specific case you asked about earlier: for TTL properties the usual trick is just to set them back to the default value ("iceberg_meta_cache_ttl_sec" = "86400") rather than removing the key — functionally equivalent, and no drop needed.
References
• data_source/catalog/unified_catalog.md
• sql-reference/sql-statements/table_bucket_part_index/ALTER_TABLE.md
• sql-reference/sql-statements/Catalog/CREATE_EXTERNAL_CATALOG.md
• sql-reference/sql-statements/Catalog/DROP_CATALOG.md
• sql-reference/sql-statements/Resource/ALTER_RESOURCE.md
• data_source/catalog/kudu_catalog.mdAleksandr Zakharchenko
11/17/2026, 4:43 PMAleksandr Zakharchenko
11/17/2026, 4:43 PMRocky
11/17/2026, 4:43 PMALTER MATERIALIZED VIEW ... SET ("key" = "value"), which adds or overwrites properties; the property list in ALTER MATERIALIZED VIEW (bloom_filter_columns, partition_ttl_number, partition_refresh_number, partition_refresh_strategy, resource_group, auto_refresh_partitions_limit, excluded_trigger_tables, excluded_refresh_tables, mv_rewrite_staleness_second, unique_constraints, foreign_key_constraints, colocate_with, and session.*) is all settable, none removable.
So two practical options:
1. Set it back to the default value instead of removing it — for session.* properties this is usually what you actually want (the MV then uses the same value the session variable default would give). No recreate, no data loss.
2. Drop and recreate the MV without the property — the only true removal:
sql
SHOW CREATE MATERIALIZED VIEW <mv_name>; -- capture the definition
DROP MATERIALIZED VIEW <mv_name>;
CREATE MATERIALIZED VIEW <mv_name> ... ; -- same definition, minus the property
Be aware you lose the MV's data (it must be refreshed again) and privileges granted on it likely need re-granting.
Caveats on confidence: I could not find any documented way to unset an MV property — I didn't confirm in source whether an empty value ("") is treated as "unset" and reverts to the default. For most properties it isn't; and there's a known case where a property is only honoured at creation time (datacache.partition_duration on cloud-native MVs fails on ALTER MATERIALIZED VIEW in 3.5–4.1 and needs drop+recreate). If the specific property matters, say which one and I can check; otherwise the safe route is recreate, or ask in the StarRocks community Slack.
References
• sql-reference/sql-statements/materialized_view/CREATE_MATERIALIZED_VIEW.md
• sql-reference/sql-statements/materialized_view/ALTER_MATERIALIZED_VIEW.md
• using_starrocks/async_mv/Materialized_view.md
• sql-reference/sql-statements/materialized_view/DROP_MATERIALIZED_VIEW.md
• using_starrocks/Materialized_view-single_table.md
• knowledge/qa/datacache_partition_duration.md (StarRocks knowledge base)