BatchData interview question

How do you scale the database and improve its performance?