Query time 0.00051
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "69.17"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_product_feature_variants",
"access_type": "ALL",
"possible_keys": [
"PRIMARY"
],
"rows_examined_per_scan": 158,
"rows_produced_per_join": 29,
"filtered": "18.35",
"cost_info": {
"read_cost": "28.57",
"eval_cost": "5.80",
"prefix_cost": "34.37",
"data_read_per_join": "33K"
},
"used_columns": [
"variant_id",
"color",
"position"
],
"attached_condition": "(`atulecarter_atul_demo5`.`cscart_product_feature_variants`.`variant_id` in (39,65,45,91,66,80,82,108,69,70,71,75,67,72,89,73,54,74,68,78,81,110,76,77,79,109,55,83,84))"
}
},
{
"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": [
"atulecarter_atul_demo5.cscart_product_feature_variants.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 29,
"filtered": "100.00",
"cost_info": {
"read_cost": "29.00",
"eval_cost": "5.80",
"prefix_cost": "69.17",
"data_read_per_join": "87K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
}
Result
| variant_id |
position |
color |
variant |
| 45 |
0 |
|
16GB |
| 77 |
0 |
|
2.4" |
| 79 |
0 |
|
256MB |
| 81 |
0 |
|
2GB |
| 83 |
0 |
|
3.1" |
| 80 |
0 |
|
3.2" |
| 65 |
0 |
|
3.5" |
| 71 |
0 |
|
3.7" |
| 54 |
0 |
|
32GB |
| 67 |
0 |
|
4.0" |
| 68 |
0 |
|
4.3" |
| 74 |
0 |
|
4.5" |
| 70 |
0 |
|
4.7" |
| 75 |
0 |
|
4GB |
| 82 |
0 |
|
512MB |
| 72 |
0 |
|
8GB |
| 84 |
0 |
|
Android 2.1 |
| 55 |
0 |
|
Android 2.2, Froyo |
| 66 |
0 |
|
Android 2.3, Gingerbread |
| 73 |
0 |
|
Android 4.0, Ice Cream Sandwich |
| 91 |
0 |
|
Apple |
| 108 |
0 |
|
HTC |
| 109 |
0 |
|
Motorola |
| 110 |
0 |
|
Nokia |
| 76 |
0 |
|
Nokia OS |
| 89 |
0 |
|
Samsung |
| 78 |
0 |
|
Symbian OS |
| 69 |
0 |
|
Windows Phone 7.5, Mango |
| 39 |
40 |
|
iOS 5 |