Query time 0.00186
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "13.30"
},
"ordering_operation": {
"using_filesort": true,
"grouping_operation": {
"using_temporary_table": true,
"using_filesort": false,
"nested_loop": [
{
"table": {
"table_name": "pf",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"status"
],
"key": "status",
"used_key_parts": [
"status"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 52,
"rows_produced_per_join": 4,
"filtered": "9.00",
"cost_info": {
"read_cost": "2.25",
"eval_cost": "0.47",
"prefix_cost": "7.45",
"data_read_per_join": "7K"
},
"used_columns": [
"feature_id",
"feature_code",
"company_id",
"feature_type",
"categories_path",
"parent_id",
"display_on_product",
"display_on_catalog",
"display_on_header",
"status",
"position",
"comparison",
"purpose",
"feature_style",
"filter_style",
"timestamp",
"updated_timestamp"
],
"attached_condition": "((`testdobroded`.`pf`.`feature_type` <> 'G') and (`testdobroded`.`pf`.`display_on_product` = 'Y') and ((`testdobroded`.`pf`.`categories_path` = '') or (`testdobroded`.`pf`.`categories_path` is null) or (0 <> find_in_set(19,`testdobroded`.`pf`.`categories_path`)) or (0 <> find_in_set(6,`testdobroded`.`pf`.`categories_path`))))"
}
},
{
"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": "PRIMARY",
"used_key_parts": [
"feature_id",
"product_id"
],
"key_length": "6",
"ref": [
"testdobroded.pf.feature_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 4,
"filtered": "99.98",
"index_condition": "(`testdobroded`.`cscart_product_features_values`.`lang_code` = 'ru')",
"cost_info": {
"read_cost": "1.17",
"eval_cost": "0.47",
"prefix_cost": "9.09",
"data_read_per_join": "3K"
},
"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": [
"testdobroded.pf.feature_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 4,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.17",
"eval_cost": "0.47",
"prefix_cost": "10.73",
"data_read_per_join": "1K"
},
"used_columns": [
"filter_id",
"company_id",
"feature_id"
],
"attached_condition": "<if>(is_not_null_compl(abt_filters), (`testdobroded`.`abt_filters`.`company_id` = `testdobroded`.`pf`.`company_id`), true)"
}
},
{
"table": {
"table_name": "pf_groups",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"ref": [
"testdobroded.pf.parent_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "19.00",
"cost_info": {
"read_cost": "1.17",
"eval_cost": "0.09",
"prefix_cost": "12.36",
"data_read_per_join": "1K"
},
"used_columns": [
"feature_id",
"status",
"position"
],
"attached_condition": "<if>(found_match(pf_groups), ((`testdobroded`.`pf_groups`.`status` = 'A') or (`testdobroded`.`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": [
"testdobroded.pf.parent_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.22",
"eval_cost": "0.09",
"prefix_cost": "12.67",
"data_read_per_join": "2K"
},
"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": [
"testdobroded.pf.feature_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.22",
"eval_cost": "0.09",
"prefix_cost": "12.99",
"data_read_per_join": "2K"
},
"used_columns": [
"feature_id",
"description",
"full_description",
"prefix",
"suffix",
"lang_code",
"internal_name"
]
}
},
{
"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": [
"testdobroded.pf.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.22",
"eval_cost": "0.09",
"prefix_cost": "13.30",
"data_read_per_join": "142"
},
"used_columns": [
"share_company_id",
"share_object_id",
"share_object_type"
],
"attached_condition": "(`testdobroded`.`cscart_ult_objects_sharing`.`share_object_id` = `testdobroded`.`pf`.`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 |
filter_id |
| 48 |
1 |
M |
0 |
Y |
N |
N |
Вид продукта |
Вид продукта |
ru |
|
|
|
|
A |
N |
0 |
find_products |
multiple_checkbox |
checkbox |
|
1613423301 |
1696946175 |
|
|
0 |
|
10 |
| 53 |
1 |
S |
0 |
Y |
N |
N |
Минимальное количество для заказа |
Минимальное количество для заказа |
ru |
|
|
87,49,48,47,60,61,54,50,6,74,86,88,82,58,91,56,89,5,33,46,78,53,85,84,92,90,93,51,112,118 |
|
A |
N |
0 |
find_products |
text |
checkbox |
|
1634818659 |
1673364532 |
|
|
6093 |
|
|
| 46 |
1 |
S |
0 |
Y |
N |
N |
Стандарт производства |
Стандарт производства |
ru |
|
|
33,58,56,60,53,49,6,74,54,48 |
|
A |
N |
0 |
find_products |
text |
checkbox |
|
1613098804 |
1673364532 |
|
|
7030 |
|
|
| 12 |
1 |
S |
0 |
Y |
N |
N |
Вес\Объем |
Вес\Объем |
ru |
|
|
|
|
A |
N |
2 |
find_products |
text |
checkbox |
|
1608669141 |
1779288479 |
|
|
5479 |
|
2 |
| 15 |
1 |
M |
0 |
Y |
N |
N |
Тип продукта |
Тип продукта |
ru |
|
|
|
|
A |
N |
3 |
find_products |
multiple_checkbox |
checkbox |
|
1608669141 |
1697549172 |
|
|
5898 |
|
3 |
| 25 |
1 |
S |
0 |
Y |
N |
N |
Состав |
Состав |
ru |
|
|
33,46,48,47,56,60,54,53,78,6,74,58,77,49,61,86,118 |
|
A |
N |
10 |
find_products |
text |
checkbox |
|
1611430029 |
1763727295 |
|
|
5799 |
|
|
| 33 |
1 |
S |
0 |
Y |
N |
N |
Срок годности |
Срок годности |
ru |
|
|
33,47,46,48,49,60,61,52,54,53,6,74,58,56,78,79,76,77,50,118 |
|
A |
N |
20 |
find_products |
text |
checkbox |
|
1611430029 |
1763727362 |
|
|
5745 |
|
|
| 2 |
1 |
T |
1 |
Y |
N |
N |
GTIN |
GTIN |
ru |
|
|
|
|
A |
N |
0 |
describe_product |
text |
|
GTIN |
1608669141 |
1651093912 |
0 |
4655300080991 |
0 |
|
|
| 3 |
1 |
T |
1 |
Y |
N |
Y |
MPN |
MPN |
ru |
|
|
|
|
A |
N |
0 |
describe_product |
text |
|
MPN |
1608669141 |
1651093941 |
0 |
4655300080991 |
0 |
|
|
| 4 |
1 |
E |
1 |
Y |
Y |
Y |
Торговая марка |
Brand |
ru |
|
|
|
|
A |
N |
1 |
organize_catalog |
brand |
checkbox |
Brand |
1608669141 |
1702430799 |
0 |
|
5460 |
|
1 |