Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I plan to execute (after an Azure data factory pipeline) a Bulk delete of some records from Cosmos Db container giving specific fields criteria. The way that I want to run the Azure function is trough an HTTPS trigger but I don't know if it's feasible to run a bulk delete, If yes...do you have a kind of example???

Thank you in advance

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
597 views
Welcome To Ask or Share your Answers For Others

1 Answer

Currently there is no way to do a bulk delete or truncate on a Cosmos container. Typically the way most people do this today is to delete and then recreate the container. That avoids the RU/s cost of deleting every item.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...