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

Allow folks with hashed shard keys to drop the hashed index

    XMLWordPrintableJSON

Details

    • Sharding NYC
    • Fully Compatible
    • v7.0, v6.0, v5.0
    • Sharding NYC 2023-07-10, Sharding NYC 2023-07-24, Sharding NYC 2023-08-07
    • 160
    • 2

    Description

      The hashed index is only needed to support chunk migrations. However, it hurts write performance. Most collections with hashed shard keys have even data distribution and growth, thus not requiring chunk migrations. As such, we should allow customers to drop the hashed index for hashed shard keys. 

      Attachments

        Activity

          People

            ali.mir@mongodb.com Ali Mir
            garaudy.etienne@mongodb.com Garaudy Etienne
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: