Carda Health interview question

How would you optimize a data base?