diff --git a/docs/en/data_source/catalog/hive_catalog.md b/docs/en/data_source/catalog/hive_catalog.md index 16cc0c914b2431..22638e374ec688 100644 --- a/docs/en/data_source/catalog/hive_catalog.md +++ b/docs/en/data_source/catalog/hive_catalog.md @@ -475,7 +475,7 @@ In most cases, if your Hive data is updated at a granularity of 1 hour or less, |----------------------------------------| -------- | ------------------------------------------------------------ | | enable_metastore_cache | No | Specifies whether StarRocks caches the metadata of Hive tables. Valid values: `true` and `false`. Default value: `true`. The value `true` enables the cache, and the value `false` disables the cache. | | enable_remote_file_cache | No | Specifies whether StarRocks caches the metadata of the underlying data files of Hive tables or partitions. Valid values: `true` and `false`. Default value: `true`. The value `true` enables the cache, and the value `false` disables the cache. | -| metastore_cache_refresh_interval_sec | No | The time interval at which StarRocks asynchronously updates the metadata of Hive tables or partitions cached in itself. Unit: seconds. Default value: `7200`, which is 2 hours. | +| metastore_cache_refresh_interval_sec | No | The time interval at which StarRocks asynchronously updates the metadata of Hive tables or partitions cached in itself. Unit: seconds. Default value: `60`, which is one minute. Since v3.3.0, the default value of this property is changed from `7200` to `60`. | | remote_file_cache_refresh_interval_sec | No | The time interval at which StarRocks asynchronously updates the metadata of the underlying data files of Hive tables or partitions cached in itself. Unit: seconds. Default value: `60`. | | metastore_cache_ttl_sec | No | The time interval at which StarRocks automatically discards the metadata of Hive tables or partitions cached in itself. Unit: seconds. Default value: `86400`, which is 24 hours. | | remote_file_cache_ttl_sec | No | The time interval at which StarRocks automatically discards the metadata of the underlying data files of Hive tables or partitions cached in itself. Unit: seconds. Default value: `129600`, which is 36 hours. | diff --git a/docs/zh/data_source/catalog/hive_catalog.md b/docs/zh/data_source/catalog/hive_catalog.md index 8b1c8b6e719fc7..718623aaaecb59 100644 --- a/docs/zh/data_source/catalog/hive_catalog.md +++ b/docs/zh/data_source/catalog/hive_catalog.md @@ -481,7 +481,7 @@ StarRocks 默认采用[自动异步更新策略](#附录理解元数据自动异 | -------------------------------------- | -------- | ------------------------------------------------------------ | | enable_metastore_cache | 否 | 指定 StarRocks 是否缓存 Hive 表的元数据。取值范围:`true` 和 `false`。默认值:`true`。取值为 `true` 表示开启缓存,取值为 `false` 表示关闭缓存。 | | enable_remote_file_cache | 否 | 指定 StarRocks 是否缓存 Hive 表或分区的数据文件的元数据。取值范围:`true` 和 `false`。默认值:`true`。取值为 `true` 表示开启缓存,取值为 `false` 表示关闭缓存。 | -| metastore_cache_refresh_interval_sec | 否 | StarRocks 异步更新缓存的 Hive 表或分区的元数据的时间间隔。单位:秒。默认值:`7200`,即 2 小时。 | +| metastore_cache_refresh_interval_sec | 否 | StarRocks 异步更新缓存的 Hive 表或分区的元数据的时间间隔。单位:秒。默认值:`60`,即一分钟。自 v3.3.0 起,该属性默认值由 `7200` 变更为 `60`。 | | remote_file_cache_refresh_interval_sec | 否 | StarRocks 异步更新缓存的 Hive 表或分区的数据文件的元数据的时间间隔。单位:秒。默认值:`60`。 | | metastore_cache_ttl_sec | 否 | StarRocks 自动淘汰缓存的 Hive 表或分区的元数据的时间间隔。单位:秒。默认值:`86400`,即 24 小时。 | | remote_file_cache_ttl_sec | 否 | StarRocks 自动淘汰缓存的 Hive 表或分区的数据文件的元数据的时间间隔。单位:秒。默认值:`129600`,即 36 小时。 |