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

Change WiredTiger index key format to no longer use BSON

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0-rc5
    • Component/s: Index Maintenance, Storage
    • Labels:
      None
    • Backwards Compatibility:
      Major Change

      Description

      Change index key format to no longer use BSON in WiredTiger.
      Benefits include:

      • much faster key comparison
      • reduced storage size for indexes
      • take much better advantage of WT key prefix compression
      • no longer require custom collator, which means stock WT tools like repair work with no modification

      As this is an on-disk format change, indexes created before this change with WT will no longer be usable without running:
      mongod --storageEngine wiredTiger --repair

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              redbeard0531 Mathias Stearn
              Reporter:
              pasette Daniel Pasette
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              22 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: