Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Fix Version/s: 1.2.0 beta 1
    • Component/s: Core
    • Labels:
      None

      Description

      In the spirit of CASSANDRA-511, it would be useful to tracing on queries to see where latency is coming from: how long did row cache lookup take? key search in the index? merging the data from the sstables? etc.

      The main difference vs setting debug logging is that debug logging is too big of a hammer; by turning on the flood of logging for everyone, you actually distort the information you're looking for. This would be something you could set per-query (or more likely per connection).

      We don't need to be as sophisticated as the techniques discussed in the following papers but they are interesting reading:

      http://research.google.com/pubs/pub36356.html
      http://www.usenix.org/events/osdi04/tech/full_papers/barham/barham_html/
      http://www.usenix.org/event/nsdi07/tech/fonseca.html

      1. 1123-3.patch.gz
        13 kB
        amorton
      2. 1123.patch
        117 kB
        David Alves
      3. 1123.patch
        245 kB
        David Alves
      4. 1123.patch
        228 kB
        David Alves
      5. 1123.patch
        232 kB
        David Alves
      6. 1123-v6.txt
        215 kB
        Jonathan Ellis
      7. 1123-v7.patch
        179 kB
        David Alves
      8. 1123-v8.patch
        195 kB
        David Alves
      9. 1123-v9.txt
        155 kB
        Jonathan Ellis
      10. 1123-v9.txt
        170 kB
        Jonathan Ellis
      11. 1123-v9.patch
        170 kB
        David Alves

        Issue Links

          Activity

          Jonathan Ellis created issue -
          Jonathan Ellis made changes -
          Field Original Value New Value
          Assignee Matthew F. Dennis [ mdennis ]
          Jonathan Ellis made changes -
          Fix Version/s 0.8 [ 12314820 ]
          Fix Version/s 0.7 [ 12314533 ]
          Matthew F. Dennis made changes -
          Assignee Matthew F. Dennis [ mdennis ]
          Jeff Hammerbacher made changes -
          Link This issue relates to CASSANDRA-1305 [ CASSANDRA-1305 ]
          Jonathan Ellis made changes -
          Assignee Brandon Williams [ brandon.williams ]
          Jonathan Ellis made changes -
          Assignee Brandon Williams [ brandon.williams ] Aaron Morton [ amorton ]
          Gary Dusbabek made changes -
          Link This issue relates to CASSANDRA-511 [ CASSANDRA-511 ]
          Gary Dusbabek made changes -
          Link This issue relates to CASSANDRA-1355 [ CASSANDRA-1355 ]
          amorton made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          amorton made changes -
          Attachment 1123-3.patch.gz [ 12469132 ]
          Jonathan Ellis made changes -
          Fix Version/s 1.0 [ 12316349 ]
          Fix Version/s 0.8 [ 12314820 ]
          Jonathan Ellis made changes -
          Status Patch Available [ 10002 ] In Progress [ 3 ]
          Jonathan Ellis made changes -
          Fix Version/s 1.1 [ 12317615 ]
          Fix Version/s 1.0 [ 12316349 ]
          Jonathan Ellis made changes -
          Fix Version/s 1.0.1 [ 12317948 ]
          Fix Version/s 1.1 [ 12317615 ]
          Jonathan Ellis made changes -
          Fix Version/s 1.1 [ 12317615 ]
          Fix Version/s 1.0.1 [ 12317948 ]
          Jonathan Ellis made changes -
          Fix Version/s 1.2 [ 12319262 ]
          Fix Version/s 1.1 [ 12317615 ]
          Jonathan Ellis made changes -
          Assignee Aaron Morton [ amorton ] David Alves [ dr-alves ]
          Jonathan Ellis made changes -
          Reviewer jbellis
          David Alves made changes -
          Attachment 1123.patch [ 12536849 ]
          David Alves made changes -
          Status In Progress [ 3 ] Patch Available [ 10002 ]
          David Alves made changes -
          Attachment 1123.patch [ 12541587 ]
          David Alves made changes -
          Attachment 1123.patch [ 12542265 ]
          David Alves made changes -
          Attachment 1123.patch [ 12542561 ]
          Jonathan Ellis made changes -
          Attachment 1123-v6.txt [ 12542623 ]
          Jonathan Ellis made changes -
          Fix Version/s 1.2.0 beta 1 [ 12323241 ]
          Fix Version/s 1.2.0 [ 12319262 ]
          Jonathan Ellis made changes -
          Fix Version/s 1.2.0 beta 1 [ 12319262 ]
          Fix Version/s foo [ 12323241 ]
          David Alves made changes -
          Attachment 1123-v7.patch [ 12542720 ]
          David Alves made changes -
          Attachment 1123-v8.patch [ 12542836 ]
          Jonathan Ellis made changes -
          Attachment 1123-v9.txt [ 12542937 ]
          Jonathan Ellis made changes -
          Attachment 1123-v9.txt [ 12542949 ]
          Jonathan Ellis made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Jonathan Ellis made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          David Alves made changes -
          Attachment 1123-v9.patch [ 12542972 ]
          Jonathan Ellis made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Gavin made changes -
          Workflow no-reopen-closed, patch-avail [ 12511677 ] patch-available, re-open possible [ 12753227 ]
          Gavin made changes -
          Workflow patch-available, re-open possible [ 12753227 ] reopen-resolved, no closed status, patch-avail, testing [ 12755945 ]

            People

            • Assignee:
              David Alves
              Reporter:
              Jonathan Ellis
              Reviewer:
              Jonathan Ellis
            • Votes:
              1 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development