Skip to content

Database

To report bugs, please use our SERVER JIRA project.

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback

325 results found

  1. Allow Pinning Query Plan Cache Key to a Fixed Plan for a Given Query Shape Hash

    Allow Pinning Query Plan Cache Key to a Fixed Plan for a Given Query Shape Hash

    n MongoDB 8.0, the new setQuerySettings command allows administrators to enforce index hints and other behavior based on the query shape hash. This gives users partial control over query plan selection.

    However, the current implementation still allows the optimizer to re-evaluate multiple plans under certain conditions (e.g., plan cache eviction, plan ranking strategy). Additionally, the planCacheKey, which is the actual determinant for plan reuse, is generated based on more granular factors than the query shape hash (e.g., sort, collation, or exact index hint details).

    4 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  2. Add Option to Disable Specific Metric Groups in FTDC

    https://jira.mongodb.org/browse/SERVER-103431

    This is a feature request (not a bug) to enhance FTDC by allowing users to disable the collection of specific groups of metrics.

    Currently, FTDC collects a wide array of metrics including systemMetrics, which may contain data not always needed (e.g., disk stats from mount points that are irrelevant to the workload). This can generate unnecessary overhead or clutter when analyzing diagnostic data.

    Proposed Enhancement:{}

    Introduce support in FTDC for selectively disabling or adjusting the collection interval of particular groups of metrics, such as:

    systemMetrics
    serverStatus.connections
    Other major metric groups (as applicable)

    This filtering should ideally support:

    Disabling collection…

    7 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Other  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  3. Native Support for Date-Only and Time-Only Field Types

    Summary

    MongoDB currently lacks native field types for date-only (e.g., 2025-05-28) and time-only (e.g., 13:45:00) values. This results in frequent developer confusion, incorrect behavior around time zones, wasted storage, and the need for error-prone workarounds in application code. Other modern databases and languages offer dedicated types for these partial temporal values — MongoDB should as well.


    Problems

    1. Timezone Shifts and Incorrect Behavior

    MongoDB’s Date BSON type stores full datetime values in UTC. If a developer stores a date-only value like 2025-06-01T00:00:00.000Z, clients in a negative timezone (e.g., UTC-6) will see 2025-05-31 — a different day altogether.

    3 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Data Models  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  4. Implement a $hash operator for queries

    Current State:

    MongoDB currently lacks a native $hash operator in the aggregation/query language. While certain helpers like convertShardKeyToHashed or $toHashedIndexKey exist, they are limited in scope:

    • Not available as true query operators (e.g., inaccessible from MongoDB drivers).
    • Return Long values, which aren’t suitable for use cases like generating ObjectId-compatible hashes.
    • Not guaranteed to be stable across versions — limiting their use in persisted or version-sensitive scenarios.
    • Lack of flexibility in algorithm choice (e.g., MD5 only).

    The deprecation of $function further limits users’ ability to implement custom hashing via JS.


    Impact:

    Developers working with large datasets (dozens of GB) are…

    3 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  5. Dont Deprecate LDAP in future Major Version releases.

    we have everything configured with LDAP including Ops manager agents/bind id's/DB ID's etc. We have so much dependency on LDAP which helps us in many ways including rotation of passwords in CyberArk, No dependency of Single passwords etc.
    Kindly help not to deprecate LDAP features.

    6 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Security  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  6. Per-Shard Change Stream and Triggers to improve scalable/performance/resilience

    In our geo-sharded cluster, we use Change Streams and Atlas Triggers.
    Most of our pipelines include a match for the shard key - so we can process the data in the same region where the data resides.

    However, due to the design of change streams with sharded clusters, the change streams are collected from all shards even if the pipeline matches only a specific match. In addition, if a shard has no changes to report, mongos waits up to 10 seconds (by default) before responding to the driver. This makes the data processing too slow.

    This suggestion would also greatly…

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Change Streams  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  7. Maintain database ID/Password profile inside database

    Requirement is to maintain database id/passwords with standard details inside database like (Lastlogin date/ passwordchangedate) and control of passwords related how many failedloginattempts/passwordlifetime/passwordcomplexity/passwordlocktime/passwordreusemax etc

    4 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Security  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  8. 3 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Data Models  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  9. Please include accurate product edition information (Enterprise vs. Community) within the Windows version of mongod.exe.

    Dear MongoDB Support Team,

    I would like to request an enhancement to the Windows version of your MongoDB software. Specifically, please consider including accurate product edition information (Enterprise vs. Community) within the mongod.exe executable.

    Currently, the only reliable method to distinguish between editions is through shell-based verification commands. This limitation adds complexity to enterprise software management and version auditing processes. Embedding edition metadata directly within the executable would significantly streamline identification and improve administrative efficiency.

    Thank you for considering this request. Please let me know if any additional details are needed.

    Best regards,
    Patricia Wu

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Administration  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  10. Decouple "insert" privilege from implicit collection creation

    MongoDB currently allows a user with the insert privilege on a database to implicitly create a new collection by inserting into it — even if the user lacks the createCollection privilege. This behavior makes it difficult to enforce strict access control policies, particularly in security-conscious or regulated environments.

    In contrast, traditional SQL databases like PostgreSQL and MySQL enforce a clear separation:

    The INSERT privilege applies only to existing tables.
    A separate CREATE privilege is required to define new tables.

    We request that MongoDB introduce the ability to decouple insert from implicit collection creation, such as:

    A new action like "insertExistingOnly",…

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Security  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  11. Coordinate Releasing Better

    When Mongo releases a new version, the downloads, release notes, and version selection in the support portal are never in sync and sometimes out of sync for weeks.

    An example right now is 7.0.20. It has been out for a while. If I update via my OS's package manager, I get 7.0.20. Is 7.0.20 in the release archive download page? No. Does it have any published release notes? No. Is it selectable in the Versions list at support.mongodb.com? No. In fact, 7.0.19 is still not selectable there.

    This is very frustrating and causes a lot of workflow/process issues. For example,…

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Other  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  12. Allow the ability when NVME cluster to autoscale up based on CPU and Memory

    To provide autoscaling capability for MongoDB NVME clusters based on CPU utilization and memory metrics. This feature would automatically provision additional resources when predefined thresholds are reached, ensuring optimal performance during usage spikes without manual intervention.

    Currently, MongoDB Atlas NVME-based clusters require manual vertical scaling, which leads to:
    - Performance degradation during unexpected high-load periods
    - Inefficient resource allocation requiring constant monitoring
    - Potential application downtime during scaling operations
    - DevOps overhead for continuous capacity planning

    3 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Performance  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  13. mongodump - add support for nsInclude/nsExclude

    Currently mongodump supports the excludeCollection/includeCollection options but this requires the use of the --db option. It would be useful if mongodump was able to dump all databases, as it does by default, but also be able to specify a collection or collections not to dump.

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  14. 1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Administration  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  15. Add support for all type of joins like Postgres has and improve performance

    $lookup is a performance killer. Joins are crucial parts in every OLTP system. $lookup is the equivalent to join in SQL, however $lookup is slow, doesn't support hash joins or other efficient join algorithm implemented in Postgres for example.

    Seems that if mongo won't add support, their DB puts behind Postgres.

    3 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Performance  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  16. Leveraging Group By/Distinct Query to use regular Index

    When using Group By or Distinct queries on database, provide the ability to leverage existing index

    i.e these queries today will miss using existing index

    db.collection.distinct("field")

    db.collection.aggregate([
    { $group: { _id: "$category", count: { $sum: 1 } } }
    ])

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  17. Disallow new connections that don't specify an appName field

    Currently as a DBA it's sometimes hard to identify which service is causing load on a shared cluster/database. Some people connect for adhoc workloads but don't specify an appName making it hard to track back to the owner. It would be useful to require appName for connections to a cluster to enforce this behavior.

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  18. MongoDB should have a database backup system commit base for large self-management databases, like git commit.

    There is already a mongodb backup tool mongodump but it is not a good solution for backing up large databases. We thought of making a CMS Platform with mongodb. Billions of websites can be created there. For such a large platform, the mongodump backup tool does not seem sufficient.

    We want a solution where Mongodb will manage a different backup directory their data will not be deleted even run the delete command. like blockchain. If we run the delete command it will delete the data from the main database but the secondary backup database will declare it as a delete…

    3 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Data Models  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  19. 1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Data Models  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  20. Provide a dictionary for matched/modified/deleted counts for bulk writes

    Current bulk write operations provide only aggregated counts that look like this:

    {
    acknowledged: true,
    insertedCount: 0,
    insertedIds: {},
    matchedCount: 2,
    modifiedCount: 2,
    deletedCount: 0,
    upsertedCount: 0,
    upsertedIds: {}
    }

    All these operations are processed individually by the server, even if out of order, meaning that the current Mongo DB code aggregates these individual counts in order to present them in the structure above.

    This aggregation, however, makes it impossible to use bulk writes in the same way single updates and deletes can be performed, which significantly slows down mass updates.

    Consider updates of versioned documents - one can issue…

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Performance  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
← Previous 1 3 4 5 16 17
  • Don't see your idea?

Feedback and Knowledge Base