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

fast way to fetch logging config for a table

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.3 Desired
    • Component/s: None
    • Labels:
      None

      Description

      On startup, MongoDB needs to fetch the state of all tables' logging config. It does this by opening a metadata:create cursor on each table. This operation is CPU intensive since it needs to merge multiple configs (from table, column group, and file) into one sorted config string before returning to the caller. We could potentially improve MongoDB startup time by creating a special fast-path way to fetch just the state of logging (e.g. "log=(enabled=true)") for a table without going through the expensive config parsing work. This might involve a special flag to metadata:create cursors, or something more exotic.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-storage-engines Backlog - Storage Engines Team
              Reporter:
              milkie Eric Milkie
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: