ids should be cool memory-wise. you can use skip and limit but it gets hairy if the data is changing in real time.