From the course: Microsoft Azure Cosmos DB Developer Specialty (DP-420) Cert Prep by Microsoft Press

Unlock this course with a free trial

Join today to access over 24,800 courses taught by industry experts.

Perform a multi-document load using SDK bulk

Perform a multi-document load using SDK bulk

We saw that with transactional batch, You can combine server-side stored procedures written in JavaScript with your SDK code in order to create multi-step transactions that succeed or fail 100%. Here, we're talking about the need to ingest potentially a very large amount of data into Cosmos where we want to maintain reliability, we want to maintain efficiency, and maximize speed. So we also have a need to reduce the client-side load on these bulk import operations. That client-side might be your development workstation, for heaven's sake. We're abstracting away bulk import operations with SQL bulk. This is a newer generation of this implementation in the .NET SDK for Cosmos v3. The previous implementation of Cosmos bulk import was called .NET bulk executor library, but instead you want to look for SQL bulk in Version 3 of the SDK. It's called built-in bulk import support. Sometimes you'll see it called SQL bulk. In order to…

Contents