You can now upgrade your applicable MongoDB account to the latest version by using our automatic database upgrade process. The upgrade process doesn’t interrupt the availability of your account and it doesn’t consume RU/s or decrease the capacity of the database at any point. No existing data or indexes will be affected by this process. This is particularly useful if you want to leverage the new functionality available in version 3.6 and also to ensure that your applications are running on the latest version of the service.

The steps to upgrade your account are the following:

  1. Enable the automatic database upgrade in the Azure Portal (instructions below). Your database operation will not be interrupted and no action is required until the new version has been enabled.
  2. After the process is finalized, find your new database account endpoint.
  3. Replace the endpoint in your existing application connections with the new one. Only the new endpoint will have the functionality provided by the updated version 3.6.

If your account qualifies for this upgrade, you’ll be able to execute it from the Azure Portal under the Features blade. We’ll walk through the steps in this blog post below.

First, let’s look at all the specific benefits from upgrading your account.

Benefits of upgrading from version 3.2 to 3.6

The following are the new features included in version 3.6:

  • Enhanced performance and stability
  • Support for new database commands
  • Support for aggregation pipeline by default and new aggregation stages
  • Support for Change Streams
  • Support for compound Indexes
  • Cross-partition support for the following operations: update, delete, count and sort
  • Improved performance for the following aggregate operations: $count, $skip, $limit and $group
  • Wildcard indexing is now supported

Changes from version 3.2

These are features that have changed with this new version:

  • RequestRateIsLarge errors have been removed. Requests from the client application will not return 16500 errors anymore. Instead requests will resume until they complete or fulfill the timeout.
  • Per request timeout is set to 60 seconds.
  • New MongoDB collections created on the new wire protocol version will only have the _id property indexed by default. All other indexes have to be created manually.

Action required

For the upgrade to version 3.6, the database account endpoint suffix will be updated to the following format in your applications:

<your_database_account_name>.mongo.cosmos.azure.com

You need to replace the existing endpoint in your applications and drivers that connect with this database account. Only connections that are using the new endpoint will have access to the features in the MongoDB version 3.6. The previous endpoint should have the suffix .documents.azure.com.

Let’s take a look at how to do this on the Azure Portal.

How to upgrade my account on the Azure Portal

  1. First, go to the Azure portal and navigate to your Azure Cosmos DB API for MongoDB account overview blade. Verify that your server version is 3.2Mongo Upgrade 1
  2. From the options on the left, select the Features blade. This will reveal the Account level features that are available for your database account.Mongo Upgrade 2
  3. Click on the Upgrade to Mongo server version 3.6 row. If you don’t see this option, your account might not be eligible for this upgrade. Please file a support ticket if that is the case.Mongo Upgrade 3

#do not use #cosmos #cosmosdb #mongodb #new #server #upgrade

Upgrade your server version from 3.2 to 3.6 for Azure Cosmos DB API for MongoDB
3.25 GEEK