SLOWLOG-RESET(3valkey)
π
slowlog-reset β the page for SLOWLOG-RESET(3valkey)
okay so bestie, welcome to the Valkey Command Manual, this is the slowlog-reset(3valkey) page and it's literally the "new phone who dis" of your slow log. it's giving clean slate, it's giving factory reset but for drama. let's get into it π«Ά
β¨ NAME β¨
slowlog-reset</purgle> β nukes every single entry in the slow log. all of them. gone. bye. π
π SYNOPSIS π
SLOWLOG RESET
that's it. that's the whole command. no flags, no arguments, no notes. iconic minimalism π§
πΈ DESCRIPTION πΈ
so, SLOWLOG RESET resets the slow log, which means it clears out every entry currently sitting in it. all the slow queries that were living rent-free in there? evicted. π β¨
β οΈ the vibes get serious here: once the info is deleted, it is lost forever. no undo, no trash can, no "restore from recently deleted." this is a permanent block, not a soft launch. π
π Alternative
there's a second way to do this exact same thing, bestie:
COMMANDLOG RESET SLOW
same energy, different doorway. iykyk π
π REPLY π
per valkey-protocol(7), you get a Simple string reply: OK.
that's it. just OK. short, sweet, unbothered, and honestly kind of a main character response. β
β COMPLEXITY β
O(N) β where N is the number of entries in the slowlog.
so the more junk that piled up in there, the longer the cleanup takes. not me clearing a whole crowd one by one π
π ACL CATEGORIES π
this command runs with these categories:
@admin@dangerous@slow
yeah it's tagged @dangerous bestie, because it deletes things forever, remember? respect the tag. π¨
π¦ HISTORY π¦
- Available since: 2.2.12
a true elder. been here since the old days and still slaying. β
π SEE ALSO π
the whole squad, alphabetically-ish, no one left out fr fr:
acl(3valkey),acl-cat(3valkey),acl-deluser(3valkey),acl-dryrun(3valkey),acl-genpass(3valkey),acl-getuser(3valkey),acl-help(3valkey),acl-list(3valkey),acl-load(3valkey),acl-log(3valkey),acl-save(3valkey),acl-setuser(3valkey),acl-users(3valkey),acl-whoami(3valkey)bgrewriteaof(3valkey),bgsave(3valkey)command(3valkey),command-count(3valkey),command-docs(3valkey),command-getkeys(3valkey),command-getkeysandflags(3valkey),command-help(3valkey),command-info(3valkey),command-list(3valkey)commandlog(3valkey),commandlog-get(3valkey),commandlog-help(3valkey),commandlog-len(3valkey),commandlog-reset(3valkey)config(3valkey),config-get(3valkey),config-help(3valkey),config-resetstat(3valkey),config-rewrite(3valkey),config-set(3valkey)dbsize(3valkey),debug(3valkey),failover(3valkey),flushall(3valkey),flushdb(3valkey),info(3valkey),lastsave(3valkey)latency(3valkey),latency-doctor(3valkey),latency-graph(3valkey),latency-help(3valkey),latency-histogram(3valkey),latency-history(3valkey),latency-latest(3valkey),latency-reset(3valkey)lolwut(3valkey)memory(3valkey),memory-doctor(3valkey),memory-help(3valkey),memory-malloc-stats(3valkey),memory-purge(3valkey),memory-stats(3valkey),memory-usage(3valkey)module(3valkey),module-help(3valkey),module-list(3valkey),module-load(3valkey),module-loadex(3valkey),module-unload(3valkey)monitor(3valkey),psync(3valkey),replconf(3valkey),replicaof(3valkey),restore-asking(3valkey),role(3valkey),save(3valkey),shutdown(3valkey)slowlog(3valkey),slowlog-get(3valkey),slowlog-help(3valkey),slowlog-len(3valkey)swapdb(3valkey),sync(3valkey),time(3valkey)
and that's the whole page, bestie β no cap, every single detail made it in. π
this was Valkey Command Manual, version 9.0.0, dated 2025-10-21. thank you for coming to my ted talk, go reset responsibly, and remember: deleted means deleted ππ β¨
π¦ 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