how to handle million data