Query Performance Tuning in Azure DocumentDB: A Practical Guide
Writing a query that works is easy. Writing a query that scales is a different story. As collections grow to millions of documents, queries that returned results in milliseconds during development start taking seconds or timing out entirely. The root cause is almost always the same: the database is doing far more work than it needs to. In this po...