查询大概是 select table where order by 主键 limit 10000
+------------------------------------+------------+---------+-----------+---------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------+------+
| id | estRows | actRows | task | access object | execution info | operator info | memory | disk |
+------------------------------------+------------+---------+-----------+---------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------+------+
| Projection_7 | 10000.00 | 10000 | root | | time:4.91s, loops:11, RU:5422.964476, Concurrency:8 | test_data.testtable.id_, test_data.testtable.ref_id_, test_data.testtable.parent_id_, test_data.testtable.update_version_, test_data.testtable.f_order_key, test_data.testtable.f_source_system, test_data.testtable.f_source_system_name, test_data.testtable.f_business_type, test_data.testtable.f_business_type_name, test_data.testtable.f_order_id, test_data.testtable.f_service_date, test_data.testtable.f_process_flag, test_data.testtable.f_error_message, test_data.testtable.inst_id_, test_data.testtable.inst_status_, test_data.testtable.f_create_by_name, test_data.testtable.f_consume_cnt, test_data.testtable.tenant_id_, test_data.testtable.create_time_, test_data.testtable.update_time_, test_data.testtable.create_by_, test_data.testtable.update_by_, test_data.testtable.create_dep_id_ | 2.77 MB | N/A |
| └─TopN_9 | 10000.00 | 10000 | root | | time:4.91s, loops:11 | test_data.testtable.id_, offset:0, count:10000 | 10.0 MB | N/A |
| └─IndexLookUp_23 | 10000.00 | 62048 | root | | time:4.81s, loops:62, index_task: {total_time: 2.02s, fetch_handle: 2.02s, build: 17.7µs, wait: 52.5µs}, table_task: {total_time: 4.48s, num: 6, concurrency: 8}, next: {wait_index: 704.6ms, wait_table_lookup_build: 26.2ms, wait_table_lookup_resp: 4.04s} | | 16.1 MB | N/A |
| ├─TopN_22(Build) | 10000.00 | 62048 | cop[tikv] | | time:1.97s, loops:46, cop_task: {num: 29, max: 1.06s, min: 5.37ms, avg: 311.1ms, p95: 880.9ms, max_proc_keys: 417104, p95_proc_keys: 137522, tot_proc: 8.78s, tot_wait: 5.88ms, rpc_num: 30, rpc_time: 9.61s, copr_cache_hit_ratio: 0.00, build_task_duration: 100.3µs, max_distsql_concurrency: 15}, ResolveLock:{num_rpc:1, total_time:1.37ms}, tikv_task:{proc max:1.04s, min:1ms, avg: 303.1ms, p80:486ms, p95:877ms, iters:650, tasks:29}, scan_detail: {total_process_keys: 596674, total_process_keys_size: 66230814, total_keys: 11049078, get_snapshot_time: 567.6µs, rocksdb: {delete_skipped_count: 55665, key_skipped_count: 12334000, block: {cache_hit_count: 22999, read_count: 54, read_byte: 854.9 KB, read_time: 677.1µs}}} | test_data.testtable.id_, offset:0, count:10000 | N/A | N/A |
| │ └─Selection_21 | 5959245.93 | 596674 | cop[tikv] | | tikv_task:{proc max:1.04s, min:1ms, avg: 295.8ms, p80:486ms, p95:787ms, iters:650, tasks:29} | gt(test_data.testtable.id_, "1859373009586388993") | N/A | N/A |
| │ └─IndexRangeScan_19 | 6112639.72 | 596674 | cop[tikv] | table:testtable, index:source_date_flag_IDX(F_SOURCE_SYSTEM, F_SERVICE_DATE, F_PROCESS_FLAG) | tikv_task:{proc max:1.04s, min:1ms, avg: 291.2ms, p80:486ms, p95:737ms, iters:650, tasks:29} | range:["Move" 2024-11-20 "N","Move" 2024-11-20 "N"], keep order:false | N/A | N/A |
| └─TableRowIDScan_20(Probe) | 10000.00 | 62048 | cop[tikv] | table:testtable | time:4.44s, loops:69, cop_task: {num: 8, max: 2.75s, min: 53.9ms, avg: 613.5ms, p95: 2.75s, max_proc_keys: 25000, p95_proc_keys: 25000, tot_proc: 3.04s, tot_wait: 2.61ms, rpc_num: 8, rpc_time: 4.91s, copr_cache_hit_ratio: 0.00, build_task_duration: 4.59ms, max_distsql_concurrency: 2}, tikv_task:{proc max:2.62s, min:45ms, avg: 573.9ms, p80:583ms, p95:2.62s, iters:97, tasks:8}, scan_detail: {total_process_keys: 62048, total_process_keys_size: 16653986, total_keys: 132067, get_snapshot_time: 2.03ms, rocksdb: {delete_skipped_count: 7617, key_skipped_count: 79945, block: {cache_hit_count: 744528, read_count: 89, read_byte: 1.37 MB, read_time: 1.75ms}}} | keep order:false | N/A | N/A |
+------------------------------------+------------+---------+-----------+---------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------+------+