Do not report ERROR when sample rate equals 100

This commit is contained in:
ZenoWang
2024-02-06 14:49:31 +00:00
committed by ob-robot
parent 1f1d5c08ae
commit c8ef409bf3
3710 changed files with 486984 additions and 3083329 deletions

View File

@ -578,24 +578,23 @@ where b.card_no is null
order by a.card_no
limit 0,2000;
Query Plan
==================================================================================================
|ID|OPERATOR |NAME |EST.ROWS|EST.TIME(us)|
--------------------------------------------------------------------------------------------------
|0 |LIMIT | |1 |5 |
|1 |└─MERGE ANTI JOIN | |1 |5 |
|2 | ├─SUBPLAN SCAN |a |1 |3 |
|3 | │ └─MERGE DISTINCT | |1 |3 |
|4 | │ └─TABLE FULL SCAN|pcb_common_bill_01(UK_CARDNO_ATTR_PRODID_OUTNO)|1 |3 |
|5 | └─SUBPLAN SCAN |VIEW1 |1 |3 |
|6 | └─TABLE FULL SCAN |b(uk_cardno) |1 |3 |
==================================================================================================
=============================================================================================================
|ID|OPERATOR |NAME |EST.ROWS|EST.TIME(us)|
-------------------------------------------------------------------------------------------------------------
|0 |LIMIT | |1 |3 |
|1 |└─NESTED-LOOP ANTI JOIN | |1 |3 |
|2 | ├─SUBPLAN SCAN |a |1 |3 |
|3 | │ └─MERGE DISTINCT | |1 |3 |
|4 | │ └─TABLE FULL SCAN |pcb_common_bill_01(UK_CARDNO_ATTR_PRODID_OUTNO)|1 |3 |
|5 | └─SUBPLAN SCAN |VIEW1 |1 |18 |
|6 | └─DISTRIBUTED TABLE RANGE SCAN|b(uk_cardno) |1 |18 |
=============================================================================================================
Outputs & filters:
-------------------------------------
0 - output([a.card_no]), filter(nil), rowset=16
limit(2000), offset(0)
1 - output([a.card_no]), filter(nil), rowset=16
equal_conds([a.card_no = VIEW1.b.card_no]), other_conds(nil)
merge_directions([ASC])
conds(nil), nl_params_([a.card_no(:0)]), use_batch=false
2 - output([a.card_no]), filter(nil), rowset=16
access([a.card_no])
3 - output([pcb_common_bill_01.CARD_NO]), filter(nil), rowset=16
@ -607,12 +606,13 @@ Outputs & filters:
range_key([pcb_common_bill_01.CARD_NO], [pcb_common_bill_01.ATTRIBUTE_INST], [pcb_common_bill_01.PRODUCT_ID], [pcb_common_bill_01.OUT_BILL_NO], [pcb_common_bill_01.shadow_pk_0]),
range(5001,MIN,MIN,MIN,MIN ; 5001￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿,MAX,MAX,MAX,
MAX)
5 - output([VIEW1.b.card_no]), filter(nil), rowset=16
access([VIEW1.b.card_no])
5 - output(nil), filter(nil), rowset=16
access(nil)
6 - output([b.card_no]), filter([(T_OP_LIKE, b.card_no, '5001____________', '\\')]), rowset=16
access([b.card_no]), partitions(p0)
is_index_back=false, is_global_index=false, filter_before_indexback[false],
range_key([b.card_no], [b.shadow_pk_0]), range(5001,MIN ; 5001￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿,MAX)
range_key([b.card_no], [b.shadow_pk_0]), range(5001,MIN ; 5001￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿,MAX),
range_cond([:0 = b.card_no])
CREATE TABLE `pcb_installment_00` (
`BILL_NO` varchar(28) NOT NULL,
`INSTALL_NUM` decimal(5,0) NOT NULL,

View File

@ -739,7 +739,7 @@ Outputs & filters:
0 - output([T_FUN_MAX(skyline_int.v1)], [skyline_int.tenant_id], [skyline_int.v6]), filter(nil), rowset=16
sort_keys([skyline_int.v3, ASC], [skyline_int.v4, ASC], [skyline_int.v5, ASC])
1 - output([skyline_int.v3], [skyline_int.v4], [skyline_int.v5], [T_FUN_MAX(skyline_int.v1)], [skyline_int.tenant_id], [skyline_int.v6]), filter(nil), rowset=16
group([skyline_int.v5], [skyline_int.v4], [skyline_int.v3]), agg_func([T_FUN_MAX(skyline_int.v1)])
group([skyline_int.v3], [skyline_int.v5], [skyline_int.v4]), agg_func([T_FUN_MAX(skyline_int.v1)])
2 - output([skyline_int.v3], [skyline_int.v4], [skyline_int.v5], [skyline_int.tenant_id], [skyline_int.v6], [skyline_int.v1]), filter(nil), rowset=16
equal_conds([skyline_int.v3 = other.c1]), other_conds(nil)
merge_directions([ASC])
@ -852,7 +852,7 @@ Outputs & filters:
0 - output([skyline_int.v5], [skyline_int.v4], [skyline_int.v3]), filter(nil), rowset=16
sort_keys([skyline_int.v3, ASC])
1 - output([skyline_int.v3], [skyline_int.v5], [skyline_int.v4]), filter(nil), rowset=16
distinct([skyline_int.v5], [skyline_int.v4], [skyline_int.v3])
distinct([skyline_int.v4], [skyline_int.v5], [skyline_int.v3])
2 - output([skyline_int.v3], [skyline_int.v5], [skyline_int.v4]), filter(nil), rowset=16
equal_conds([skyline_int.v4 = other.c1]), other_conds(nil)
merge_directions([ASC])
@ -928,7 +928,7 @@ Query Plan
============================================================================
|ID|OPERATOR |NAME |EST.ROWS|EST.TIME(us)|
----------------------------------------------------------------------------
|0 |MERGE UNION DISTINCT| |1 |5 |
|0 |MERGE UNION DISTINCT| |2 |5 |
|1 |├─TABLE FULL SCAN |skyline_int(idx_v3_v4_v5_v2)|1 |3 |
|2 |└─TABLE FULL SCAN |other |1 |3 |
============================================================================
@ -971,7 +971,7 @@ Query Plan
===============================================================================
|ID|OPERATOR |NAME |EST.ROWS|EST.TIME(us)|
-------------------------------------------------------------------------------
|0 |MERGE UNION DISTINCT| |1 |5 |
|0 |MERGE UNION DISTINCT| |2 |5 |
|1 |├─TABLE FULL SCAN |skyline_int(idx_v4_v5_v6_v2_v3)|1 |3 |
|2 |└─TABLE FULL SCAN |skyline_int(idx_v2_v3_v4) |1 |3 |
===============================================================================
@ -1350,7 +1350,7 @@ Query Plan
===============================================================================
|ID|OPERATOR |NAME |EST.ROWS|EST.TIME(us)|
-------------------------------------------------------------------------------
|0 |MERGE UNION DISTINCT| |1 |7 |
|0 |MERGE UNION DISTINCT| |2 |7 |
|1 |├─MERGE JOIN | |1 |5 |
|2 |│ ├─TABLE FULL SCAN |skyline_int(idx_v4_v5_v6_v2_v3)|1 |3 |
|3 |│ └─TABLE FULL SCAN |other |1 |3 |
@ -1414,7 +1414,7 @@ Query Plan
=====================================================
|ID|OPERATOR |NAME |EST.ROWS|EST.TIME(us)|
-----------------------------------------------------
|0 |MERGE UNION DISTINCT| |1 |5 |
|0 |MERGE UNION DISTINCT| |2 |5 |
|1 |├─TABLE FULL SCAN |other|1 |3 |
|2 |└─TABLE FULL SCAN |other|1 |3 |
=====================================================