1
votes

Can we temporarily increase/decrease the RU for a particular collection as per the need on "existing database level throughput/RU provisioned" cosmos db?

1

1 Answers

1
votes

As far as I know, you can change it in c# via,

var offer = client.CreateOfferQuery()
    .Where(r => r.ResourceLink == collection.SelfLink).Single();
offer = new OfferV2(offer, newthroughput);
client.ReplaceOfferAsync(offer);

Anyhow there is an opened request to Autoscale Throughput (UR/s), which is InProgress