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

Enable statistics logging via reconfigure

    • Type: Icon: Task Task
    • Resolution: Done
    • WT2.2
    • Affects Version/s: None
    • Component/s: None

      I attempted to enable statistics logging in wtperf today, but could not get it to work via command line options.

      I tried:

      wtperf $ ./wtperf -M -o "conn_config=statistics_log=(wait=60)"
      Error parsing 'conn_config=statistics_log=(wait=60)' at byte 26: Value already complete: Invalid argument
      wtperf $ ./wtperf -M -C "statistics_log=(wait=60)"
      connection.reconfigure: unknown configuration key: 'statistics_log': Invalid argument
      Error configuring using create,cache_size=1GB,statistics_log=(wait=60) Error: Invalid argument
      

      There seem to be two separate issues.

      AFAIK: It's not possible to reconfigure statistics logging on, since if a connection is opened without statistics logging, we don't collect the statistics. Maybe we need to revisit that?

            Assignee:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: