The Internal Mechanics of Request Unit (RU) Consumption during Index Transformation
Updated Apr 28, 2026
Short answer
Index transformations in Cosmos DB are performed in the background using 'spare' RUs, but they can still impact overall system performance if provisioned throughput is too low.
Deep explanation
When you update an indexing policy (e.g., adding a composite index), Cosmos DB performs an online transformation. Unlike traditional databases that might lock tables, Cosmos DB does this asynchronously. It uses internal RUs not utilized by client workloads. However, the transformation itself competes for local storage I/O and CPU. If the container is under heavy load (high 429 rate), the index transformation will slow down significantly as it yields to user requests.
Unlock with a Pro subscription to view this section.
View pricingReal-world example
No real-world example available yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProCommon mistakes
No common mistakes listed yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProFollow-up questions
No follow-up questions available yet.
Unlock with a Pro subscription to view this section.
Upgrade to Pro