Tech Mahindra Interview Question

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