log_prealloc configuration optimization

XMLWordPrintableJSON

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

      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:
            Susan LoVerso (Inactive)
            Reporter:
            y yz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: