[opt](catalog) modify some meta cache logic (#38506) (#39628)

#38506
This commit is contained in:
Mingyu Chen
2024-08-20 21:57:55 +08:00
committed by GitHub
parent 12ed2951c4
commit 0e21dba817
7 changed files with 22 additions and 20 deletions

View File

@ -1968,16 +1968,20 @@ public class Config extends ConfigBase {
* Max cache num of hive partition.
* Decrease this value if FE's memory is small
*/
@ConfField(mutable = false, masterOnly = false)
public static long max_hive_partition_cache_num = 100000;
@ConfField(description = {"Hive Metastore 表级别分区缓存的最大数量。",
"Max cache number of partition at table level in Hive Metastore."})
public static long max_hive_partition_cache_num = 10000;
@ConfField(mutable = false, masterOnly = false, description = {"Hive表名缓存的最大数量。",
"Max cache number of hive table name list."})
public static long max_hive_table_cache_num = 1000;
@ConfField(description = {"Hudi/Iceberg 表级别缓存的最大数量。",
"Max cache number of hudi/iceberg table."})
public static long max_external_table_cache_num = 1000;
@ConfField(mutable = false, masterOnly = false, description = {
"Hive分区表缓存的最大数量", "Max cache number of hive partition table"
})
@ConfField(description = {"External Catalog 中,Database 和 Table 的实例缓存的最大数量。",
"Max cache number of database and table instance in external catalog."})
public static long max_meta_object_cache_num = 1000;
@ConfField(description = {"Hive分区表缓存的最大数量",
"Max cache number of hive partition table"})
public static long max_hive_partition_table_cache_num = 1000;
@ConfField(mutable = false, masterOnly = false, description = {"获取Hive分区值时候的最大返回数量,-1代表没有限制。",