SCAN PLUGINS

Enterprise

Plugins are developed against the open-source questdb library and run only on QuestDB Enterprise.

Learn more

Rescans the plugin directory and refreshes the list of available plugins. Requires PLUGIN ADMIN permission.

Syntax

SCAN PLUGINS;

Description

SCAN PLUGINS walks the directory configured by cairo.plugin.root and registers any new .jar files it finds. It also removes stale entries for plugins that are no longer in the directory and are not currently loaded.

The scan runs automatically at server startup. Run it manually after copying a new plugin JAR into the plugin directory while the server is running. After scanning, use LOAD PLUGIN to activate the newly discovered plugin.

Already-loaded plugins are not affected by a rescan.

Example

Discover and load a newly copied plugin
SCAN PLUGINS;
SHOW PLUGINS;
LOAD PLUGIN 'my-plugin-1.0.0';

See also