CLIENT-NO-TOUCH(3valkey)
π 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)TOUCHcommand. so like, it's incognito mode for your key-access stats, exceptTOUCHstill gets through becauseTOUCHis 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 β
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 π
auth(3valkey)client(3valkey)client-caching(3valkey)client-capa(3valkey)client-getname(3valkey)client-getredir(3valkey)client-help(3valkey)client-id(3valkey)client-import-source(3valkey)client-info(3valkey)client-kill(3valkey)client-list(3valkey)client-no-evict(3valkey)client-pause(3valkey)client-reply(3valkey)client-setinfo(3valkey)client-setname(3valkey)client-tracking(3valkey)client-trackinginfo(3valkey)client-unblock(3valkey)client-unpause(3valkey)echo(3valkey)hello(3valkey)ping(3valkey)quit(3valkey)reset(3valkey)select(3valkey)
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
- fedora 44: valkey-doc 9.0.3-2.fc44 Β· CC-BY-SA-4.0
- fedora 44: valkey-doc 9.0.6-1.fc44 Β· CC-BY-SA-4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms