kevy4.0

SAVE

Synchronously snapshot the dataset to disk.

SAVE
Group
Server
Since
1.0.0
Arity
exactly 1
Flags
write admin

Complexity

O(S) fan-out; O(N/S) copy-on-write freeze per shard

Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.

Redis compatibility

Differs

SAVE is no longer synchronous-until-durable — it freezes a copy-on-write view and replies OK immediately, so 'SAVE returned, therefore the dump is safe to copy' no longer holds

See also

BGREWRITEAOFBGSAVECLIENTCLUSTERCOMMANDCONFIGDBSIZEDEBUGFLUSHALLFLUSHDBINFOMEMORYSHUTDOWNSLOWLOG

← All commands