Tair (Enterprise Edition) lets you tune instance behavior by adjusting a set of supported parameters. This topic lists all configurable parameters for memory-optimized, persistent memory, and disk-based instances.
For parameters that apply to Redis Open-Source Edition instances, see Supported Redis parameters.
Usage notes
Only the parameters listed in this topic can be configured. To learn how to set a parameter, see Set parameters.
Some parameters trigger an automatic instance restart when you apply changes. During the restart, the instance may experience a brief disconnection lasting a few seconds. Check the Takes effect upon restart column before applying changes.
If you receive the error
Parameter is not supported for current versionwhen setting a parameter, upgrade the minor version and try again.Supported parameters vary by engine version and architecture. For architecture details, see Query architecture information.
Table conventions
The tables in this topic use the following symbols:
Check mark: Supported
Cross mark: Not supported
Memory-optimized and persistent memory instances
Parameter | Description | Memory-optimized | Persistent memory | Takes effect upon restart |
| Controls whether the instance checks the client IP address against the whitelist after you enable passwordless access for a VPC. Default:
Note Only instances using the classic architecture support this parameter. Cloud-native architecture instances always enforce the IP whitelist, regardless of whether passwordless access is enabled. | Standard: Supported Cluster: Supported Read/write splitting: Supported | Not supported | No |
| Specifies commands to disable. Use this to block high-risk or high-latency commands such as FLUSHALL, FLUSHDB, KEYS, HGETALL, EVAL, EVALSHA, and SCRIPT.
| Standard: Supported Cluster: Supported Read/write splitting: Supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| A group of parameters for monitoring hot keys (keys with high access traffic). After you enable the feature, you can view the detected hot keys in . Important Enabling this feature increases CPU usage by more than 5%, proportional to the number of keys. Enable it only when needed.
Note Supported only on cloud-native memory-optimized instances with minor version 25.2.0.0 or later. Hashtag and prefix parsing require minor version 25.9.1.0 or later. | Standard: Supported Cluster: Supported Read/write splitting: Supported | Not supported | No |
| Enables strict mode for Lua scripts. When enabled, standard architecture instances behave like cluster architecture instances: data keys in Lua scripts must be passed through the
Note Supported only on memory-optimized instances compatible with Redis 6.0 or later. | Standard: Supported Cluster: Not supported Read/write splitting: Not supported | Not supported | No |
| Sets the memory usage percentage at which background eviction starts, before the instance reaches its Maxmemory limit. This allows early eviction without affecting command performance. Valid values: 50 to 100. Default: The eviction policy is still governed by Note Supported only on memory-optimized instances compatible with Redis 6.0 or later, with minor version 25.2.0.0 or later. | Standard: Supported Cluster: Supported Read/write splitting: Supported | Not supported | No |
| Improves PUBLISH command throughput by not waiting for subscriber counts. When enabled, PUBLISH always returns Note Supported only on memory-optimized instances compatible with Redis 6.0 or later. | Standard: Supported Cluster: Supported Read/write splitting: Supported | Not supported | No |
| A group of parameters for QPS throttling, which lets you control access to the instance. When enabled, if the number of requests to the instance reaches the configured threshold, the instance denies new requests and returns the
Note
| Standard: Supported Cluster: Supported Read/write splitting: Supported | Not supported | No |
| Enables Sentinel-compatible mode for the instance. Default:
| Standard: Supported Cluster: Supported Read/write splitting: Not supported | Standard: Supported Cluster: Supported Read/write splitting: Not supported | No |
| When Sentinel mode is enabled, this parameter controls whether Sentinel commands can run without a password on any connection. Default:
| Standard: Supported Cluster: Supported Read/write splitting: Supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| When Sentinel mode is enabled and Important Commands configured here can be run without authentication on any connection. Enter commands in lowercase, separated by commas. | Standard: Supported Cluster: Supported Read/write splitting: Supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| Sets the threshold (number of sub-members in a key) above which slow query commands are routed to an isolated thread, freeing the main thread for regular commands. The following commands are covered: KEYS, SMEMBERS, HKEYS, HVALS, HGETALL, EXHKEYS, EXHVALS, and EXHGETALL. For the KEYS command, the threshold applies to the number of keys in the current DB. Valid values: 1 to 999999999999999. Default: For example, if a Set has more than 1,000 members, SMEMBERS on that key uses the isolated thread. When the pending queue of the isolated thread exceeds 500 requests, subsequent commands fall back to regular threads. Note Avoid setting this threshold too low. Excessive pressure on the isolated thread wastes resources. If most requests are slow query commands, consider disabling isolation by setting this parameter to | Standard: Supported Direct connection cluster: Supported Proxy cluster: Not supported Read/write splitting: Not supported | Not supported | No |
| The synchronization mode between the primary and secondary nodes. Valid values:
Note Supported only on memory-optimized instances that are compatible with Redis 6.0 or later and have minor version 23.12.2.0 or later. | Standard: Supported Cluster: Supported Read/write splitting: Supported | Not supported | No |
| Before you adjust this parameter, you must first enable semi-synchronous mode (set This parameter sets the timeout for semi-synchronous mode. If the time a write request waits for primary-secondary synchronization exceeds this threshold, the request is immediately returned to the client even if it has not yet been replicated to the secondary node. Unit: milliseconds. Valid values: 1 to 7200000. Default: 100. Note Supported only on memory-optimized instances that are compatible with Redis 6.0 or later and have minor version 23.12.2.0 or later. Modify with caution. | Standard: Supported Cluster: Supported Read/write splitting: Supported | Not supported | No |
| Sets the minimum TLS version the instance accepts. Default: Valid values: | Standard: Not supported Cluster: Supported Read/write splitting: Supported | Not supported | No |
| Controls whether an Skey in a TairTS data structure is automatically deleted when all of its data points have expired. Default:
Note Supported only on memory-optimized instances compatible with Redis 6.0 or later, with minor version 24.7.0.0 or later. | Standard: Supported Cluster: Supported Read/write splitting: Supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| Controls how aggressively the instance cleans up expired keys in the background. Higher values reduce the memory used by expired keys faster but increase CPU usage and latency. Valid values: 1 to 10. Default: Note Supported only on persistent memory instances. | Not supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| The fsync frequency for Append-Only File (AOF) persistence. Takes effect only when | Standard: Supported Cluster: Supported Read/write splitting: Supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| Enables or disables AOF persistence on the primary node. Default:
Note Redis Database (RDB) persistence runs once per day by default. For more information, see Automatic or manual backup. | Standard: Supported Cluster: Supported Read/write splitting: Supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | Yes |
| The element-count threshold for identifying large keys (keys with many elements) in Top Key Statistics. Valid values: 500 to 100000. Default: Note If this parameter is not shown in the parameter settings, upgrade the minor version and try again. | Standard: Supported Cluster: Supported Read/write splitting: Supported | Not supported | No |
| The memory-size threshold for identifying large keys (keys that consume a lot of memory) in Top Key Statistics. Unit: bytes. Valid values: 1048576 to 1073741824 (1 MB to 1 GB). Default: Note Supported only on cloud-native memory-optimized instances with minor version 25.6.0.0 or later. | Standard: Supported Cluster: Supported Read/write splitting: Supported | Not supported | No |
| The average memory-size threshold per sub-element for identifying large keys (keys that consume a lot of memory) in Top Key Statistics. Unit: bytes. Valid values: 1024 to 1073741824 (1 KB to 1 GB). Default: Note
| Standard: Supported Cluster: Supported Read/write splitting: Supported | Not supported | No |
| Limits the output buffer for pub/sub clients and normal clients. Format:
When a client's output buffer reaches the hard limit, the connection is closed immediately. When the buffer reaches the soft limit and stays there for the specified number of seconds, the connection is closed. Important
| Standard: Supported Cluster: Supported Read/write splitting: Supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| Enables dynamic adjustment of the background task execution frequency. Default:
| Standard: Supported Cluster: Supported Read/write splitting: Supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| Enables or disables the TairVector global index. Default:
| Standard: Not supported Cluster: Supported Read/write splitting: Not supported | Not supported | No |
| For instances compatible with Redis 6.0 and earlier, a hash object uses ziplist encoding when both conditions are met: the number of key-value pairs is less than | Standard: Supported Cluster: Supported Read/write splitting: Supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| For instances compatible with Redis 7.0 and later, a hash object uses listpack encoding when both conditions are met: the number of key-value pairs is less than | Standard: Supported Cluster: Supported Read/write splitting: Supported | Not supported | No |
| The QPS threshold for identifying hot keys in Top Key Statistics. Valid values: 100 to 100000. Default: Note Supported only on cloud-native memory-optimized instances. The required minor versions are:
| Standard: Supported Cluster: Supported Read/write splitting: Supported | Not supported | No |
| Sets how many times per second the instance runs background tasks such as cleaning up expired keys. Valid values: 1 to 500. Default: Higher values result in more frequent key cleanup and more precise timeout handling, but they also increase CPU usage. Avoid values above 100. | Standard: Supported Cluster: Supported Read/write splitting: Supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| Controls whether eviction uses asynchronous (lazyfree) deletion. Default:
| Standard: Supported Cluster: Supported Read/write splitting: Supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| Controls whether expired-key deletion uses asynchronous (lazyfree) deletion. Default:
| Standard: Supported Cluster: Supported Read/write splitting: Supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| Controls whether the DEL command uses asynchronous (lazyfree) deletion. Default:
| Standard: Supported Cluster: Supported Read/write splitting: Supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| Controls whether the user-triggered DEL command uses asynchronous (lazyfree) deletion. Default:
| Not supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| Sets how many nodes at each end of a list are kept uncompressed. Nodes in the middle are compressed. Valid values: 0 to 65535. Default: | Standard: Supported Cluster: Supported Read/write splitting: Supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| Controls the size or length of the ziplist (Redis 6.0 and earlier) or listpack (Redis 7.0 and later) on each quicklist node.
| Standard: Supported Cluster: Supported Read/write splitting: Supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| The eviction policy applied when the instance reaches its Maxmemory limit. Default: Notes:
Available policies:
| Standard: Supported Cluster: Supported Read/write splitting: Supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| Configures which keyspace event notifications the instance sends. Enabling this consumes additional CPU resources. For details, see Redis keyspace notifications. Important The value must contain at least Use any combination of the following characters:
Example: To receive expiration events, set this parameter to | Standard: Supported Cluster: Supported Read/write splitting: Supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| Enables compatible mode for the MOVE and RENAME series of commands. Unlike native Redis (O(1) complexity), these commands have O(n) complexity in Tair. Operations on large keys can therefore take a considerable amount of time. Default:
Note Supported only on persistent memory instances with version 1.2.4 or later. | Not supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| Sets the maximum size for a Set that uses intset encoding. A Set uses intset encoding when all of its members are base-10 integers within the range of 64-bit signed integers. | Standard: Supported Cluster: Supported Read/write splitting: Supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| The execution-time threshold for recording a command in the slow query log. Commands that take longer than this value are logged. Unit: microseconds. Valid values: 10000 to 10000000. Default: | Standard: Supported Cluster: Supported Read/write splitting: Supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| The maximum number of entries the slow query log retains. Valid values: 100 to 10000. Default: | Standard: Supported Cluster: Supported Read/write splitting: Supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| The maximum amount of memory that a single macro node in a Stream can consume. Unit: bytes. Valid values: 0 to 999999999999999. Default: | Standard: Supported Cluster: Supported Read/write splitting: Supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| The maximum number of entries that a single macro node in a Stream can store. Valid values: 0 to 999999999999999. Default: | Standard: Supported Cluster: Supported Read/write splitting: Supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| The number of idle seconds before the instance closes a client connection. Valid values: 0 to 100000. Default: | Standard: Supported Cluster: Supported Read/write splitting: Supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| For instances compatible with Redis 6.0 and earlier, a sorted set uses ziplist encoding when both conditions are met: the number of key-value pairs is less than | Standard: Supported Cluster: Supported Read/write splitting: Supported | Standard: Supported Cluster: Supported Read/write splitting: Supported | No |
| For instances compatible with Redis 7.0 and later, a sorted set uses listpack encoding when both conditions are met: the number of key-value pairs is less than | Standard: Supported Cluster: Supported Read/write splitting: Supported | Not supported | No |
Disk-based instances
Parameter | Description | Disk-based | Takes effect upon restart |
| Specifies commands to disable. Use this to block high-risk or high-latency commands such as FLUSHALL, FLUSHDB, KEYS, HGETALL, EVAL, EVALSHA, and SCRIPT.
| Standard: Supported Cluster: Supported | No |
| Enables strict mode for Lua scripts. Data keys must be passed through the
| Standard: Supported Cluster: Supported | No |
| Parameters for the background key polling process, which checks TTL and performs garbage collection.
The polling loop exits when either Note Decreasing | Standard: Supported Cluster: Supported | No |
| The element-count threshold for identifying large keys (keys with many elements) in Top Key Statistics. Valid values: 500 to 100000. Default: Note Supported only on disk-based instances with version 2.6.0 or later. | Standard: Supported Cluster: Supported | No |
| The QPS threshold for identifying hot keys in Top Key Statistics. Valid values: 100 to 100000. Default: Note Supported only on disk-based instances with version 2.6.0 or later. | Standard: Supported Cluster: Supported | No |
| The duration threshold for recording a latency event. Events that exceed this threshold are logged. Unit: milliseconds. Valid values: 0 to 10000000. Default: | Standard: Supported Cluster: Supported | No |
| The maximum amount of data (in bytes) of a key that the RENAME command can process. If the actual data exceeds this limit, the operation fails. Valid values: 1024 to 268435456. Default: | Standard: Supported Cluster: Supported | No |
| The size limit (in bytes) for intermediate in-memory data generated during command execution in disk storage format. Valid values: 0 to 1073741824. Default: Note If your workload is likely to produce large intermediate data, set this to | Standard: Supported Cluster: Supported | No |
| Enables performance optimization for large values. Default:
Note Supported only on disk-based SSD instances with version 2.6.0 or later. | Standard: Supported Cluster: Supported | No |
| The execution-time threshold for recording a command in the slow query log. Unit: microseconds. Valid values: 10000 to 10000000. Default: | Standard: Supported Cluster: Supported | No |
| The maximum number of entries the slow query log retains. Valid values: 100 to 10000. Default: | Standard: Supported Cluster: Supported | No |
| The number of idle seconds before the instance closes a client connection. Valid values: 0 to 100000. Default: | Standard: Supported Cluster: Supported | No |
| The switch for the abnormal-request retry feature. Valid values:
| Standard: Not supported Cluster: Supported Read/write splitting: Not supported | No |
| The timeout period that triggers a request retry. This parameter must be used together with | Standard: Not supported Cluster: Supported Read/write splitting: Not supported | No |
| Enables transaction locks, which allow disk-based instances to run MULTI, EXEC, and Lua script commands. Enabling this parameter may cause up to 10% performance degradation. Default:
| Standard: Supported Cluster: Supported | No |
Proxy node parameters
These parameters are provided by proxy nodes and apply only to instances that use cluster architecture in proxy mode or read/write splitting architecture.
Parameter | Description | Takes effect upon restart |
| Controls compatibility with native Redis cluster syntax. Default:
| No |
| Controls whether the HELLO command can switch between the RESP2 and RESP3 protocols. Default:
Note Supported only on Proxy version 7.0.9 and later. | No |
| The maximum number of in-flight requests per connection. Valid values: 10 to 10000000. Default: When a proxy node forwards a request to a data node but has not yet received a response, that request is considered in-flight. This parameter limits request accumulation caused by processing-speed differences between the proxy frontend and backend, which prevents excessive memory growth. | No |
| A group of parameters for the observability feature. After you set these parameters, you must also enable the audit log for them to take effect. Statistics are collected in 5-second intervals.
Note
To retrieve statistics, download audit logs from the Simple Log Service console (see Download audit logs) and filter by the following
| No |
| Controls whether the proxy passes the client's original IP address through to the data node. Default:
| No |
| Parameters for the proxy-node query cache feature. When enabled, the proxy caches hot key results and returns cached responses directly without forwarding requests to data shards. Important Cached key-value data is not updated during the cache validity period. Confirm that your workload can tolerate eventual consistency before you enable this feature.
| No |
| Controls whether requests from read-only accounts are forwarded exclusively to read replicas. Default:
| No |
| Controls Lua execution mode on read replicas. Default:
| No |
| The slow-query log threshold for the proxy node. A log entry is generated when the time between when the proxy sends a request and when it receives a response exceeds this value. Unit: milliseconds. Valid values: 30 to 2000. Default: | No |
| Controls whether the proxy checks Lua scripts before execution. For the list of checks, see Proxy check items for Lua. Default:
| No |
| Enables Sentinel-compatible mode for the proxy. Default:
| No |
| Controls whether the proxy converts SUBSCRIBE commands to PSUBSCRIBE. Default:
| No |