Ashin Gau
5bfdfac387
[feature-wip](parquet-reader) add parquet reader profile (#12797)
Add profile for parquet reader. New counters:
- ParquetFilteredGroups: Filtered row groups by `RowGroup` min-max statistics
- ParquetReadGroups: The number of row groups to read
- ParquetFilteredRowsByGroup: The number of filtered rows by `RowGroup` min-max statistics
- ParquetFilteredRowsByPage: The number of filtered rows by page min-max statistics
- ParquetFilteredBytes: The filtered bytes by `RowGroup` min-max statistics
- ParquetReadBytes: The total bytes in `ParquetReadGroups`, may be further filtered If a page is skipped as a whole
## Result
```
┌──────────────────────────────────────────────────────┐
│[0: VFILE_SCAN_NODE] │
│(Active: 1s29ms, non-child: 96.42) │
│ - Counters: │
│ - BytesRead: 0.00 │
│ - FileReadCalls: 1.826K (1826) │
│ - FileReadTime: 510.627ms │
│ - FileRemoteReadBytes: 65.23 MB │
│ - FileRemoteReadCalls: 1.146K (1146) │
│ - FileRemoteReadRate: 128.29331970214844 MB/sec │
│ - FileRemoteReadTime: 508.469ms │
│ - NumDiskAccess: 0 │
│ - NumScanners: 1 │
│ - ParquetFilteredBytes: 0.00 │
│ - ParquetFilteredGroups: 0 │
│ - ParquetFilteredRowsByGroup: 0 │
│ - ParquetFilteredRowsByPage: 6.600003M (6600003)│
│ - ParquetReadBytes: 2.13 GB │
│ - ParquetReadGroups: 20 │
│ - PeakMemoryUsage: 0.00 │
│ - PredicateFilteredRows: 3.399797M (3399797) │
│ - PredicateFilteredTime: 133.302ms │
│ - RowsRead: 3.399997M (3399997) │
│ - RowsReturned: 200 │
│ - RowsReturnedRate: 194 │
│ - TotalRawReadTime(*): 726.566ms │
│ - TotalReadThroughput: 0.0 /sec │
│ - WaitScannerTime: 1s27ms │
└──────────────────────────────────────────────────────┘
```
2022-09-23 18:42:14 +08:00
..
2022-09-23 18:42:14 +08:00
2022-08-31 16:23:36 +08:00
2022-08-31 16:23:36 +08:00
2022-09-23 18:29:54 +08:00
2022-09-19 10:13:18 +08:00
2022-07-21 17:11:28 +08:00
2022-07-21 17:11:28 +08:00
2022-08-24 08:49:34 +08:00