Allow for collections with only immutable docs to reduce memory usage for snapshots in WT.

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Storage Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We have a number of collections whose documents are never modified. It seems like Mongodb should support a feature where a collection could be marked as "doc-immutable", meaning that documents are not updatable (but would be deletable). Then when performing queries, a snapshot would not be needed by WT to return query results. I would imagine that this could save a great deal of memory in the WT cache, especially for queries that bring back many documents.

            Assignee:
            [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            James Reitz
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: