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
From the course: Microsoft Azure Cosmos DB Developer Specialty (DP-420) Cert Prep by Microsoft Press
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
- (Locked)Learning objectives1m
- (Locked)Choose when to use a point operation versus a query operation1m 41s
- Implement a point operation that creates, updates, and deletes documents3m 15s
- (Locked)Implement an update by using a operation2m 48s
- (Locked)Manage multi-document transactions using SDK transactional batch2m 1s
- (Locked)Perform a multi-document load using SDK bulk1m 33s
- (Locked)Implement optimistic concurrency control using ETags2m 25s
- (Locked)Implement session consistency by using session tokens1m 28s
- (Locked)Implement a query operation that includes pagination2m 3s
- (Locked)Implement a query operation by using a continuation token1m 21s
- (Locked)Handle transient errors and 429s2m 36s
- (Locked)Specify TTL for a document1m 18s
- (Locked)Retrieve and use query metrics8m 5s
- (Locked)