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. SELECT TOP 1 * FROM C should not result in full scan

    Currently the query "SELECT TOP 1 * FROM C" seems to touch on all documents resulting in a huge RU usage. If no ORDER BY clause is specified this should not be necessary.

    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 →
    • Make the emulator install path customisable

      Currently the emulator installer is hard-coded to install on the C: drive, it'd be great if there was an option to install to a different drive

      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 →
      • Linq provider should respect JsonSerializerSettings ContractResolvers

        JsonSerializerSettings are now supported when creating the client, as per https://feedback.azure.com/forums/263030-azure-cosmos-db/suggestions/6422364-allow-me-to-set-jsonserializersettings

        However, when using for example a CamelCasePropertyNamesContractResolver to store the data, the linq queries will fail if the properties on the POCO classes are Pascal case.

        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 →
        • Stored procedures should support ES2016

          Server-side stored procedures in Azure Cosmos DB does not support features in ES2016, such as async operators, or spread syntax. These features would make manipulating objects a lot easier, and the code cleaner.

          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 →
          • Cosmos DB on Devices

            Document databases are well suited to replication/synchronization. A Desktop/Device version of ComosDB that could be redistributed with an application would allow data to easily be synchronized between devices that go offline and the cloud.

            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 →
            • Encryption via Key Vault

              Provide ability to encrypt data at rest using provided keys using Key Vault. This is a frequent requirement for storing anything related to the business, especially finances.

              Keys will be managed by customer in that case.

              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…)
                0 comments  ·  Flag idea as inappropriate…  ·  Admin →
              • Make geospatial queries less expensive to run

                Currently GeoSpatial queries are very expensive in terms of RUs compared to other non geospatial queries. It would be nice to be able to run these queries without breaking the bank!

                5 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 →

                  We constantly improve the efficiency and latency of our query engine, and transfer those improvements to our customers in the form of lower RUs (including geo-spatial queries). Leaving this item open until the next round of major improvements.

                • EventGrid publisher for CosmosDB

                  Instead of, or in addition to, the existing ChangeFeed please publish changes to Event Grid.

                  This shud be mngt ops like DB create, collection create etc.
                  AND changes to documents, including deletes.

                  23 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 →
                  • Emit RU charges (and other metrics) to Application Insights

                    log @cosmosdb RU usage per query in @AppInsights (without using custom data), by configuration.

                    turn a key, in configuration, and have request response info, like RU charge, emitted to AppInsights.

                    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 →
                    • Support for Direct.TCP mode for Java SDK Client

                      Currently Java SDK client does not support Direct.TCP mode connection which is supported by C#.Net SDK client. Direct.TCP mode connection would have better performance compare to Direct.HTTP mode

                      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 →
                      • per-partition key change feed

                        It would be great if you could get a change feed for a very specific partition, this would eliminate the need having a global listener and having to react/route to every document through the feed instead of listening for only the particular set it cares about.

                        22 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 →
                        • Cosmos DB Linux ODBC Driver

                          Would be great to have the ODBC driver for linux variants. We were looking to port a MongoDB application and require some sort of aggregation features on some linux machines.

                          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 →
                          • Autoscale throughput like App Service Plan handles scale out

                            In App Service Plan it is possible to configure auto scaling. I would like the same capability in CosmosDB. I.e. I could set a lower and upper RU/s and if throttling was about to occur, Cosmos DB could instead increase RU/s until the upper limit was reached or throughput was met. And Cosmos would also automatically lower RU/s if traffic is low.

                            34 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 →
                            • store asp.net session state in azure documentdb

                              i want store asp.net session state in azure documentdb.
                              I remember there was a special store provider for appfabric cache to store session state (configured in web.config), it's also possible with sql server. however, in documrntdb you can't do this, if i use documrntdb as my main db and im using an adhoc loadbalancer it will be great to store the asp.net session state in documrntdb.

                              7 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 get better support for custom exceptions (and error codes) in stored procedures

                                Hello all,

                                As far as I see, it is not possible to throw a custom error (with a custom, user defined, error code), inside a DocDb stored procedure?

                                Ideally, I want to throw exceptions, in order to indicate if there is a functional error that needs to be handled by the calling client.

                                Now, I am throwing an Error, like this : throw new Error("[901] - Status was invalid."); and I'm checking client side to see if the error message starts with that code or not.

                                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 →
                                • Emulator - Provide some RU/s or RU/m metrics

                                  It would be nice if the emulator displayed some basic metrics such as RU/s or RU/m even if they were exported to a log file. This would allow us to do some "real world" analysis for better capacity planning.

                                  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 →
                                  • Support filters (queries) on the Change Feed

                                    For some advanced scenarios and for performance reasons, support filters (queries) on the Change Feed

                                    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 →
                                    • Different Access Levels for Cosmos DB

                                      Allow a set of keys for read-write or read-only that are restricted to the Collection level or the DB level. Enable multiple applications to have different levels of permission to a single Cosmos DB.

                                      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 →
                                      • Support for schema definition (get all distinct property names and types in a collection)

                                        Support for schema definition (get all distinct property names and types in a collection)

                                        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 →
                                        • Connect Cloud Explorer with local Document DB emulator

                                          Please provide an option to connect local DocumentDB emulator with Cloud Explorer inside Visual Studio via a connection string.

                                          It will be helpful to have features like
                                          - directly committing the stored procedure/functions/trigger to source control from there instead of going through all copy-paste.
                                          - creating/updating/triggering a stored procedure from source control

                                          7 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 6 7
                                          • Don't see your idea?

                                          Azure Cosmos DB

                                          Feedback and Knowledge Base