Optimize database schema for high traffic