Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Document Count Visibility #2551

Open
tnaum-ms opened this issue Jan 27, 2025 · 0 comments
Open

Add Document Count Visibility #2551

tnaum-ms opened this issue Jan 27, 2025 · 0 comments

Comments

@tnaum-ms
Copy link
Collaborator

Currently, there is no indication of how many documents exist in a collection, making it difficult for users to assess the size of their data or plan queries efficiently. This feature will focus on adding document count visibility in key areas of the UI for quick access.

Proposed Solution:

  1. Immediate Enhancement:

    • Display the document count in the Collection View when a query is run (make the count available on demand)
    • Show the document count in the Tree View, visible ahead of opening a collection.
    • This approach focuses on leveraging existing UI elements, enabling quicker implementation without requiring a comprehensive new interface.
  2. Future Work:

    • A dashboard will be developed to provide high-level insights, including document counts, for all collections within a database. This will offer a more comprehensive view of data at a glance.
    • Future progress on this effort can be tracked here Cluster Status Dashboard for MongoDB Clusters 🚀 #2489

Additional Consideration:

  • Ensure that fetching document counts is efficient and doesn’t introduce performance bottlenecks, especially for collections without indexes.
  • Provide a clear loading state or fallback for cases where counts take time to compute.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant