DocumentDB

Azure DocumentDB is the highly scalable NoSQL document database-as-a-service that offers rich query and transactional processing over schema-free data. It helps deliver configurable and reliable performance and enables rapid development. This is all through a self-managed platform and is backed by the power and reach of Azure. DocumentDB is the right solution for web and mobile applications when predictable throughput, low latency, and flexible query are key.

How can we improve Azure DocumentDB?

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. Finer grain monitoring metrics

    Currently the only grain of monitoring metrics available via the portal is at the database account level. If I have two collections in the account I have no means of monitoring a single collection. I'd also like to slice the data by some sort of custom token. If I have multiple services using the same store I'd like to analyse the metrics per service. As the security implementation is so immature the only way I imagine this can be achieved is by persisting a token in the calls made by the services, obviously not all metrics are applicable.

    More operational…

    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 →
    • 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 →
      • Execute read-only stored procedures on secondary replica

        I have a many-to-many scenario close to the post below:
        https://feedback.azure.com/forums/263030-documentdb/suggestions/6611247-support-cross-document-joins
        I have multiple entities, and the relationships between them are saved as documents and can't be denormalized.
        Instead of doing multiple queries against the DB, I'd like to wrap it in a stored procedure to save round-trip time.
        However, current stored procedures can only execute on primary replica, so it would be slow if the users are from another region.
        Is that possible to define some read-only stored procedures so that it can be executed in read regions?

        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 →
        • Compress query results

          Compress query results if requested by the client. This could significantly improve network throughput for large queries.

          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 →
          • Support metrics per region in the Azure Portal

            Since I can use the connection policy to hit different regions, I'd like to be able to filter metrics per region to understand writes and reads traffic better.

            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 →
            • Like upsert, add a get or add function

              like ConcurrentDictionary, there is a GetOrAdd function,

              I frequently find my self doing the following
              1. Check if Document exists
              2. If not, Add document

              Since this is a non-atomic action, today I have to write stored procedures to do this safely.

              possible prototypes

              GetOrAdd(string id, DOC doc)
              GetOrAdd(Expression<Func<DOC, bool>> where, DOC doc)

              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 →
              • Allow Database Level Pricing

                I am looking to convert an application from MongoDB to DocumentDB as I would prefer a managed solution but the collection pricing is absurd. The current model has 1 or 2 collections with 10+ GB of data that will grow at high rates but there are another 30 collections or more with most of them having only 10-20 records. Paying a minimum of $25 per collection is out of the question especially for dev workloads. The pricing model would change your development behaviour to just stuff everything in the same collection but then you loose a lot of the ability…

                27 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 →
                • Reduce in JavaScript Language Integrated Query API

                  Add Reduce function to JavaScript Language Integrated Query API

                  Please add __.reduce() to the JavaScript Language Integrated Query API. I'm using the other chainable functions but really need reduce.

                  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 a Chocolatey package for Azure DocumentDB Emulator

                    When new team member joins our team, we want them to run our Chocolatey script. Currently no package exists for the Emulator.

                    https://chocolatey.org/packages?q=documentdb

                    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 →
                    • Sparse index support

                      Are sparse indexes supported? I get a pymongo error when trying to create sparse indexes on collections.

                      File "/usr/local/lib/python3.5/dist-packages/pymongo-3.4.0-py3.5-linux-x86_64.egg/pymongo/collection.py", line 1562, in ensure_index
                      self.__create_index(keys, kwargs)
                      File "/usr/local/lib/python3.5/dist-packages/pymongo-3.4.0-py3.5-linux-x86_64.egg/pymongo/collection.py", line 1430, in __create_index
                      parse_write_concern_error=True)
                      File "/usr/local/lib/python3.5/dist-packages/pymongo-3.4.0-py3.5-linux-x86_64.egg/pymongo/collection.py", line 232, in _command
                      collation=collation)
                      File "/usr/local/lib/python3.5/dist-packages/pymongo-3.4.0-py3.5-linux-x86_64.egg/pymongo/pool.py", line 419, in command
                      collation=collation)
                      File "/usr/local/lib/python3.5/dist-packages/pymongo-3.4.0-py3.5-linux-x86_64.egg/pymongo/network.py", line 116, in command
                      parse_write_concern_error=parse_write_concern_error)
                      File "/usr/local/lib/python3.5/dist-packages/pymongo-3.4.0-py3.5-linux-x86_64.egg/pymongo/helpers.py", line 210, in _check_command_response
                      raise OperationFailure(msg % errmsg, code, response)
                      pymongo.errors.OperationFailure: 'sparse' is not supported

                      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 →
                      • Add emulator support for windows 7 & 8

                        The DocumentDB emulator currently only supports Windows 10.

                        It would be great if support for Windows 7 & 8 could be added or a work around to run it on these versions of Windows.

                        38 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 →
                        • Built-in OAuth support

                          Support OAuth to make it easy for mobile clients to securely talk directly to DocumentDB without a middle tier or a separate resource token broker.

                          84 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…)
                            5 comments  ·  Flag idea as inappropriate…  ·  Admin →
                          • JDBC Support

                            Provide a JDBC adapter to allow for multiple out of the box data solutions to connect to DocumentDB, ex TIBCO Business Works, SAS Reporting/BI, and Tableau.

                            This would really open up use case possibilities.

                            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…)
                              1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                            • Support partitioned collections with MongoDB protocol

                              Support partitioned collections when using a collection that is using the MongoDB protocol instead of the DocumentDB query protocol.

                              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…)
                                1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                              • connection string

                                Support for DotNet library constructor of DocumentClient taking "Connection string", not the "Uri endpoint + string authKey"similar to other implementations of DocumentDB, or similar to Azure.Storage

                                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…)
                                  2 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                • Native support for sub-query projections

                                  Support for sub-query projections like,

                                  SELECT food.id,
                                  food.description,
                                  food.tags,
                                  (SELECT food.servings.description FROM food.servings) AS SimpleServings
                                  FROM food

                                  13 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 →
                                  • Need Avg Support ?

                                    Hi ,
                                    avg is provide free antivirus . it is free one month if u r required than install.....
                                    https://goo.gl/vwKDpz

                                    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 →
                                    • Authentication Logging?

                                      Given we now have MongoDB protocol access, and REST API access, it seems wise to have an access logging mechanism to record the IP, User, User-Agent, time, and status of requests? Otherwise, we have no idea of the activity against our DocumentDB stores.
                                      Even if these things could simply be toggled on by Diagnostic logging?

                                      Right now, it seems we're blind to requests.

                                      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…)
                                        1 comment  ·  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.

                                        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…)
                                          1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                                        • First Class Support for Create/Update Differentiation w/i ChangeFeed

                                          Add a mechanism to determine the type of change feed event being processed. Actions (e.g. Create/Update/Delete) should be accessible via the FeedResponse<T> (for the .net SDK) for each document.

                                          In addition, CreateDocumentChangeFeedQuery should allow for filtering by these new action types (w/i the DB). Perhaps other [document-level] criteria should be supported too.

                                          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…)
                                            1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                                          ← Previous 1 3 4 5 9 10
                                          • Don't see your idea?

                                          DocumentDB

                                          Feedback and Knowledge Base