Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    On demand sampling - inconsistent results

    Using ProTop
    2
    3
    1852
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jdpjamesp
      jdpjamesp last edited by

      Not sure if this is a bug or not. Version 3.3sx on Windows. OE 11.6 32 bit.
      Use S to switch to on demand sampling. Run a query and then hit space to refresh the sample. The table and index stats update, but running the same query repeatedly on the same database doesn't always yield the same results. This is functionality I tend to use to test a specific query in a development environment so it would be helpful for it to work. Alternatively if there's another way of doing it? I can't rely on the auto update as the query execution could take longer than the refresh rate.

      1 Reply Last reply Reply Quote 0
      • tom
        tom administrators last edited by

        When you just change from automatic sampling to "sample on demand" the activity metrics are still reported as "per second".

        What you are probably looking for is "programmer mode". This switches on on-demand sampling and turns off the "per second" calculation.

        control-p

        1 Reply Last reply Reply Quote 0
        • jdpjamesp
          jdpjamesp last edited by

          Yes indeed that's what I'm looking for! I'll have a look and see. Thanks Tom.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post