Use hmget() to read ids in chunks.