Pregunta de entrevista de SAP

How do you query a large database efficiently, knowing that the database keeps growing over time?