1 2 3 4 5 6
import redis client = redis.StrictRedis(db=3) for i in range(100000): client.set(f"key-{i}", "hello world")