amit agarwal
amit agarwal

Reputation: 83

Store large Json in Cosmos DB

I have a large Json file say 100 MB - 300 MB , but what I understand is Cosmos DB only supports 2MB item size, if that is the case what is the alternative . How can I save my JSON and query over it. Basically my Json is unstructured and Cosmos would be perfect choice for me . But due to size limitation I am unable to proceed.

Upvotes: 2

Views: 3251

Answers (1)

Noah Stahl
Noah Stahl

Reputation: 7553

If you wanted to use Cosmos DB, you'd need to transform the items into a smaller representation with more reasonably sized items under the 2 MB limit.

If that's not possible, consider using something like Azure Cognitive Search to index your JSON files from blob storage.

Upvotes: 1

Related Questions