Query time 0.00083
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "5.63"
},
"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": 27,
"rows_produced_per_join": 2,
"filtered": "9.00",
"cost_info": {
"read_cost": "0.75",
"eval_cost": "0.24",
"prefix_cost": "3.45",
"data_read_per_join": "3K"
},
"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",
"yml2_exclude_prices",
"purpose",
"feature_style",
"filter_style",
"timestamp",
"updated_timestamp"
],
"attached_condition": "((`primapearl_r_new`.`pf`.`feature_type` <> 'G') and (`primapearl_r_new`.`pf`.`display_on_product` = 'Y') and ((`primapearl_r_new`.`pf`.`categories_path` = '') or (`primapearl_r_new`.`pf`.`categories_path` is null) or (0 <> find_in_set(266,`primapearl_r_new`.`pf`.`categories_path`)) or (0 <> find_in_set(275,`primapearl_r_new`.`pf`.`categories_path`)) or (0 <> find_in_set(278,`primapearl_r_new`.`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": "fpl",
"used_key_parts": [
"feature_id",
"product_id",
"lang_code"
],
"key_length": "12",
"ref": [
"primapearl_r_new.pf.feature_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.61",
"eval_cost": "0.24",
"prefix_cost": "4.30",
"data_read_per_join": "1K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"value",
"value_int",
"lang_code"
]
}
},
{
"table": {
"table_name": "pf_groups",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"ref": [
"primapearl_r_new.pf.parent_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "19.00",
"cost_info": {
"read_cost": "0.61",
"eval_cost": "0.05",
"prefix_cost": "5.15",
"data_read_per_join": "735"
},
"used_columns": [
"feature_id",
"status",
"position"
],
"attached_condition": "<if>(found_match(pf_groups), ((`primapearl_r_new`.`pf_groups`.`status` = 'A') or (`primapearl_r_new`.`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": [
"primapearl_r_new.pf.parent_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.12",
"eval_cost": "0.05",
"prefix_cost": "5.31",
"data_read_per_join": "1K"
},
"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": [
"primapearl_r_new.pf.feature_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.12",
"eval_cost": "0.05",
"prefix_cost": "5.47",
"data_read_per_join": "1K"
},
"used_columns": [
"feature_id",
"description",
"full_description",
"prefix",
"suffix",
"lang_code",
"yml2_variants_unit",
"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": [
"primapearl_r_new.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.12",
"eval_cost": "0.05",
"prefix_cost": "5.64",
"data_read_per_join": "73"
},
"used_columns": [
"share_company_id",
"share_object_id",
"share_object_type"
],
"attached_condition": "(`primapearl_r_new`.`cscart_ult_objects_sharing`.`share_object_id` = `primapearl_r_new`.`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 |
yml2_exclude_prices |
yml2_variants_unit |
| 92 |
1 |
O |
0 |
Y |
Y |
Y |
Вес изделия |
Вес изделия |
ru |
|
|
|
|
A |
N |
0 |
find_products |
number |
slider |
ves |
1755286199 |
0 |
|
|
0 |
4.73 |
|
|
| 93 |
1 |
S |
0 |
Y |
Y |
Y |
Вставка |
Вставка |
ru |
|
|
|
|
A |
N |
0 |
find_products |
text |
checkbox |
|
1755286199 |
0 |
|
|
441 |
|
|
|
| 95 |
1 |
S |
0 |
Y |
Y |
Y |
Качество жемчуга |
Качество жемчуга |
ru |
|
|
|
|
A |
N |
0 |
find_products |
text |
checkbox |
|
1755286199 |
0 |
|
|
396 |
|
|
|
| 96 |
1 |
S |
0 |
Y |
Y |
Y |
Металл |
Металл |
ru |
|
|
|
|
A |
N |
0 |
find_products |
text |
checkbox |
|
1755286199 |
0 |
|
|
397 |
|
|
|
| 97 |
1 |
S |
0 |
Y |
Y |
Y |
Размер жемчуга |
Размер жемчуга |
ru |
|
|
|
|
A |
N |
0 |
find_products |
text |
checkbox |
|
1755286199 |
0 |
|
|
401 |
|
|
|
| 98 |
1 |
S |
0 |
Y |
Y |
Y |
Форма |
Форма |
ru |
|
|
|
|
A |
N |
0 |
find_products |
text |
checkbox |
|
1755286199 |
0 |
|
|
436 |
|
|
|