MODULE LOAD

Since 1.1.0Other

Syntax

MODULE LOAD

Refused, whatever the path: KiviDB does not load modules. In Redis, MODULE LOAD path [arg ...] loads a shared library into the running server; KiviDB does not load libraries into itself.

What Redis gets from its common modules is built into KiviDB: search, JSON, time series and vector sets. Their commands are there from the start, with no module to load, and MODULE LIST names them for clients that check. See Search and Data types. A loadmodule line in the configuration file is refused too: the server does not start (Migrating from Redis).

Reply

  • ERR MODULE subsystem is not supported by KiviDB. ..., whatever the arguments.
  • ERR wrong number of arguments for 'module|load' command without a path.

Examples

> MODULE LOAD /usr/lib/redis/modules/redisearch.so
(error) ERR MODULE subsystem is not supported by KiviDB. Dynamic module loading requires dlopen and ABI versioning which conflicts with KiviDB's safety model. See COMMANDS.md for the design rationale.
> MODULE LOAD
(error) ERR wrong number of arguments for 'module|load' command