Support for db number in redis cache