Query time 0.00050
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "8.41"
},
"nested_loop": [
{
"table": {
"table_name": "pfv",
"access_type": "range",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id"
],
"key_length": "3",
"rows_examined_per_scan": 8,
"rows_produced_per_join": 8,
"filtered": "100.00",
"index_condition": "(`test_uchur_k`.`pfv`.`variant_id` in (1370,1369,1368,1367,1366,1365,1371,1372))",
"cost_info": {
"read_cost": "4.81",
"eval_cost": "0.80",
"prefix_cost": "5.61",
"data_read_per_join": "12K"
},
"used_columns": [
"variant_id",
"position"
]
}
},
{
"table": {
"table_name": "pfvd",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id",
"lang_code"
],
"key_length": "9",
"ref": [
"test_uchur_k.pfv.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 8,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.00",
"eval_cost": "0.80",
"prefix_cost": "8.41",
"data_read_per_join": "24K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| variant_id |
position |
variant |
| 1365 |
0 |
32x30 |
| 1366 |
0 |
34x30 |
| 1367 |
0 |
36x30 |
| 1368 |
0 |
38x30 |
| 1369 |
0 |
40x30 |
| 1370 |
0 |
42x30 |
| 1371 |
0 |
30x30 |
| 1372 |
0 |
44x30 |