TS.DELETERULE

Syntax
TS.DELETERULE sourceKey destKey
Available in:
Redis Stack / TimeSeries 1.0.0
Time complexity:
O(1)

Delete a compaction rule

Required arguments

sourceKey

is key name for the source time series.

destKey

is key name for destination (compacted) time series.

Note: This command does not delete the compacted series.

Return value

Returns one of these replies:

  • Simple string reply - OK if executed correctly
  • [] on error (invalid arguments, etc.), or when such rule does not exist

See also

TS.CREATERULE

RedisTimeSeries


Rate this page