{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "9.52"
},
"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": 17,
"rows_produced_per_join": 8,
"filtered": "51.30",
"cost_info": {
"read_cost": "4.25",
"eval_cost": "0.87",
"prefix_cost": "5.95",
"data_read_per_join": "6K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"value",
"value_int",
"lang_code"
],
"attached_condition": "(`test_uchur_k`.`cscart_product_features_values`.`lang_code` = 'ru')"
}
},
{
"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": 0,
"filtered": "8.38",
"cost_info": {
"read_cost": "2.18",
"eval_cost": "0.07",
"prefix_cost": "9.00",
"data_read_per_join": "1K"
},
"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(5,`test_uchur_k`.`pf`.`categories_path`)) or (0 <> find_in_set(52,`test_uchur_k`.`pf`.`categories_path`)) or (0 <> find_in_set(37,`test_uchur_k`.`pf`.`categories_path`)) or (0 <> find_in_set(45,`test_uchur_k`.`pf`.`categories_path`)) or (0 <> find_in_set(394,`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.18",
"eval_cost": "0.01",
"prefix_cost": "9.26",
"data_read_per_join": "274"
},
"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.03",
"eval_cost": "0.01",
"prefix_cost": "9.31",
"data_read_per_join": "337"
},
"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.03",
"eval_cost": "0.01",
"prefix_cost": "9.36",
"data_read_per_join": "337"
},
"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.03",
"eval_cost": "0.01",
"prefix_cost": "9.40",
"data_read_per_join": "22"
},
"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.08",
"eval_cost": "0.04",
"prefix_cost": "9.53",
"data_read_per_join": "27"
},
"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)"
}
}
]
}
}
}
}
| 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 | Бренд | Бренд (Общие) | ru | 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 | 3 | 2 | |||||||||
| 6 | 1 | M | 0 | Y | Y | N | Сезонность | Сезонность ГЛАВНАЯ | ru | 10,2,5,6,7,8,9,11,12,13,15,16,17,18,19,20,21,22,23,24,25,26,28,29,31,32,33,34,36,37,38,39,40,42,43,44,45,50,221,352,1 | A | N | 40 | find_products | multiple_checkbox | checkbox | 1760418064 | 1763399599 | 57 | 8 | |||||||||
| 3 | 1 | S | 0 | Y | Y | N | Таблица размеров | Таблица размеров | ru | 6,24,7,8,9,10,25,18,26,28,29,33,34,31,32,36,37,5,19,20,22,23 | A | N | 490 | group_variation_catalog_item | dropdown_labels | checkbox | 1760400769 | 1762147725 | 43 | 14 | |||||||||
| 63 | 1 | S | 0 | Y | N | N | Вес товара, г | Вес товара, г ГЛАВНАЯ | ru | A | N | 500 | find_products | text | checkbox | 1760457121 | 1763088846 | 364 | 3 | ||||||||||
| 39 | 1 | S | 0 | Y | Y | N | Цвет | Цвет ГЛАВНАЯ | ru | 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 | 154 | 5 | |||||||||
| 65 | 1 | M | 0 | Y | N | N | Рисунок | Рисунок ГЛАВНАЯ | ru | 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 | A | N | 520 | find_products | multiple_checkbox | checkbox | 1760457326 | 1765117759 | 146 | 10 | |||||||||
| 66 | 1 | S | 0 | Y | N | N | Страна-изготовитель | Страна-изготовитель ГЛАВНАЯ | ru | 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 | 147 | 17 |