Query time 0.00101
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "9.06"
},
"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": "ref",
"possible_keys": [
"PRIMARY",
"fl",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "product_id",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 16,
"rows_produced_per_join": 8,
"filtered": "54.46",
"cost_info": {
"read_cost": "4.00",
"eval_cost": "0.87",
"prefix_cost": "5.60",
"data_read_per_join": "6K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"value",
"value_int",
"lang_code"
],
"attached_condition": "(`test2_gaseus`.`cscart_product_features_values`.`lang_code` = 'en')"
}
},
{
"table": {
"table_name": "pf",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"status"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"ref": [
"test2_gaseus.cscart_product_features_values.feature_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "8.48",
"cost_info": {
"read_cost": "2.18",
"eval_cost": "0.07",
"prefix_cost": "8.65",
"data_read_per_join": "892"
},
"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": "((`test2_gaseus`.`pf`.`feature_type` <> 'G') and (`test2_gaseus`.`pf`.`status` = 'A') and (`test2_gaseus`.`pf`.`display_on_product` = 'Y') and ((`test2_gaseus`.`pf`.`categories_path` = '') or (`test2_gaseus`.`pf`.`categories_path` is null) or (0 <> find_in_set(265,`test2_gaseus`.`pf`.`categories_path`)) or (0 <> find_in_set(266,`test2_gaseus`.`pf`.`categories_path`)) or (0 <> find_in_set(267,`test2_gaseus`.`pf`.`categories_path`)) or (0 <> find_in_set(270,`test2_gaseus`.`pf`.`categories_path`))))"
}
},
{
"table": {
"table_name": "pf_groups",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"ref": [
"test2_gaseus.pf.parent_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "19.00",
"cost_info": {
"read_cost": "0.18",
"eval_cost": "0.01",
"prefix_cost": "8.91",
"data_read_per_join": "169"
},
"used_columns": [
"feature_id",
"status",
"position"
],
"attached_condition": "<if>(found_match(pf_groups), ((`test2_gaseus`.`pf_groups`.`status` = 'A') or (`test2_gaseus`.`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": [
"test2_gaseus.pf.parent_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.04",
"eval_cost": "0.01",
"prefix_cost": "8.96",
"data_read_per_join": "341"
},
"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": [
"test2_gaseus.cscart_product_features_values.feature_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.04",
"eval_cost": "0.01",
"prefix_cost": "9.01",
"data_read_per_join": "341"
},
"used_columns": [
"feature_id",
"description",
"internal_name",
"full_description",
"prefix",
"suffix",
"lang_code"
]
}
},
{
"table": {
"table_name": "cscart_ult_objects_sharing",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"share_object_id",
"share_company_id",
"share_object_type"
],
"key_length": "159",
"ref": [
"test2_gaseus.cscart_product_features_values.feature_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "0.04",
"eval_cost": "0.01",
"prefix_cost": "9.06",
"data_read_per_join": "22"
},
"used_columns": [
"share_company_id",
"share_object_id",
"share_object_type"
],
"attached_condition": "(`test2_gaseus`.`cscart_ult_objects_sharing`.`share_object_id` = `test2_gaseus`.`cscart_product_features_values`.`feature_id`)"
}
}
]
}
}
}
}
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 |
| 595 |
1 |
S |
0 |
Y |
Y |
N |
Type of Gas |
Type of Gas |
en |
|
|
272,273,274,283,284,287,288,289,306,307,308,312,319,318,325,267,301 |
|
A |
N |
1 |
group_variation_catalog_item |
dropdown |
checkbox |
|
1756913989 |
1775061377 |
|
|
2000 |
|
| 550 |
1 |
S |
0 |
Y |
Y |
N |
Product type |
Product type |
en |
|
|
265 |
|
A |
N |
10 |
find_products |
text |
checkbox |
|
1742203006 |
1768926361 |
|
|
1254 |
|
| 622 |
1 |
S |
0 |
Y |
Y |
N |
Inlet Connection |
Inlet Connection |
en |
|
|
|
|
A |
N |
90 |
group_variation_catalog_item |
dropdown |
checkbox |
|
1756936752 |
1768925726 |
|
|
2497 |
|
| 605 |
1 |
M |
0 |
Y |
Y |
N |
Application |
Application |
en |
|
|
|
|
A |
N |
100 |
find_products |
multiple_checkbox |
checkbox |
|
1756913989 |
1768924754 |
|
|
2474 |
|