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

Enable statistics logging via reconfigure

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Resolution: Fixed
    • None
    • WT2.2
    • None

    Description

      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?

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: