Fully managed and integrated with Google Cloud, Azure, and AWS.
Build the fastest, most reliable GenAI apps with our advanced vector database.
Self-managed software with enterprise-grade compliance and reliability.
Synchronize data in near-real time to make data fast—without writing code.
In-memory database for caching & streaming.
SCRIPT FLUSH [ASYNC | SYNC]
@slow
,
@scripting
,
Flush the Lua scripts cache.
By default, SCRIPT FLUSH
will synchronously flush the cache.
Starting with Redis 6.2, setting the lazyfree-lazy-user-flush configuration directive to "yes" changes the default flush mode to asynchronous.
It is possible to use one of the following modifiers to dictate the flushing mode explicitly:
ASYNC
: flushes the cache asynchronouslySYNC
: flushes the cache synchronouslyFor more information about EVAL
scripts please refer to Introduction to Eval Scripts.
>= 6.2.0
: Default flush behavior now configurable by the lazyfree-lazy-user-flush configuration directive.OK
.
ASYNC
and SYNC
flushing mode modifiers.