redis SCRIPT FLUSH command
Translation results:
script
英[skrɪpt] 美[skrɪpt]
n.Script, handwriting; written typeface; script, broadcast script or movie script
vt.Write a script for a movie (or drama, etc.); make up
Third person singular: scripts Plural: scripts Present participle: scripting Past tense: scripted Past participle: scripted
flush
英[flʌʃ] 美[flʌʃ]
vi. flush; blush; red; run
adj. flush; rich , rich; full, submerged; horizontal, at the same height
n. rushing, gushing out; blushing or shining; heating; the impulse of strong emotion
vt. redden or shine; make excited or proud; wash (with water), wash away; wash away, get rid of
Third person singular: flushes Plural: flushes Present participle: flushing Past tense: flushed Past participle: flushed
redis SCRIPT FLUSH commandsyntax
Function:Clear all Lua script caches.
Syntax: SCRIPT FLUSH
Available versions: >= 2.6.0
Time complexity: O(N), N is the number of scripts in the cache.
Return: Always returns OK
redis SCRIPT FLUSH commandexample
redis> SCRIPT FLUSH OK