Query time 0.00227
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "614723.93"
},
"ordering_operation": {
"using_filesort": true,
"grouping_operation": {
"using_temporary_table": true,
"using_filesort": false,
"nested_loop": [
{
"table": {
"table_name": "cscart_product_features_values",
"access_type": "ALL",
"rows_examined_per_scan": 343,
"rows_produced_per_join": 3,
"filtered": "1.00",
"cost_info": {
"read_cost": "34.88",
"eval_cost": "0.34",
"prefix_cost": "35.22",
"data_read_per_join": "2K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"attached_condition": "((`mobikul_delivery_boy_livedemo`.`cscart_product_features_values`.`product_id` = 68) and (`mobikul_delivery_boy_livedemo`.`cscart_product_features_values`.`feature_id` in (15,16,17)) and (`mobikul_delivery_boy_livedemo`.`cscart_product_features_values`.`lang_code` = 'en'))"
}
},
{
"table": {
"table_name": "cscart_product_feature_variants",
"access_type": "ALL",
"rows_examined_per_scan": 158,
"rows_produced_per_join": 3,
"filtered": "0.63",
"using_join_buffer": "hash join",
"cost_info": {
"read_cost": "11.76",
"eval_cost": "0.34",
"prefix_cost": "63.24",
"data_read_per_join": "3K"
},
"used_columns": [
"variant_id",
"feature_id",
"position"
],
"attached_condition": "((`mobikul_delivery_boy_livedemo`.`cscart_product_feature_variants`.`feature_id` = `mobikul_delivery_boy_livedemo`.`cscart_product_features_values`.`feature_id`) and (`mobikul_delivery_boy_livedemo`.`cscart_product_feature_variants`.`variant_id` = `mobikul_delivery_boy_livedemo`.`cscart_product_features_values`.`variant_id`))"
}
},
{
"table": {
"table_name": "cscart_product_features",
"access_type": "ALL",
"rows_examined_per_scan": 35,
"rows_produced_per_join": 120,
"filtered": "100.00",
"using_join_buffer": "hash join",
"cost_info": {
"read_cost": "0.65",
"eval_cost": "12.01",
"prefix_cost": "75.89",
"data_read_per_join": "51K"
},
"used_columns": [
"feature_id",
"feature_type"
],
"attached_condition": "<if>(is_not_null_compl(cscart_product_features), (`mobikul_delivery_boy_livedemo`.`cscart_product_features`.`feature_id` = `mobikul_delivery_boy_livedemo`.`cscart_product_features_values`.`feature_id`), true)"
}
},
{
"table": {
"table_name": "cscart_product_feature_variant_descriptions",
"access_type": "ALL",
"rows_examined_per_scan": 158,
"rows_produced_per_join": 18967,
"filtered": "100.00",
"using_join_buffer": "hash join",
"cost_info": {
"read_cost": "3.60",
"eval_cost": "1896.79",
"prefix_cost": "1976.27",
"data_read_per_join": "56M"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
],
"attached_condition": "<if>(is_not_null_compl(cscart_product_feature_variant_descriptions), ((`mobikul_delivery_boy_livedemo`.`cscart_product_feature_variant_descriptions`.`variant_id` = `mobikul_delivery_boy_livedemo`.`cscart_product_features_values`.`variant_id`) and (`mobikul_delivery_boy_livedemo`.`cscart_product_feature_variant_descriptions`.`lang_code` = 'en')), true)"
}
},
{
"table": {
"table_name": "cscart_seo_names",
"access_type": "ALL",
"rows_examined_per_scan": 323,
"rows_produced_per_join": 6126632,
"filtered": "100.00",
"using_join_buffer": "hash join",
"cost_info": {
"read_cost": "84.45",
"eval_cost": "612663.21",
"prefix_cost": "614723.93",
"data_read_per_join": "9G"
},
"used_columns": [
"name",
"object_id",
"type",
"dispatch",
"path",
"lang_code"
],
"attached_condition": "<if>(is_not_null_compl(cscart_seo_names), ((`mobikul_delivery_boy_livedemo`.`cscart_seo_names`.`object_id` = `mobikul_delivery_boy_livedemo`.`cscart_product_features_values`.`variant_id`) and (`mobikul_delivery_boy_livedemo`.`cscart_seo_names`.`type` = 'e') and (`mobikul_delivery_boy_livedemo`.`cscart_seo_names`.`dispatch` = '') and (`mobikul_delivery_boy_livedemo`.`cscart_seo_names`.`lang_code` = 'en')), true)"
}
}
]
}
}
}
}
Result
| variant |
variant_id |
feature_id |
selected |
feature_type |
seo_name |
seo_path |
| 16GB |
45 |
17 |
45 |
S |
|
|
| 4.7" |
70 |
16 |
70 |
S |
|
|
| Windows Phone 7.5, Mango |
69 |
15 |
69 |
S |
|
|