CLIENT-NO-TOUCH(3valkey)

πŸ“¦
version 9.0.6 Β· 2 versions
, in fedora 44

πŸ’– CLIENT-NO-TOUCH πŸ’–

okay bestie so this is the Valkey Command Manual page for client-no-touch, and it's genuinely one of the most lowkey-useful little gremlins in the whole CLIENT family, no cap. it controls whether the commands a client sends actually mess with the LRU/LFU of the keys they touch. that's it. that's the whole vibe. πŸŽ€


✨ SYNOPSIS ✨

CLIENT NO-TOUCH <ON | OFF>

like. two options. ON or OFF. pick one, queen. πŸ’…


🌸 DESCRIPTION 🌸

so the CLIENT NO-TOUCH command controls whether commands sent by the client will alter the LRU/LFU of the keys they access. that's the whole assignment. πŸ¦‹

here's the tea, both ways:

  • when turned on, the current client will not change LFU/LRU stats, unless it sends the valkey-touch(7) TOUCH command. so like, it's incognito mode for your key-access stats, except TOUCH still gets through because TOUCH is that girl. πŸ‘‘
  • when turned off, the client touches LFU/LRU stats just as a normal client. back to being a regular citizen of the server. 🫢
not me needing to spell out LRU vs LFU for the tenth time β€” LRU = least recently used, LFU = least frequently used. both are eviction vibes. the command itself does not care which one your server is running, it just stops your client from nudging either of them. πŸ™ˆ

πŸ’Œ REPLY πŸ’Œ

valkey-protocol(7) Simple string reply: OK.

just OK. the most emotionally stable reply in the entire protocol. 😭


⭐ COMPLEXITY ⭐

O(1)

constant time, baby. it's giving effortless. it's giving main character energy with zero performance guilt. πŸ”₯


πŸŽ€ ACL CATEGORIES πŸŽ€

  • @connection
  • @slow

πŸ¦‹ HISTORY πŸ¦‹

  • Available since: 7.2.0

so if you're on anything older than that, this command is not going to answer you, and that's not a personal attack, it's just a version thing. πŸ’€


🌈 SEE ALSO 🌈


that's the whole page, bestie. every flag, every category, every reference, untouched. the facts did not get a glow-up, only the vibe did. πŸ’–βœ¨

kisses, this was the client-no-touch page from the Valkey Command Manual, version 9.0.0, dated 2025-10-21. go forth and not touch things. πŸ§šπŸ’œ

πŸ“¦ where this page comes from