Credit Karma Interview Question

Explain some ways to optimize a database.