TS.DELETERULE
Syntax
TS.DELETERULE sourceKey destKey
- Available in:
- Redis Open Source / TimeSeries 1.0.0
- Time complexity:
- O(1)
- ACL categories:
-
@timeseries
,@write
,@fast
,
Delete a compaction rule
Required arguments
sourceKey
is key name for the source time series.
destKey
is key name for destination (compacted) time series.
Return information
One of the following:
- Simple string reply:
OK
when the compaction rule is deleted successfully. - Simple error reply in these cases: invalid arguments, or when such rule does not exist.