REDIS 学习积累

    技术2022-07-10  149

    REDIS 学习积累

    redis 统一移除指定后缀key

    redis 统一移除指定后缀key

    移除redis中 前缀未cgame_queue_的key

    // An highlighted block redis-cli -h 192.168.62.234 keys "cgame_queue_*" | xargs redis-cli -h 192.168.62.234 del
    Processed: 0.010, SQL: 9