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. 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.

    15 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.

      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 →
      • 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.

          16 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.

              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 →
              • 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.

                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 →
                • 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.

                  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 →
                  • 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.

                    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 →
                    • 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 →
                          • Support Azure Blob API

                            Azure Premium Storage does not support block blobs or append blobs. These blob types are useful when information must be written and/or read from multiple machines in a cluster.

                            Cosmos DB should support the block blob and append blob APIs to provide an SSD-backed, faster alternative to the Azure Blob API.

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

                              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 →
                              • Enable async, q, or rxjs in stored procedures

                                It would be awesome if we could load external async JavaScript libraries into Stored Procedures - async, q, or rxjs would work.

                                We frequently make multiple calls into DocumentDB with our sprocs and these libraries would allow us to easily use promises and control the flow without getting into curly brace ****.

                                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 →
                                • Make the various types of response implement a common interface

                                  I have some code on providing AUCost data. I need to write it twice for StoredProcedureResponse and ResourceResponse, because they don't implement a common interface, at least in the .NET Core SDK.

                                  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 →
                                  • Enumerate all properties of a Document

                                    We can set/get a specific property by propertyName as a key.
                                    So it's kind of key-value pair collection.
                                    I need to enumerate all properties in a Document without re-serialize and deserialize as enumerable type.

                                    I think about IEnumerable<KeyValuePair<string, object>> implementation for the Document class.
                                    So that I can enumerate document's properties like:

                                    for each (prop in myDocument)
                                    {
                                    var propertyName = prop.Key;
                                    var propertyValue = prop.Vaule;
                                    }

                                    Or, I can treat it as a Dictionary so that I can control key-comparison method:

                                    var dic = new Dictionary<string, object>(myDocument, StringComparer.OrdinalIgnoreCase);

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

                                        One of the goals for parallel query execution in the client-side was to support low latency query execution. We’ve since added support for parallelism in the SDKs.

                                        We are planning to add support for REST API of all queries for workloads that need to reduce client CPU utilization.

                                        Thanks,
                                        Aravind Krishna R
                                        PM, Azure Cosmos DB

                                      • 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…

                                        16 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

                                          30 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 →
                                          ← Previous 1 3 4 5 9 10
                                          • Don't see your idea?

                                          Azure Cosmos DB

                                          Feedback and Knowledge Base