Query time 0.02211
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "41.67"
},
"ordering_operation": {
"using_filesort": true,
"grouping_operation": {
"using_temporary_table": true,
"using_filesort": false,
"nested_loop": [
{
"table": {
"table_name": "jmj_product_features_values",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"fl",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "idx_product_feature_variant_id",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 15,
"rows_produced_per_join": 14,
"filtered": "99.97",
"index_condition": "(`jmj_test`.`jmj_product_features_values`.`lang_code` = 'en')",
"cost_info": {
"read_cost": "15.00",
"eval_cost": "3.00",
"prefix_cost": "18.00",
"data_read_per_join": "11K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"value",
"value_int",
"lang_code"
]
}
},
{
"table": {
"table_name": "pf",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"status",
"company_id"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"ref": [
"jmj_test.jmj_product_features_values.feature_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "8.74",
"cost_info": {
"read_cost": "15.00",
"eval_cost": "0.26",
"prefix_cost": "35.99",
"data_read_per_join": "576"
},
"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": "((`jmj_test`.`pf`.`feature_type` <> 'G') and (`jmj_test`.`pf`.`status` = 'A') and (`jmj_test`.`pf`.`company_id` in (0,151)) and (`jmj_test`.`pf`.`display_on_product` = 'Y') and ((`jmj_test`.`pf`.`categories_path` = '') or isnull(`jmj_test`.`pf`.`categories_path`) or find_in_set(2,`jmj_test`.`pf`.`categories_path`) or find_in_set(36,`jmj_test`.`pf`.`categories_path`) or find_in_set(32,`jmj_test`.`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": [
"jmj_test.pf.parent_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "19.00",
"cost_info": {
"read_cost": "1.31",
"eval_cost": "0.05",
"prefix_cost": "37.57",
"data_read_per_join": "109"
},
"used_columns": [
"feature_id",
"status",
"position"
],
"attached_condition": "<if>(found_match(pf_groups), ((`jmj_test`.`pf_groups`.`status` = 'A') or isnull(`jmj_test`.`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": [
"jmj_test.pf.parent_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.05",
"prefix_cost": "37.87",
"data_read_per_join": "579"
},
"used_columns": [
"feature_id",
"description",
"lang_code"
]
}
},
{
"table": {
"table_name": "jmj_product_features_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id",
"lang_code"
],
"key_length": "9",
"ref": [
"jmj_test.jmj_product_features_values.feature_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.05",
"prefix_cost": "38.16",
"data_read_per_join": "579"
},
"used_columns": [
"feature_id",
"description",
"internal_name",
"full_description",
"prefix",
"suffix",
"lang_code"
]
}
},
{
"table": {
"table_name": "abt_filters",
"access_type": "ref",
"possible_keys": [
"feature_id",
"company_id"
],
"key": "company_id",
"used_key_parts": [
"company_id"
],
"key_length": "5",
"ref": [
"jmj_test.pf.company_id"
],
"rows_examined_per_scan": 11,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.92",
"eval_cost": "0.58",
"prefix_cost": "41.67",
"data_read_per_join": "210"
},
"used_columns": [
"filter_id",
"company_id",
"feature_id"
],
"attached_condition": "<if>(is_not_null_compl(abt_filters), (`jmj_test`.`abt_filters`.`feature_id` = `jmj_test`.`jmj_product_features_values`.`feature_id`), 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 |
filter_id |
| 31 |
0 |
E |
0 |
Y |
N |
N |
Brands |
Brands |
en |
|
|
|
|
A |
N |
1 |
organize_catalog |
brand |
checkbox |
|
1624607393 |
1734520895 |
|
|
3246 |
|
129 |
| 176 |
0 |
M |
0 |
Y |
N |
N |
Top Design Styling |
Women-Kurta Sets-Top Design Styling |
en |
|
|
32 |
|
A |
N |
1016 |
find_products |
multiple_checkbox |
checkbox |
|
1628068803 |
1631707945 |
|
|
1082 |
|
172 |
| 177 |
0 |
M |
0 |
Y |
N |
N |
Neck |
Women-Kurta Sets-Neck |
en |
|
|
32 |
|
A |
N |
1017 |
find_products |
multiple_checkbox |
checkbox |
|
1628068938 |
1628593828 |
|
|
1089 |
|
173 |
| 178 |
0 |
M |
0 |
Y |
N |
N |
Top Pattern |
Women-Kurta Sets-Top Pattern |
en |
|
|
32 |
|
A |
N |
1018 |
find_products |
multiple_checkbox |
checkbox |
|
1628069085 |
1631710000 |
|
|
1098 |
|
174 |
| 179 |
0 |
M |
0 |
Y |
N |
N |
Top Fabric |
Women-Kurta Sets-Top Fabric |
en |
|
|
32 |
|
A |
N |
1019 |
find_products |
multiple_checkbox |
checkbox |
|
1628070975 |
1628070975 |
|
|
1107 |
|
175 |
| 180 |
0 |
S |
0 |
Y |
N |
N |
Sleeve |
Women-Kurta Sets-Sleeve |
en |
|
|
32 |
|
A |
N |
1020 |
find_products |
text |
checkbox |
|
1628071113 |
1628071113 |
|
|
1125 |
|
176 |
| 182 |
0 |
M |
0 |
Y |
N |
N |
Sleeve Styling |
Women-Kurta Sets-Sleeve Styling |
en |
|
|
32 |
|
A |
N |
1021 |
find_products |
multiple_checkbox |
checkbox |
|
1628071355 |
1631786166 |
|
|
1140 |
|
178 |
| 183 |
0 |
M |
0 |
Y |
N |
N |
Ornamentation |
Women-Kurta Sets-Ornamentation |
en |
|
|
32 |
|
A |
N |
1022 |
find_products |
multiple_checkbox |
checkbox |
|
1628071471 |
1631793504 |
|
|
1144 |
|
179 |
| 181 |
0 |
M |
0 |
Y |
N |
N |
Bottom Type |
Women-Kurta Sets-Bottom Type |
en |
|
|
32 |
|
A |
N |
1023 |
find_products |
multiple_checkbox |
checkbox |
|
1628071245 |
1631794930 |
|
|
1134 |
|
177 |
| 184 |
0 |
M |
0 |
Y |
N |
N |
Top Hemline |
Women-Kurta Sets-Top Hemline |
en |
|
|
32 |
|
A |
N |
1024 |
find_products |
multiple_checkbox |
checkbox |
|
1628071554 |
1631794035 |
|
|
1154 |
|
180 |
| 187 |
0 |
M |
0 |
Y |
N |
N |
Occasion |
Women-Kurta Sets-Occasion |
en |
|
|
32 |
|
A |
N |
1027 |
find_products |
multiple_checkbox |
checkbox |
|
1628071929 |
1631794349 |
|
|
1167 |
|
183 |
| 188 |
0 |
M |
0 |
Y |
N |
N |
Add-Ons |
Women-Kurta Sets-Add-Ons |
en |
|
|
32 |
|
A |
N |
1028 |
find_products |
multiple_checkbox |
checkbox |
|
1628072081 |
1631795127 |
|
|
1171 |
|
184 |
| 133 |
0 |
M |
0 |
Y |
Y |
N |
Size |
Topwear-Size |
en |
|
|
9,10,11,12,13,14,15,16,17,18,31,32,33,39,40,43,26,27,28,30 |
|
A |
N |
4999 |
find_products |
multiple_checkbox |
checkbox |
|
1626418846 |
1701343901 |
|
|
768 |
|
152 |
| 280 |
0 |
S |
0 |
Y |
Y |
N |
Color |
Color |
en |
|
|
|
|
A |
N |
5000 |
find_products |
text |
color |
|
1632930455 |
1728372055 |
|
|
2214 |
|
280 |
| 132 |
0 |
S |
0 |
Y |
N |
N |
Stock Type |
Stock Type |
en |
|
|
|
|
A |
N |
10000 |
find_products |
text |
checkbox |
|
1625550584 |
1724570302 |
|
|
766 |
|
128 |