Spreetail interview question

What can you do to optimize a slow database?