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.

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.

  1. Manage parallel processing server side

    If I run a query like "SELECT * FROM d WHERE d.field = "x" against a parallel database I expect the DBMS to run that query against each partition at the same time and return a set of collated results. As apparent from the REST API, it appears that such a query is only executed against 1 partition at a time. This means that to get proper parallel processing the client has to work out the partitioning, fire multiple queries and do the collation client side. To some extent this appears to have been encapsulated in the SDKs.

    To me,…

    1 vote
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      0 comments  ·  Flag idea as inappropriate…  ·  Admin →
    • cosmos db Grah API for .net core pelase!!!

      i read many comments demanding Graph API, and Gremlin Traversal language to be compatible with .NET Core

      17 votes
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)
        You have left! (?) (thinking…)
        1 comment  ·  Flag idea as inappropriate…  ·  Admin →
      • Add ability to rename databases and collections

        It should be possible to rename databases and collections.

        This feature is universal in all if not the vast majority of database products.

        Lack of ability to rename anything makes it very hard for us to manage releases if we are adding new data. Currently, we have to create a copy of the existing database (which is a feat in itself, since this again is not core functionality), make the change there, and then re-point the website to the updated database. All this time, we are incurring extra costs and inconvenience.

        Renaming things also allows us to correct typos, which…

        9 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          0 comments  ·  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

          11 votes
          Vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)
            You have left! (?) (thinking…)
            0 comments  ·  Flag idea as inappropriate…  ·  Admin →
          • 39 votes
            Vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              I agree to the terms of service
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              0 comments  ·  Flag idea as inappropriate…  ·  Admin →
            • Make Cosmos DB a opensouce Database

              Why not?, Microsoft now love the opensource too, make Cosmos DB a opensouce database

              12 votes
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                I agree to the terms of service
                Signed in as (Sign out)
                You have left! (?) (thinking…)
                0 comments  ·  Flag idea as inappropriate…  ·  Admin →
              • Allow TTL to be set by the Azure Cosmos DB Rest API

                Support the Collection Default TTL to be set by the Azure Cosmos DB Rest API

                1 vote
                Vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  I agree to the terms of service
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                  0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                • multiple write regions for a single collection

                  Support multiple write regions natively in a single cosmos db collection. Currently to build globally distributed apps, the application need to query two separate collections and merge the results. Enable true global distribution with active - active pattern and not just global replication.

                  3 votes
                  Vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    I agree to the terms of service
                    Signed in as (Sign out)
                    You have left! (?) (thinking…)
                    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                  • Compress stored data

                    Please compress data in place for more efficient use of storage.

                    For example, I recently exported the entire dataset from a collection and gathered the following stats:

                    DocumentDB Data Storage: 627 MiB (including hidden fields and other overhead I assume, but not Indexes)
                    Exported JSON: 461.72 MiB
                    Compressed JSON: 47MiB

                    So potentially a 10x saving in data storage size.

                    10 votes
                    Vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      I agree to the terms of service
                      Signed in as (Sign out)
                      You have left! (?) (thinking…)
                      0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                    • Create any index right out of Portal

                      It needs to be possible to create an index right out of the portal and not only via issueing code as explained here: https://docs.microsoft.com/en-us/azure/documentdb/documentdb-indexing-policies -- this could be a function you can run, similar to fuctions for relational databases.
                      As-is working with piles of ingested JSON data requires me to do indexing first and the portal UI could be more helpful with that. Thanks!

                      4 votes
                      Vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        I agree to the terms of service
                        Signed in as (Sign out)
                        You have left! (?) (thinking…)
                        2 comments  ·  Flag idea as inappropriate…  ·  Admin →
                      • 14 votes
                        Vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          I agree to the terms of service
                          Signed in as (Sign out)
                          You have left! (?) (thinking…)
                          0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                        • Support documents up to 16mb

                          It's not possible to migrate documents greater than 2mb, please consider increase document size up to 16mb

                          36 votes
                          Vote
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            I agree to the terms of service
                            Signed in as (Sign out)
                            You have left! (?) (thinking…)
                            0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                          • SDK Hooks for all requests

                            There doesn't seem to be a way to log all requests being sent from an application (on the application side). It would be helpful to log the return values and especially the RU consumed for all requests. For instance, with the .NET library the Document Query returns IQueryable and there doesn't seem to be a easy or documented way to determine the RU's of those requests.

                            3 votes
                            Vote
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              I agree to the terms of service
                              Signed in as (Sign out)
                              You have left! (?) (thinking…)
                              0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                            • Bug: Unexpected behaviour of aggregates in Query Explorer

                              When running an aggregate query over a large dataset in Query Explorer the results appear to be arbitrarily grouped. For example the simple query below is expected to return the overall latest processing time. However, it may return a much earlier date and give you the "Next Page" option which, when clicked on, will give you a new result.

                              Setting the "items per page" option to Unlimited makes no difference.

                              SELECT MAX(RawFeed.EventProcessedUtcTime) FROM RawFeed

                              2 votes
                              Vote
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                I agree to the terms of service
                                Signed in as (Sign out)
                                You have left! (?) (thinking…)
                                1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                              • OpenSource DocumentDB .NET SDK

                                Unlike this thread
                                https://feedback.azure.com/forums/263030-documentdb/suggestions/6334154-open-source-documentdb

                                We would like to have only the .NET SDK as opensource
                                https://github.com/Azure/azure-documentdb-dotnet/issues/128

                                I have been programming against docdb with .Net for more than one year now and 80% of my problems come from the .NET SDK. We must be able to step into source code easily and propose pull requests to fix bugs. This will help Microsoft DocDB dev team to speed up corrections and features on this SDK.

                                173 votes
                                Vote
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  I agree to the terms of service
                                  Signed in as (Sign out)
                                  You have left! (?) (thinking…)
                                  0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                • Allow nested properties with Resource.SetPropertyValue(string,string)

                                  For a given document:

                                  {
                                  "id": "CDC101",
                                  "title": "Fundamentals of database design",
                                  "authordetails": {
                                  "Name" : "Dave",
                                  "Age : "33"
                                  },
                                  "credits": 10
                                  }

                                  It would be useful to be able to call:

                                  doc.SetPropertyValue("authordetails.Name", "Mike");

                                  8 votes
                                  Vote
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    I agree to the terms of service
                                    Signed in as (Sign out)
                                    You have left! (?) (thinking…)
                                    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Allow DocumentDB Firewall Entries for App Service

                                    I can specify IP addresses that can get access to a DocumentDB account on the firewall blade as a single IP or as a CIDR range. I would like to specify that the firewall accept the outbound addresses for an app service by entering the name of the app service. That way, I can easily lock down the DocumentDB instance so that only the specific web app can use it. The important aspect of this is that if Azure changes the outbound addresses for the app service, then the DocumentDB firewall should automatically update for the new addresses. I need…

                                    4 votes
                                    Vote
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      I agree to the terms of service
                                      Signed in as (Sign out)
                                      You have left! (?) (thinking…)
                                      0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Aggregate queries fail on x64 builds but work ok on x86

                                      When the VALUE keyword is not specified an exception is thrown unless I explicitly target x86 builds.

                                      For full details see:

                                      http://stackoverflow.com/questions/42907875/document-db-exception-occurs-performing-aggregate-queries-on-x64-platform

                                      1 vote
                                      Vote
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        I agree to the terms of service
                                        Signed in as (Sign out)
                                        You have left! (?) (thinking…)
                                        0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                      • More granular RU, auto-scale RU, separate read-write RU

                                        This is marked as "completed" in some other posts, but it's still very much an issue.

                                        We could use DocumentDB in more scenarios if the collections could be smaller and/or assumed lower or highly variable query volume. AWS DynamoDB billing, for example, is more granular and feels more flexible in many scenarios.

                                        https://aws.amazon.com/dynamodb/pricing/

                                        One use case is pilot projects where we may want to use noSQL DBs for agility. We can't create small collections cost-efficiently on Azure, and partitions aren't viable for this purpose. So we would end up maintaining many small, potentially underutilized, 400RU collections.

                                        It would also be…

                                        36 votes
                                        Vote
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          I agree to the terms of service
                                          Signed in as (Sign out)
                                          You have left! (?) (thinking…)
                                          0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                        • bill

                                          Billing should be database level and not collection level

                                          6 votes
                                          Vote
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            I agree to the terms of service
                                            Signed in as (Sign out)
                                            You have left! (?) (thinking…)
                                            0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                          ← Previous 1 3 4 5 9 10
                                          • Don't see your idea?

                                          Azure Cosmos DB

                                          Feedback and Knowledge Base