Let's Say we have about 20 Million records and want to query the data in Live production environment and don't want to impact your system, so how would you do it?

I'm open to any solution...., but multiprocessing came across my mind, the following snippet will help you to utilize the cpu for monster server you have to achieve your goal.