Query time 0.00100
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "27.31"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_product_feature_variants",
"access_type": "range",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id"
],
"key_length": "3",
"rows_examined_per_scan": 26,
"rows_produced_per_join": 26,
"filtered": "100.00",
"index_condition": "(`test2_gaseus`.`cscart_product_feature_variants`.`variant_id` in (1389,1202,2496,2500,2502,2505,2506,2507,2509,2510,2512,2514,2516,2520,2523,2525,2526,2527,2528,2529,2530,2531,2532,2533,2534,2535))",
"cost_info": {
"read_cost": "15.61",
"eval_cost": "2.60",
"prefix_cost": "18.21",
"data_read_per_join": "29K"
},
"used_columns": [
"variant_id",
"color",
"position"
]
}
},
{
"table": {
"table_name": "cscart_product_feature_variant_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id",
"lang_code"
],
"key_length": "9",
"ref": [
"test2_gaseus.cscart_product_feature_variants.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 26,
"filtered": "100.00",
"cost_info": {
"read_cost": "6.50",
"eval_cost": "2.60",
"prefix_cost": "27.31",
"data_read_per_join": "81K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
}
Result
| variant_id |
position |
color |
variant |
| 2529 |
0 |
|
BS100 TecLine |
| 2530 |
0 |
|
BS120 TecLine |
| 2531 |
0 |
|
BS200 TecLine |
| 2532 |
0 |
|
BS270 TecLine |
| 2523 |
0 |
|
BS50 TecLine |
| 2525 |
0 |
|
BS60 TecLine |
| 2526 |
0 |
|
BS70 TecLine |
| 2527 |
0 |
|
BS75 TecLine |
| 2528 |
0 |
|
BS80 TecLine |
| 2533 |
0 |
|
BSA10B TecLine |
| 2534 |
0 |
|
BSA20B TecLine |
| 2535 |
0 |
|
BSA40B TecLine |
| 2502 |
0 |
|
EB10 TecLine |
| 2512 |
0 |
|
EB100 TecLine |
| 2514 |
0 |
|
EB120 TecLine |
| 2505 |
0 |
|
EB20 TecLine |
| 2516 |
0 |
|
EB200 TecLine |
| 2520 |
0 |
|
EB270 TecLine |
| 2506 |
0 |
|
EB60 TecLine |
| 2507 |
0 |
|
EB70 TecLine |
| 2509 |
0 |
|
EB75 TecLine |
| 2510 |
0 |
|
EB80 TecLine |
| 1389 |
0 |
|
Linde |
| 2496 |
0 |
|
SE10 TecLine |
| 2500 |
0 |
|
SE20 TecLine |
| 1202 |
0 |
|
Vulkan |