Credit Karma interview question

Explain some ways to optimize a database.