Query time 0.00047
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": "(`mobikul_delivery_boy_livedemo`.`cscart_product_feature_variants`.`variant_id` in (52,53,54,89,58,45,55,56,39,44,91))",
"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": [
"mobikul_delivery_boy_livedemo.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 |
| 45 |
0 |
|
16GB |
| 54 |
0 |
|
32GB |
| 56 |
0 |
|
7.0" |
| 53 |
0 |
|
8.9" |
| 44 |
0 |
|
9.7" |
| 55 |
0 |
|
Android 2.2, Froyo |
| 52 |
0 |
|
Android 3.1, Honeycomb |
| 58 |
0 |
|
Android 3.2, Honeycomb |
| 91 |
0 |
|
Apple |
| 89 |
0 |
|
Samsung |
| 39 |
40 |
|
iOS 5 |