Tech Mahindra interview question

How to handle big database query issue while too much load on server or frequently come request on server