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

add the ability to set a collection's padding factor by hand

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor - P4
    • Resolution: Duplicate
    • 2.4.4
    • None
    • None
    • None

    Description

      When we bring up a secondary via initial sync to compact all the databases and collections and then elect it primary, the performance suffers for weeks or months afterwards.

      We think this is because the padding factor gets reset for all collections, and it takes the db a long time to relearn how much space it should allocate for each write that moves things around on disk. So it ends up doing a lot more moves and writes to disk than it really should.

      If we were able to set the padding factor manually, we could run a sync script to iterate through all the collections and set the padding factor on the secondary to match that on the primary, before doing the swap. We would LOVE to have this feature.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              charity@parse.com charity majors
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: