Query time 0.00169
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "883.80"
},
"ordering_operation": {
"using_filesort": true,
"grouping_operation": {
"using_temporary_table": true,
"using_filesort": false,
"nested_loop": [
{
"table": {
"table_name": "pf",
"access_type": "ALL",
"rows_examined_per_scan": 35,
"rows_produced_per_join": 1,
"filtered": "2.86",
"cost_info": {
"read_cost": "4.05",
"eval_cost": "0.10",
"prefix_cost": "4.15",
"data_read_per_join": "440"
},
"used_columns": [
"feature_id",
"feature_code",
"company_id",
"purpose",
"feature_style",
"filter_style",
"feature_type",
"categories_path",
"parent_id",
"display_on_product",
"display_on_catalog",
"display_on_header",
"status",
"position",
"comparison",
"timestamp",
"updated_timestamp"
],
"attached_condition": "((`mobikul_delivery_boy_livedemo`.`pf`.`feature_type` <> 'G') and (`mobikul_delivery_boy_livedemo`.`pf`.`status` = 'A') and (`mobikul_delivery_boy_livedemo`.`pf`.`company_id` in (0,1)) and (`mobikul_delivery_boy_livedemo`.`pf`.`display_on_product` = 'Y') and ((`mobikul_delivery_boy_livedemo`.`pf`.`categories_path` = '') or (`mobikul_delivery_boy_livedemo`.`pf`.`categories_path` is null) or (0 <> find_in_set(166,`mobikul_delivery_boy_livedemo`.`pf`.`categories_path`)) or (0 <> find_in_set(234,`mobikul_delivery_boy_livedemo`.`pf`.`categories_path`)) or (0 <> find_in_set(238,`mobikul_delivery_boy_livedemo`.`pf`.`categories_path`))))"
}
},
{
"table": {
"table_name": "cscart_product_features_values",
"access_type": "ALL",
"rows_examined_per_scan": 343,
"rows_produced_per_join": 1,
"filtered": "0.29",
"using_join_buffer": "hash join",
"cost_info": {
"read_cost": "34.95",
"eval_cost": "0.10",
"prefix_cost": "39.44",
"data_read_per_join": "792"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"value",
"value_int",
"lang_code"
],
"attached_condition": "((`mobikul_delivery_boy_livedemo`.`cscart_product_features_values`.`product_id` = 105) and (`mobikul_delivery_boy_livedemo`.`cscart_product_features_values`.`feature_id` = `mobikul_delivery_boy_livedemo`.`pf`.`feature_id`) and (`mobikul_delivery_boy_livedemo`.`cscart_product_features_values`.`lang_code` = 'en'))"
}
},
{
"table": {
"table_name": "pf_groups",
"access_type": "ALL",
"rows_examined_per_scan": 35,
"rows_produced_per_join": 6,
"filtered": "19.00",
"using_join_buffer": "hash join",
"cost_info": {
"read_cost": "3.50",
"eval_cost": "0.67",
"prefix_cost": "43.60",
"data_read_per_join": "2K"
},
"used_columns": [
"feature_id",
"status",
"position"
],
"attached_condition": "(<if>(found_match(pf_groups), ((`mobikul_delivery_boy_livedemo`.`pf_groups`.`status` = 'A') or (`mobikul_delivery_boy_livedemo`.`pf_groups`.`status` is null)), true) and <if>(is_not_null_compl(pf_groups), (`mobikul_delivery_boy_livedemo`.`pf_groups`.`feature_id` = `mobikul_delivery_boy_livedemo`.`pf`.`parent_id`), true))"
}
},
{
"table": {
"table_name": "pf_groups_description",
"access_type": "ALL",
"rows_examined_per_scan": 35,
"rows_produced_per_join": 232,
"filtered": "100.00",
"using_join_buffer": "hash join",
"cost_info": {
"read_cost": "0.61",
"eval_cost": "23.28",
"prefix_cost": "67.49",
"data_read_per_join": "529K"
},
"used_columns": [
"feature_id",
"description",
"lang_code"
],
"attached_condition": "<if>(is_not_null_compl(pf_groups_description), ((`mobikul_delivery_boy_livedemo`.`pf_groups_description`.`feature_id` = `mobikul_delivery_boy_livedemo`.`pf`.`parent_id`) and (`mobikul_delivery_boy_livedemo`.`pf_groups_description`.`lang_code` = 'en')), true)"
}
},
{
"table": {
"table_name": "cscart_product_features_descriptions",
"access_type": "ALL",
"rows_examined_per_scan": 35,
"rows_produced_per_join": 8146,
"filtered": "100.00",
"using_join_buffer": "hash join",
"cost_info": {
"read_cost": "1.69",
"eval_cost": "814.63",
"prefix_cost": "883.80",
"data_read_per_join": "18M"
},
"used_columns": [
"feature_id",
"description",
"internal_name",
"full_description",
"prefix",
"suffix",
"lang_code"
],
"attached_condition": "<if>(is_not_null_compl(cscart_product_features_descriptions), ((`mobikul_delivery_boy_livedemo`.`cscart_product_features_descriptions`.`feature_id` = `mobikul_delivery_boy_livedemo`.`pf`.`feature_id`) and (`mobikul_delivery_boy_livedemo`.`cscart_product_features_descriptions`.`lang_code` = 'en')), true)"
}
}
]
}
}
}
}
Result
| feature_id |
company_id |
feature_type |
parent_id |
display_on_product |
display_on_catalog |
display_on_header |
description |
internal_name |
lang_code |
prefix |
suffix |
categories_path |
full_description |
status |
comparison |
position |
purpose |
feature_style |
filter_style |
feature_code |
timestamp |
updated_timestamp |
group_position |
value |
variant_id |
value_int |
| 15 |
0 |
S |
14 |
Y |
Y |
N |
Operating System |
Operating System |
en |
|
|
165,166,167,168,169,170,174,182,190,191,193,234,235,236,237,238,240 |
|
A |
N |
10 |
find_products |
text |
checkbox |
|
0 |
0 |
0 |
|
69 |
|
| 16 |
0 |
S |
14 |
Y |
Y |
N |
Display |
Display |
en |
|
|
165,166,167,168,169,170,174,182,190,191,193,234,235,236,237,238,240 |
|
A |
N |
20 |
find_products |
text |
checkbox |
|
0 |
0 |
0 |
|
71 |
|
| 17 |
0 |
S |
14 |
Y |
Y |
N |
Storage Capacity |
Storage Capacity |
en |
|
|
165,166,167,168,169,170,174,182,190,191,193,234,235,236,237,238,240 |
|
A |
N |
30 |
find_products |
text |
checkbox |
|
0 |
0 |
0 |
|
45 |
|