What is New in Redis 6.2
Redis 6.2 expands the Query Engine with advanced indexing and search options. It supports multi-value fields, wildcard queries, and introduces a new probabilistic structure for quantiles. Time series tools get better aggregation and gap-filling, while streams gain useful message handling features. Over 25 new commands make Redis more versatile for analytics and data processing.
Query Engine Enhancements
- Multi-value indexing and querying: Index and search arrays or multiple scalar values in fields like
TEXT,TAG,NUMERIC,GEO, andVECTORusing JSONPath expressions. - Wildcard support: Perform suffix and infix searches on
TEXTandTAGfields for more flexible matching.
New Probabilistic Data Structure
The t-digest structure estimates quantiles efficiently from large datasets or streams. It is perfect for monitoring and analytics where approximate percentiles are needed with low memory use.
Time Series Improvements
- Access ongoing bucket results during compaction.
- Time-weighted average aggregator for more accurate calculations on irregular data.
- Gap-filling options to interpolate or repeat values in empty buckets.
Stream and Sorted Set Updates
- Exclusive range queries for precise data selection.
- Filter pending messages by idle time.
- Automatic claiming of timed-out pending messages in consumer groups.
- New commands
ZUNIONandZINTERto compute unions and intersections without storing results in a key.
Additional Commands
Over 25 new commands extend core functionality, addressing common requests and improving usability across various data types.
Why Upgrade to Redis 6.2
Redis 6.2 makes advanced search and time series analysis easier and more powerful. With better indexing, quantile estimation, and stream management, it helps build sophisticated applications for monitoring, analytics, and real-time data processing.