Query time 0.00122
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "29.40"
},
"ordering_operation": {
"using_filesort": true,
"grouping_operation": {
"using_temporary_table": true,
"using_filesort": false,
"nested_loop": [
{
"table": {
"table_name": "pf",
"access_type": "ALL",
"possible_keys": [
"PRIMARY",
"status"
],
"rows_examined_per_scan": 89,
"rows_produced_per_join": 31,
"filtered": "35.60",
"cost_info": {
"read_cost": "6.72",
"eval_cost": "3.17",
"prefix_cost": "9.89",
"data_read_per_join": "13K"
},
"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",
"display_on_feature_block"
],
"attached_condition": "((`marketplace`.`pf`.`feature_type` <> 'G') and (`marketplace`.`pf`.`status` = 'A') and (`marketplace`.`pf`.`feature_code` in ('Brand','ISBN','GTIN','MPN')))"
}
},
{
"table": {
"table_name": "pf_groups",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"ref": [
"marketplace.pf.parent_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 6,
"filtered": "19.00",
"cost_info": {
"read_cost": "7.92",
"eval_cost": "0.60",
"prefix_cost": "20.98",
"data_read_per_join": "2K"
},
"used_columns": [
"feature_id",
"status",
"position"
],
"attached_condition": "<if>(found_match(pf_groups), ((`marketplace`.`pf_groups`.`status` = 'A') or (`marketplace`.`pf_groups`.`status` is null)), 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": [
"marketplace.pf.parent_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 6,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.50",
"eval_cost": "0.60",
"prefix_cost": "23.08",
"data_read_per_join": "13K"
},
"used_columns": [
"feature_id",
"description",
"lang_code"
]
}
},
{
"table": {
"table_name": "ushop_product_features_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id",
"lang_code"
],
"key_length": "9",
"ref": [
"marketplace.pf.feature_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 6,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.50",
"eval_cost": "0.60",
"prefix_cost": "25.19",
"data_read_per_join": "13K"
},
"used_columns": [
"feature_id",
"description",
"internal_name",
"full_description",
"prefix",
"suffix",
"lang_code"
]
}
},
{
"table": {
"table_name": "ushop_product_features_values",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"fl",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id",
"product_id"
],
"key_length": "6",
"ref": [
"marketplace.pf.feature_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 6,
"filtered": "100.00",
"index_condition": "<if>(is_not_null_compl(ushop_product_features_values), (`marketplace`.`ushop_product_features_values`.`lang_code` = 'es'), true)",
"cost_info": {
"read_cost": "1.50",
"eval_cost": "0.60",
"prefix_cost": "27.30",
"data_read_per_join": "4K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"value",
"value_int",
"lang_code"
]
}
},
{
"table": {
"table_name": "abt_filters",
"access_type": "ref",
"possible_keys": [
"feature_id",
"company_id"
],
"key": "feature_id",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"ref": [
"marketplace.pf.feature_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 6,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.50",
"eval_cost": "0.60",
"prefix_cost": "29.40",
"data_read_per_join": "722"
},
"used_columns": [
"filter_id",
"company_id",
"feature_id"
],
"attached_condition": "<if>(is_not_null_compl(abt_filters), (`marketplace`.`abt_filters`.`company_id` = `marketplace`.`pf`.`company_id`), true)"
}
}
]
}
}
}
}