Query time 0.00211
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "11.56"
},
"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": 11,
"rows_produced_per_join": 11,
"filtered": "100.00",
"index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_feature_variants`.`variant_id` in (6402,6403,6405,4743,7483,2078,3933,3781,6404,8332,1666))",
"cost_info": {
"read_cost": "6.61",
"eval_cost": "1.10",
"prefix_cost": "7.71",
"data_read_per_join": "12K"
},
"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": [
"softwarepirmam_hewadelivard_cscart_4.cscart_product_feature_variants.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 11,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.75",
"eval_cost": "1.10",
"prefix_cost": "11.56",
"data_read_per_join": "33K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
}
Result
| variant_id |
position |
color |
variant |
| 3933 |
0 |
#ffffff |
Belkin |
| 3781 |
0 |
#ffffff |
BlueStorm |
| 8332 |
0 |
|
Dahua |
| 6402 |
0 |
#ffffff |
Ezviz |
| 2078 |
0 |
#ffffff |
Hama |
| 6403 |
0 |
#ffffff |
Hikvision |
| 6404 |
0 |
#ffffff |
Holowits |
| 7483 |
0 |
#ffffff |
MIKROTIK |
| 4743 |
0 |
|
Ubiquiti |
| 1666 |
0 |
#ffffff |
Xiaomi |
| 6405 |
0 |
#ffffff |
ZKTeco |