Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1121 Improve tracing in Phoenix
  3. PHOENIX-2179

Trace output contains extremely large number of readBlock rows

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      As an example, trace over a 10M row table using count * query produces over 250K rows for HFileReaderV2.readBlock.

      select count(*), description from SYSTEM.TRACING_STATS WHERE TRACE_ID=X group by description;
      +------------------------------------------+------------------------------------------+
      |                 COUNT(1)                 |               DESCRIPTION                |
      +------------------------------------------+------------------------------------------+
      | 3                                        | ClientService.Scan                       |
      | 253879                                   | HFileReaderV2.readBlock                  |
      | 1                                        | Scanner opened on server                 |
      +------------------------------------------+------------------------------------------+
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            mujtabachohan Mujtaba Chohan
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: