Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-44388

Add "Date created" field to db.collection.stats() output

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:
      None

      Description

      It would be very useful to see the date/timestamp when a collection was created in the output of db.collection.stats().

      Also displaying the "last accessed" could be useful, but I imagine that the overhead of keeping such a value updated means that it is probably not available in the underlying WT metadata.

      Use case: to be able to quickly see if a given collection is recent and is still actively being used, much like $indexStats

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: