- DDL
- 配置文件
设置字段:
| Setting | Description |
|---|---|
host | Redis 主机地址。 |
port | Redis 服务器的端口。 |
storage_type | 用于处理键的 Redis 内部存储结构。simple 用于简单源和哈希单键源,hash_map 用于包含两个键的哈希源。不支持范围源以及使用复杂键的缓存源。默认值为 simple。可选。 |
db_index | Redis 逻辑数据库的数字索引。默认值为 0。可选。 |
在 ClickHouse 中将 Redis 配置为字典源。
| Setting | Description |
|---|---|
host | Redis 主机地址。 |
port | Redis 服务器的端口。 |
storage_type | 用于处理键的 Redis 内部存储结构。simple 用于简单源和哈希单键源,hash_map 用于包含两个键的哈希源。不支持范围源以及使用复杂键的缓存源。默认值为 simple。可选。 |
db_index | Redis 逻辑数据库的数字索引。默认值为 0。可选。 |