Documentation Index
Fetch the complete documentation index at: https://private-7c7dfe99-page-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
redis Table Function
This table function allows integrating ClickHouse with Redis.Syntax
Arguments
| Argument | Description |
|---|---|
host:port | Redis server address, you can ignore port and default Redis port 6379 will be used. |
key | any column name in the column list. |
structure | The schema for the ClickHouse table returned from this function. |
db_index | Redis db index range from 0 to 15, default is 0. |
password | User password, default is blank string. |
pool_size | Redis max connection pool size, default is 16. |
primary | must be specified, it supports only one column in the primary key. The primary key will be serialized in binary as a Redis key. |
- columns other than the primary key will be serialized in binary as Redis value in corresponding order.
- queries with key equals or in filtering will be optimized to multi keys lookup from Redis. If queries without filtering key full table scan will happen which is a heavy operation.
redis table function at the moment.