Salesforce interview question

Optimize databases for large scale