kevy4.0

VIEW.EXPLAIN

Explain a view's composition tree with per-leaf cardinalities.

VIEW.EXPLAIN name
Group
Views
Since
3.0.0
Arity
exactly 2
Flags
readonly extension

Complexity

O(sum over leaves of (log N + matched)) — each leaf's cardinality is a real count, so EXPLAIN on a broad leaf costs as much as counting it

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

Redis compatibility

kevy only

kevy has this; Redis does not. nearest is FT.EXPLAIN, which returns a query tree rather than per-leaf cardinalities

See also

VIEW.CREATEVIEW.DROPVIEW.LISTVIEW.QUERYVIEW.REBUILDVIEW.VERIFY

← All commands