scan_performance.json 543 B

12345678910111213141516171819
  1. {
  2. "type": "SQLOperator",
  3. "node_name": "HDFS_SCAN_NODE",
  4. "metric_names": [
  5. "RowsRead",
  6. "ScannerThreadsUserTime",
  7. "ScannerThreadsSysTime",
  8. "AverageScannerThreadConcurrency"
  9. ],
  10. "unit_id": 5,
  11. "rule": {
  12. "expr": "(vars['ScannerThreadsUserTime'] + vars['ScannerThreadsSysTime'] - vars['RowsRead'] * 100) / max(1,vars['AverageScannerThreadConcurrency'])",
  13. "message": "Predicates might be expensive (expectes speed 10m rows per sec per core)",
  14. "label": "Slow HDFS Scan"
  15. },
  16. "fix": {
  17. "fixable": false
  18. }
  19. }