What is your experience with database schema optimization, and how do you ensure query efficiency when working with large-scale datasets?