Query time 0.00090
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "53.10"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "pf",
"access_type": "ALL",
"possible_keys": [
"status"
],
"rows_examined_per_scan": 133,
"rows_produced_per_join": 13,
"filtered": "9.77",
"cost_info": {
"read_cost": "28.97",
"eval_cost": "2.60",
"prefix_cost": "31.57",
"data_read_per_join": "15K"
},
"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",
"mdc_feature"
],
"attached_condition": "((`danishecarter_25_march`.`pf`.`status` = 'A') and (`danishecarter_25_march`.`pf`.`feature_type` = 'E'))"
}
},
{
"table": {
"table_name": "pf_groups",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"ref": [
"danishecarter_25_march.pf.parent_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 2,
"filtered": "19.00",
"cost_info": {
"read_cost": "13.00",
"eval_cost": "0.49",
"prefix_cost": "47.17",
"data_read_per_join": "2K"
},
"used_columns": [
"feature_id",
"status",
"position"
],
"attached_condition": "<if>(found_match(pf_groups), ((`danishecarter_25_march`.`pf_groups`.`status` = 'A') or isnull(`danishecarter_25_march`.`pf_groups`.`status`)), true)"
}
},
{
"table": {
"table_name": "pf_groups_description",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id",
"lang_code"
],
"key_length": "9",
"ref": [
"danishecarter_25_march.pf.parent_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.47",
"eval_cost": "0.49",
"prefix_cost": "50.14",
"data_read_per_join": "5K"
},
"used_columns": [
"feature_id",
"description",
"lang_code"
]
}
},
{
"table": {
"table_name": "cscart_product_features_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id",
"lang_code"
],
"key_length": "9",
"ref": [
"danishecarter_25_march.pf.feature_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.47",
"eval_cost": "0.49",
"prefix_cost": "53.10",
"data_read_per_join": "5K"
},
"used_columns": [
"feature_id",
"description",
"internal_name",
"full_description",
"prefix",
"suffix",
"lang_code"
]
}
}
]
}
}
}
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 |
mdc_feature |
18 |
0 |
E |
0 |
N |
N |
Y |
Brand |
Brand |
en |
|
|
|
|
A |
N |
0 |
organize_catalog |
brand |
checkbox |
|
0 |
0 |
|
|
968 |
0 |
E |
0 |
Y |
N |
N |
Mobile de Makers |
Mobile de Makers |
en |
|
|
322,323,324,325,326,327,328,329,330,331,332,333,334 |
|
A |
N |
0 |
organize_catalog |
brand |
checkbox |
|
1743597289 |
1743597342 |
|
mdc_makers |