Garmin interview question

1. How do you optimize a database?