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

Change WiredTiger index key format to no longer use BSON

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Critical - P2
    • Resolution: Fixed
    • None
    • 2.8.0-rc5
    • Index Maintenance, Storage
    • None
    • 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

              mathias@mongodb.com Mathias Stearn
              dan@mongodb.com Daniel Pasette
              Votes:
              0 Vote for this issue
              Watchers:
              22 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: