Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-12562

log_prealloc configuration optimization

    • Storage Engines
    • 3
    • Megabat - 2024-05-14

      log_prealloc configuration optimization

       

      befor this PR:
      log_prealloc's type is bool and initialized to 1, In the first second of pressure testing, if the file_max value is small, a large number of WiredTigerPreplog.xxxxx files are created by user threads, which may have some impact on some user requests.

      after this PR:
      We can create WiredTigerPreplog.xxxxx files in advance,The number of files can be configured by log_prealloc.

      thanks.

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            1147952115@qq.com y yz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: