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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Execution

      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

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            nicholas.cottrell@mongodb.com Nic Cottrell
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: