Query time 0.00223
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "14.29"
},
"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": 26,
"rows_produced_per_join": 12,
"filtered": "48.67",
"cost_info": {
"read_cost": "6.50",
"eval_cost": "1.27",
"prefix_cost": "9.10",
"data_read_per_join": "9K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"value",
"value_int",
"lang_code"
],
"attached_condition": "(`test_uchur_k`.`cscart_product_features_values`.`lang_code` = 'kk')"
}
},
{
"table": {
"table_name": "pf",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"status"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"ref": [
"test_uchur_k.cscart_product_features_values.feature_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "8.38",
"cost_info": {
"read_cost": "3.16",
"eval_cost": "0.11",
"prefix_cost": "13.53",
"data_read_per_join": "2K"
},
"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",
"yml2_exclude_prices"
],
"attached_condition": "((`test_uchur_k`.`pf`.`feature_type` <> 'G') and (`test_uchur_k`.`pf`.`status` = 'A') and (`test_uchur_k`.`pf`.`display_on_product` = 'Y') and ((`test_uchur_k`.`pf`.`categories_path` = '') or (`test_uchur_k`.`pf`.`categories_path` is null) or (0 <> find_in_set(54,`test_uchur_k`.`pf`.`categories_path`)) or (0 <> find_in_set(75,`test_uchur_k`.`pf`.`categories_path`)) or (0 <> find_in_set(76,`test_uchur_k`.`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": [
"test_uchur_k.pf.parent_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "19.00",
"cost_info": {
"read_cost": "0.27",
"eval_cost": "0.02",
"prefix_cost": "13.90",
"data_read_per_join": "398"
},
"used_columns": [
"feature_id",
"status",
"position"
],
"attached_condition": "<if>(found_match(pf_groups), ((`test_uchur_k`.`pf_groups`.`status` = 'A') or (`test_uchur_k`.`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": [
"test_uchur_k.pf.parent_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.05",
"eval_cost": "0.02",
"prefix_cost": "13.97",
"data_read_per_join": "489"
},
"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": [
"test_uchur_k.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.05",
"eval_cost": "0.02",
"prefix_cost": "14.04",
"data_read_per_join": "489"
},
"used_columns": [
"feature_id",
"description",
"internal_name",
"full_description",
"prefix",
"suffix",
"lang_code",
"yml2_variants_unit"
]
}
},
{
"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": [
"test_uchur_k.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.05",
"eval_cost": "0.02",
"prefix_cost": "14.11",
"data_read_per_join": "32"
},
"used_columns": [
"share_company_id",
"share_object_id",
"share_object_type"
],
"attached_condition": "(`test_uchur_k`.`cscart_ult_objects_sharing`.`share_object_id` = `test_uchur_k`.`cscart_product_features_values`.`feature_id`)"
}
},
{
"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": [
"test_uchur_k.pf.company_id"
],
"rows_examined_per_scan": 2,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.12",
"eval_cost": "0.06",
"prefix_cost": "14.29",
"data_read_per_join": "40"
},
"used_columns": [
"filter_id",
"company_id",
"feature_id"
],
"attached_condition": "<if>(is_not_null_compl(abt_filters), (`test_uchur_k`.`abt_filters`.`feature_id` = `test_uchur_k`.`cscart_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 |
yml2_exclude_prices |
yml2_variants_unit |
filter_id |
| 1 |
1 |
E |
0 |
Y |
Y |
N |
Бренд (Общие) |
Бренд (Общие) |
kk |
|
|
4,6,7,8,9,10,18,20,21,23,24,25,13,26,29,39,1,2,3,5,11,12,15,16,17,19,22,28,31,32,33,34,35,36,37,38,63,73,74,59,139,142,143,155,169,76,69,131,179,180,210,157,58,57,228,229,114,236,239,136,161,245,222,247,97,62,148,106,181,105,282,264,98,207,163,68,253,55,288,147,221,312,151,325,298,268,208,328,321,345,352,331,54,159,65,175,380,311,286 |
|
A |
N |
0 |
organize_catalog |
brand |
checkbox |
|
1760347417 |
1763916902 |
|
|
593 |
|
|
|
2 |
| 55 |
1 |
S |
0 |
Y |
Y |
N |
Модель |
Модель |
kk |
|
|
|
|
A |
N |
20 |
find_products |
text |
checkbox |
|
1760456410 |
1763694640 |
|
|
1399 |
|
|
|
13 |
| 77 |
1 |
S |
0 |
Y |
N |
N |
Тип |
Тип ГЛАВНАЯ |
kk |
|
|
6,1,2,3,4,5,7,8,9,10,11,12,13,15,16,17,18,19,20,21,22,23,24,25,26,28,29,31,32,33,34,35,36,37,38,39,54,75,76,131,228,239,253,264,292,304,331 |
|
A |
N |
45 |
find_products |
text |
checkbox |
|
1760544628 |
1763697318 |
|
|
1398 |
|
|
|
|
| 194 |
1 |
S |
0 |
Y |
N |
N |
Макс. световой поток, Люмен |
Макс. световой поток, Люмен ГЛАВНАЯ |
kk |
|
|
75,76,131,253,292,304,1,77 |
|
A |
N |
50 |
find_products |
text |
checkbox |
|
1763088284 |
1765407972 |
|
|
1400 |
|
|
|
|
| 195 |
1 |
S |
0 |
Y |
N |
N |
Дальность освещения, м |
Дальность освещения, м ГЛАВНАЯ |
kk |
|
|
76,131,253,292,304,1 |
|
A |
N |
55 |
find_products |
text |
checkbox |
|
1763088489 |
1763413276 |
|
|
1401 |
|
|
|
|
| 196 |
1 |
S |
0 |
Y |
N |
N |
Оттенок света |
Оттенок света ГЛАВНАЯ |
kk |
|
|
76,131,253,292,304,77 |
|
A |
N |
60 |
find_products |
text |
checkbox |
|
1763088551 |
1765408064 |
|
|
1402 |
|
|
|
|
| 197 |
1 |
S |
0 |
Y |
N |
N |
Формат элементов питания |
Формат элементов питания |
kk |
|
|
76,131,253,292,304 |
|
A |
N |
65 |
find_products |
text |
checkbox |
|
1763088673 |
1763397494 |
|
|
1403 |
|
|
|
|
| 198 |
1 |
S |
0 |
Y |
N |
N |
Кол-во режимов |
Кол-во режимов ГЛАВНАЯ |
kk |
|
|
76,131,253,292,304,1 |
|
A |
N |
70 |
find_products |
text |
checkbox |
|
1763088758 |
1763407450 |
|
|
1404 |
|
|
|
|
| 199 |
1 |
S |
0 |
Y |
N |
N |
Степень защиты от влаги и пыли |
Степень защиты от влаги и пыли ГЛАВНАЯ |
kk |
|
|
76,131,253,292,304,1,77 |
|
A |
N |
75 |
find_products |
text |
checkbox |
|
1763090671 |
1765407930 |
|
|
1406 |
|
|
|
|
| 200 |
1 |
S |
0 |
Y |
N |
N |
Кол-во светодиодов |
Кол-во светодиодов ГЛАВНАЯ |
kk |
|
|
76,131,253,292,304 |
|
A |
N |
80 |
find_products |
text |
checkbox |
|
1763090873 |
1763090873 |
|
|
1407 |
|
|
|
|
| 63 |
1 |
S |
0 |
Y |
N |
N |
Вес товара, г |
Вес товара, г |
kk |
|
|
|
|
A |
N |
500 |
find_products |
text |
checkbox |
|
1760457121 |
1763088846 |
|
|
1405 |
|
|
|
3 |
| 39 |
1 |
S |
0 |
Y |
Y |
N |
Цвет |
Цвет |
kk |
|
|
9,1,2,3,4,5,6,7,8,10,11,12,13,15,16,17,18,19,20,21,22,23,24,25,26,28,29,31,32,33,34,35,36,37,38,39,40,42,43,44,45,46,50,54,62,65,103,135,144,152,175,241,312,352,387 |
|
A |
N |
510 |
group_catalog_item |
dropdown_images |
color |
|
1760455336 |
1765503843 |
|
|
1396 |
|
|
|
5 |
| 66 |
1 |
S |
0 |
Y |
N |
N |
Страна-изготовитель |
Страна-изготовитель |
kk |
|
|
25,1,2,3,4,5,6,7,8,9,10,11,12,13,15,16,17,18,19,20,21,22,23,24,26,28,29,31,32,33,34,35,36,37,38,39,40,42,43,44,45,46,50,54,62,65,103,135,144,152,175,241,312,352,387 |
|
A |
N |
540 |
find_products |
text |
checkbox |
|
1760457362 |
1763689783 |
|
|
1397 |
|
|
|
17 |