Azure Cosmos DB

Azure Cosmos DB is a globally distributed database service designed to enable you to elastically and independently scale throughput and storage across any number of geographical regions with comprehensive SLAs. You can develop document, key/value, or graph databases with Cosmos DB using a series of popular APIs and programming models.

Core API:
With the Core API, Azure Cosmos DB provides rich and familiar SQL query capabilities with consistent low latencies over schema-less JSON data. In this article, we provide an overview of the Azure Cosmos DB’s Core API, and how to best use the API.

Graph API:
Azure Cosmos DB provides the Gremlin graph API for graph modeling and traversal, along with turn-key global distribution, elastic scaling of storage and throughput, and low latency.

Apache Cassandra API
Azure Cosmos DB supports the Cassandra API. This means that by using existing drivers, your application written for Apache Cassandra can now communicate with Azure Cosmos DB instead of Apache Cassandra/Datastax Enterprise databases, and gain benefits like global distribution and elastic scale.

MongoDB API:
Azure Cosmos DB supports the MongoDB API. This means that by using existing drivers, your application written for MongoDB can now communicate with Cosmos DB instead of MongoDB databases, and gain benefits like global distribution & elastic scale.

Table API:
Azure Cosmos DB provides the Table API for key-value workloads. This provides a premium experience for Azure Table storage with secondary indexes, global distribution, low latency, and dedicated throughput.

How can we improve Azure Cosmos DB?

You've used all your votes and won't be able to post a new idea, but you can still search and comment on existing ideas.

There are two ways to get more votes:

  • When an admin closes an idea you've voted on, you'll get your votes back from that idea.
  • You can remove your votes from an open idea you support.
  • To see ideas you have already voted on, select the "My feedback" filter and select "My open ideas".
(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. Autoscale Throughput (UR/s)

    Depending on the average amount of incomming requests/ required RU's, (or other parameters,)
    I would like to autoscale the througput(RU/s) of a collection.

    642 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      23 comments  ·  Flag idea as inappropriate…  ·  Admin →
    • I want atomic counter

      I want a counter is a valid atomic in the collection. Such as use with automatic sequential number.

      550 votes
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        Signed in as (Sign out)
        You have left! (?) (thinking…)
        10 comments  ·  Flag idea as inappropriate…  ·  Admin →
        started  ·  Azure Cosmos DB Team responded

        The RID system property is an automatic sequential number (within a partition) encoded as a base64 string. We are planning to introduce SQL built-in functions that let you convert it to a number (and back).

      • Allow multi Order By

        From what I see it is impossible to run a query with more than one column in the Order By.

        425 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          7 comments  ·  Core API  ·  Flag idea as inappropriate…  ·  Admin →
        • CORS support

          I don't understand why you've released a Rest API and Javascript SDK if DocumentDB doesn't support CORS, if we need a proxy due to this limitation and due to the same-origin policy the Rest API is useless.. do you plan to support CORS?

          Thansk, regards
          Giordano Pellegri

          228 votes
          Vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            Signed in as (Sign out)
            You have left! (?) (thinking…)
            7 comments  ·  Flag idea as inappropriate…  ·  Admin →
          • Document DB in vNet

            Any roadmap to make documentDB available on vNet

            102 votes
            Vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              6 comments  ·  Flag idea as inappropriate…  ·  Admin →
            • .NET SDK support on Mono + Linux/Mac

              .NET SDK should work out of the box with Mono on Linux / Mac

              99 votes
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                Signed in as (Sign out)
                You have left! (?) (thinking…)
                started  ·  7 comments  ·  Flag idea as inappropriate…  ·  Admin →
              • ChangeFeed Integration w/ Azure Functions

                In a manner similar to a [Blob|ServiceBusQueue|etc]Trigger to execute an Azure Function, it would be helpful to have a ChangeFeed trigger. Ideally the trigger should support action (Create/Update/Delete) filtering as well as filters addition to Document attributes.

                77 votes
                Vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                  7 comments  ·  Flag idea as inappropriate…  ·  Admin →
                • .NET SDK support in UWP apps

                  The following message is generated if one attempts to add the Microsoft.Azure.DocumentDb nuget package to a Universal Windows Platform app:
                  Some packages are not compatible with UAP,Version=v10.0 (win10-x64-aot).

                  51 votes
                  Vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    Signed in as (Sign out)
                    You have left! (?) (thinking…)
                    0 comments  ·  Core API  ·  Flag idea as inappropriate…  ·  Admin →
                  • I want to be able to create an Azure Cosmos Account that supports multiple APIs

                    Since Cosmos DB with the Mongo API does not support all Mongo commands, I would like to be able to configure Cosmos DB accounts to support multiple apis (e.g. Mongo and Sql/DocumentDB) as described here: https://stackoverflow.com/questions/44247726/is-there-a-way-to-configure-cosmosdb-to-use-both-the-sql-documentdb-and-mongod

                    49 votes
                    Vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      Signed in as (Sign out)
                      You have left! (?) (thinking…)
                      2 comments  ·  Flag idea as inappropriate…  ·  Admin →
                      started  ·  Azure Cosmos DB Team responded

                      Azure Cosmos DB is a multi-model database service, and therefore supports accessing the same underlying data using any/all APIs. We are however implementing some platform-level changes to make data access from different APIs seamless like supporting conversions between disparate type systems, and capabilities.

                    • Visual studio service explorer integration

                      All major azure services are integrated with Visual Studio and server explorer. It could be resonable if DocumentDB will be added in a next version of sdk.

                      21 votes
                      Vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        Signed in as (Sign out)
                        You have left! (?) (thinking…)
                        1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                        started  ·  DocumentDB Team responded

                        We have started development on this feature. Please tweet at @DocumentDB if you have any feature suggestions.

                        Thanks,
                        Andrew Hoh
                        Azure DocumentDB

                      • PCI DSS Compliance

                        DocumentDB is not listed as PCI-DSS compliant ( https://www.microsoft.com/en-us/TrustCenter/Compliance/PCI ). The application I'm working on requires PCI-DSS compliance, so this is a blocker.

                        10 votes
                        Vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          Signed in as (Sign out)
                          You have left! (?) (thinking…)
                          0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                          started  ·  Azure Cosmos DB Team responded

                          We are currently working on PCI-DSS compliance. Please email us at askdocdb at Microsoft dot com in case you have workloads dependent on the availability of this feature.

                          Thank you,
                          Aravind Ramachandran
                          Azure DocumentDB

                        • Don't see your idea?

                        Azure Cosmos DB

                        Feedback and Knowledge Base