SLOWLOG-RESET(3valkey)

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

πŸ’… 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:


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