Carda Health Interview Question

How would you optimize a data base?