Skip to content
This repository was archived by the owner on Oct 5, 2021. It is now read-only.

Commit 50946d0

Browse files
author
Chaithra Gopalareddy
committed
Bug#21178196 : UPDATE MAY USE INDEX MERGE WITHOUT ANY REASON
(INCREASING CHANCES FOR DEADLOCK) Post push fix for opt_trace.range_ps_prot
1 parent ba785fe commit 50946d0

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

mysql-test/suite/opt_trace/r/range_ps_prot.result

+11-11
Original file line numberDiff line numberDiff line change
@@ -3442,8 +3442,8 @@ EXPLAIN SELECT * FROM t1 WHERE cola = 'foo' AND colb = 'bar' {
34423442
"index": "cola",
34433443
"index_scan_cost": 11.231,
34443444
"cumulated_index_scan_cost": 11.231,
3445-
"disk_sweep_cost": 309.15,
3446-
"cumulated_total_cost": 320.38,
3445+
"disk_sweep_cost": 278.58,
3446+
"cumulated_total_cost": 289.81,
34473447
"usable": true,
34483448
"matching_rows_now": 533,
34493449
"isect_covering_with_this_index": false,
@@ -3453,8 +3453,8 @@ EXPLAIN SELECT * FROM t1 WHERE cola = 'foo' AND colb = 'bar' {
34533453
"index": "colb",
34543454
"index_scan_cost": 11.231,
34553455
"cumulated_index_scan_cost": 22.462,
3456-
"disk_sweep_cost": 30.898,
3457-
"cumulated_total_cost": 53.359,
3456+
"disk_sweep_cost": 28.152,
3457+
"cumulated_total_cost": 50.613,
34583458
"usable": true,
34593459
"matching_rows_now": 32.639,
34603460
"isect_covering_with_this_index": false,
@@ -3466,7 +3466,7 @@ EXPLAIN SELECT * FROM t1 WHERE cola = 'foo' AND colb = 'bar' {
34663466
"cause": "no_clustered_pk_index"
34673467
} /* clustered_pk */,
34683468
"rows": 32,
3469-
"cost": 53.359,
3469+
"cost": 50.613,
34703470
"covering": false,
34713471
"chosen": true
34723472
} /* analyzing_roworder_intersect */
@@ -3475,7 +3475,7 @@ EXPLAIN SELECT * FROM t1 WHERE cola = 'foo' AND colb = 'bar' {
34753475
"range_access_plan": {
34763476
"type": "index_roworder_intersect",
34773477
"rows": 32,
3478-
"cost": 53.359,
3478+
"cost": 50.613,
34793479
"covering": false,
34803480
"clustered_pk_scan": false,
34813481
"intersect_of": [
@@ -3498,7 +3498,7 @@ EXPLAIN SELECT * FROM t1 WHERE cola = 'foo' AND colb = 'bar' {
34983498
] /* intersect_of */
34993499
} /* range_access_plan */,
35003500
"rows_for_plan": 32,
3501-
"cost_for_plan": 53.359,
3501+
"cost_for_plan": 50.613,
35023502
"chosen": true
35033503
} /* chosen_range_access_summary */
35043504
} /* range_analysis */
@@ -3530,12 +3530,12 @@ EXPLAIN SELECT * FROM t1 WHERE cola = 'foo' AND colb = 'bar' {
35303530
{
35313531
"access_type": "range",
35323532
"rows": 24,
3533-
"cost": 59.759,
3533+
"cost": 57.013,
35343534
"chosen": true
35353535
}
35363536
] /* considered_access_paths */
35373537
} /* best_access_path */,
3538-
"cost_for_plan": 59.759,
3538+
"cost_for_plan": 57.013,
35393539
"rows_for_plan": 24,
35403540
"chosen": true
35413541
}
@@ -5519,8 +5519,8 @@ EXPLAIN SELECT v FROM t1 WHERE i1 = 1 AND i2 = 1 AND v = 'a' AND pk < 3 {
55195519
"index": "v_idx",
55205520
"index_scan_cost": 1,
55215521
"cumulated_index_scan_cost": 1,
5522-
"disk_sweep_cost": 1,
5523-
"cumulated_total_cost": 2,
5522+
"disk_sweep_cost": 0.9031,
5523+
"cumulated_total_cost": 1.9031,
55245524
"usable": true,
55255525
"matching_rows_now": 1,
55265526
"isect_covering_with_this_index": false,

0 commit comments

Comments
 (0)