首批通过分布式安全可靠测评,为关键业务系统打造
location_cache_expire_time
更新时间:2026-07-04 19:32:11
location_cache_expire_time 用于设置分区位置缓存中分区位置信息的过期时长。不建议修改。
| 属性 | 描述 |
|---|---|
| 参数类型 | 时间类型 |
| 默认值 | 600s |
| 取值范围 | [1s, +∞) |
| 是否重启 OBServer 生效 | 否 |
使用说明
修改配置项值时,支持数字后的单位为 us(微秒)、ms(毫秒)、s(秒)、m(分钟)或 h(小时)。
配置示例
设置分区位置缓存中分区位置信息的过期时长为 10 分钟(600s)。
obclient> ALTER SYSTEM SET location_cache_expire_time = '600s';
或者
obclient> ALTER SYSTEM SET location_cache_expire_time = '10m';