CLIENT NO-TOUCH

Syntax
CLIENT NO-TOUCH <ON | OFF>
Available since:
Redis Open Source 7.2.0
Time complexity:
O(1)
ACL categories:
@slow, @connection,
Compatibility:
Redis Software and Redis Cloud compatibility

The CLIENT NO-TOUCH command controls whether commands sent by the client will alter the LRU/LFU of the keys they access.

When turned on, the current client will not change LFU/LRU stats, unless it sends the TOUCH command.

When turned off, the client touches LFU/LRU stats just as a normal client.

Redis Software and Redis Cloud compatibility

Redis
Enterprise
Redis
Cloud
Notes
✅ Standard
✅ Active-Active
✅ Standard
✅ Active-Active

Return information

One of the following:

RATE THIS PAGE
Back to top ↑