Skip to content

Ask the HotKV docs

Answers come only from these docs and can be wrong; check the linked pages before you rely on them.

VSIM.DROP

Last updated
VSIM.DROP name
Group
Vector search
Complexity
O(1)
Arity
2 (exactly, counting the command name)
Flags
write, fast
HotKV Cloud
Performance and Scale
On-Premise
requires the vsim-persist license feature

VSIM persistence stores named blobs of vector data that you supply, such as an exported set of embeddings, as files on the server, separate from your snapshots and AOF. Each blob goes to a file named after it in the directory set by dir under [vsim_persist] (default vsim_snapshots) when enabled = true there. The files are local to each server, also in a cluster. VSIM.DROP deletes the file holding the blob saved under name. It does not touch any vector index.

Case RESP2 RESP3
Blob deleted Integer 1 Same
No such blob, or an invalid name Integer 0 Same

Errors:

  • ERR wrong number of arguments for 'vsim.drop' command if the argument count is wrong.
  • NOLICENSE vsim-persist requires a HotKV license. Contact sales@hotkv.com if your license does not include the vsim-persist feature.
127.0.0.1:6379> VSIM.DROP products-2026-10
(integer) 1
127.0.0.1:6379> VSIM.DROP products-2026-10
(integer) 0

HotKV-only command. Redis and Valkey have no equivalent.

VSIM.SAVE, VSIM.LOAD, VSIM.LIST, AI features guide