Module: kamailio
Branch: master
Commit: 9da53baeadb0403de86d14fa7be826780382e315
URL:
https://github.com/kamailio/kamailio/commit/9da53baeadb0403de86d14fa7be8267…
Author: Richard Fuchs <rfuchs(a)sipwise.com>
Committer: Richard Fuchs <rfuchs(a)sipwise.com>
Date: 2019-11-22T08:35:49-05:00
db_redis: performance improvements and fixes
- Support update of type key columns
- Support range scans on timestamp and int keys through a series of
wildcard matches when used with a < or > operator
- Support exponential increase and fallof for SCAN
- Pad bigint values to 10 digits for faster wildcard matching
- Use KEYS instead of SCAN by default for faster keys matching
- Support optional versioning of table names
- Simulate non-unique indexes through parent sets for O(1) counting of
entries
---
Modified: src/modules/db_redis/redis_connection.c
Modified: src/modules/db_redis/redis_connection.h
Modified: src/modules/db_redis/redis_dbase.c
Modified: src/modules/db_redis/redis_dbase.h
Modified: src/modules/db_redis/redis_table.c
Modified: src/modules/db_redis/redis_table.h
---
Diff:
https://github.com/kamailio/kamailio/commit/9da53baeadb0403de86d14fa7be8267…
Patch:
https://github.com/kamailio/kamailio/commit/9da53baeadb0403de86d14fa7be8267…