Skip to content

Commit

Permalink
[Doc] Update the default value of Hive Catalog property
Browse files Browse the repository at this point in the history
Signed-off-by: EsoragotoSpirit <[email protected]>
  • Loading branch information
EsoragotoSpirit committed Jul 16, 2024
1 parent a4c66a8 commit 226c336
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/en/data_source/catalog/hive_catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/data_source/catalog/hive_catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 小时。 |
Expand Down

0 comments on commit 226c336

Please sign in to comment.