How to get 16MB limit per document in API for MongoDB

Ravish Rao 0 Reputation points
2024-08-22T11:38:04.6166667+00:00

Hi Team,

Please let us know how we can get this feature 16MB limit per document in API for MongoDB for our account
Currently the limit is 2MB
Reference:- https://azure.microsoft.com/en-us/updates/public-preview-16mb-limit-per-document-in-api-for-mongodb/

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,612 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Oury Ba-MSFT 18,616 Reputation points Microsoft Employee
    2024-08-22T20:38:21.0866667+00:00

    @Ravish Rao

    @Ravish Rao Thank you for reaching out.

    This is a manual process that involves PM needing to get confirmation on the scope of the preview. You will need to create a support ticket so we can enable this at the back end for your subscription.

     A few things to keep in mind with this preview: 

    1. Previews should not be used for productions use cases. 
    2. Only new collections created after the preview was enabled will have the new 16MB document limit. Older collections will still have the 2MB limit. 
    3. Large documents (>2MB) will not be restored in a backup/restore operation. This will be fixed before GA. 

    This is **no*w GA

     General availability: 16MB limit per document in Azure Cosmos DB for MongoDB | Azure updates | Microsoft Azure

    Best, Oury


  2. Sajeetharan 2,261 Reputation points Microsoft Employee
    2024-08-23T18:00:08.05+00:00

    You need to enable the capability EnableMongo16MBDocumentSupport on your Mongo RU account

    https://learn.microsoft.com/en-us/azure/cosmos-db/mongodb/how-to-configure-capabilities#available-capabilities

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.