[フレーム]
Docs Pricing
Login Book a meeting Try Redis

SCRIPT FLUSH

Syntax
SCRIPT FLUSH [ASYNC | SYNC]
Available since:
Redis Open Source 2.6.0
Time complexity:
O(N) with N being the number of scripts in cache
ACL categories:
@slow, @scripting,
Compatibility:
Redis Enterprise and Redis Cloud compatibility

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:

For more information about EVAL scripts please refer to Introduction to Eval Scripts.

Behavior change history

Redis Enterprise and Redis Cloud compatibility

Redis
Enterprise
Redis
Cloud
Notes
✅ Standard
✅ Active-Active
✅ Standard
✅ Active-Active

Return information

History

RATE THIS PAGE
Back to top ↑

AltStyle によって変換されたページ (->オリジナル) /