CMS.MERGE destination numKeys source [source ...] [WEIGHTS weight [weight ...]]
@cms,
@write,
Merges several sketches into one sketch. All sketches must have identical width and depth. Weights can be used to multiply certain sketches. Default weight is 1.
redis> CMS.MERGE dest 2 test1 test2 WEIGHTS 1 3
OK
| Redis Enterprise |
Redis Cloud |
Notes |
|---|---|---|
| ✅ Supported |
✅ Flexible & Annual ✅ Free & Fixed |
One of the following:
OK if executed correctly.