{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "1660.28"
},
"ordering_operation": {
"using_filesort": true,
"grouping_operation": {
"using_temporary_table": true,
"using_filesort": true,
"buffer_result": {
"using_temporary_table": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_categories",
"access_type": "const",
"possible_keys": [
"PRIMARY",
"c_status",
"p_category_id"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.10",
"prefix_cost": "0.00",
"data_read_per_join": "4K"
},
"used_columns": [
"category_id",
"storefront_id",
"usergroup_ids",
"status"
]
}
},
{
"table": {
"table_name": "companies",
"access_type": "ALL",
"possible_keys": [
"PRIMARY"
],
"rows_examined_per_scan": 2,
"rows_produced_per_join": 1,
"filtered": "50.00",
"cost_info": {
"read_cost": "0.62",
"eval_cost": "0.10",
"prefix_cost": "0.72",
"data_read_per_join": "5K"
},
"used_columns": [
"company_id",
"status",
"company"
],
"attached_condition": "(`gaseus`.`companies`.`status` = 'A')"
}
},
{
"table": {
"table_name": "var_val_18",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"fl",
"variant_id",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "fl",
"used_key_parts": [
"feature_id",
"lang_code",
"variant_id"
],
"key_length": "12",
"ref": [
"const",
"const",
"const"
],
"rows_examined_per_scan": 1401,
"rows_produced_per_join": 1401,
"filtered": "100.00",
"cost_info": {
"read_cost": "350.25",
"eval_cost": "140.10",
"prefix_cost": "491.07",
"data_read_per_join": "1M"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"attached_condition": "(`gaseus`.`var_val_18`.`product_id` is not null)"
}
},
{
"table": {
"table_name": "products_categories",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"pt"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id",
"product_id"
],
"key_length": "6",
"ref": [
"const",
"gaseus.var_val_18.product_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1401,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "350.25",
"eval_cost": "140.10",
"prefix_cost": "981.42",
"data_read_per_join": "21K"
},
"used_columns": [
"product_id",
"category_id"
]
}
},
{
"table": {
"table_name": "products",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"status"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"gaseus.var_val_18.product_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 140,
"filtered": "10.00",
"cost_info": {
"read_cost": "350.25",
"eval_cost": "14.00",
"prefix_cost": "1471.77",
"data_read_per_join": "914K"
},
"used_columns": [
"product_id",
"product_type",
"status",
"company_id",
"usergroup_ids",
"parent_product_id"
],
"attached_condition": "((`gaseus`.`products`.`company_id` = `gaseus`.`companies`.`company_id`) and ((`gaseus`.`products`.`usergroup_ids` = '') or (0 <> find_in_set(0,`gaseus`.`products`.`usergroup_ids`)) or (0 <> find_in_set(1,`gaseus`.`products`.`usergroup_ids`))) and (`gaseus`.`products`.`status` = 'A'))"
}
},
{
"table": {
"table_name": "prices",
"access_type": "ref",
"possible_keys": [
"usergroup",
"product_id",
"lower_limit",
"usergroup_id"
],
"key": "usergroup",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"gaseus.var_val_18.product_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 140,
"filtered": "99.97",
"using_index": true,
"cost_info": {
"read_cost": "35.01",
"eval_cost": "14.00",
"prefix_cost": "1520.79",
"data_read_per_join": "3K"
},
"used_columns": [
"product_id",
"lower_limit",
"usergroup_id"
],
"attached_condition": "((`gaseus`.`prices`.`lower_limit` = 1) and (`gaseus`.`prices`.`usergroup_id` in (0,0,1)))"
}
},
{
"table": {
"table_name": "shared_descr",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"product_id",
"company_id"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id",
"lang_code",
"company_id"
],
"key_length": "13",
"ref": [
"gaseus.var_val_18.product_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 140,
"filtered": "100.00",
"cost_info": {
"read_cost": "41.20",
"eval_cost": "14.00",
"prefix_cost": "1575.99",
"data_read_per_join": "533K"
},
"used_columns": [
"product_id",
"lang_code",
"company_id",
"product"
]
}
},
{
"table": {
"table_name": "descr1",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"product_id"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id",
"lang_code"
],
"key_length": "9",
"ref": [
"gaseus.var_val_18.product_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 140,
"filtered": "100.00",
"cost_info": {
"read_cost": "70.29",
"eval_cost": "14.00",
"prefix_cost": "1660.29",
"data_read_per_join": "638K"
},
"used_columns": [
"product_id",
"lang_code",
"product"
]
}
}
]
}
}
}
}
}
| product_id | product | company_name | product_ids | product_types | parent_product_ids | product_type | parent_product_id |
|---|---|---|---|---|---|---|---|
| 11237 | Cylinder pressure regulator Sigma | Gaseus | 11237,11238,11239,11240,11241,11242,11243,11244,11245,11246,11247,11248,11249,11250,11251,11252,11253,11254,11255,11256,11257,11258 | P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P | 0,11237,11237,11237,11237,11237,11237,11237,11237,11237,11237,11237,11237,11237,11237,11237,11237,11237,11237,11237,11237,11237 | P | 11237 |
| 11259 | Cylinder pressure regulator Sigma | Gaseus | 11259,11260,11261,11262,11263,11264,11265,11266,11267,11268,11269,11270,11271,11272,11273,11274,11275,11276,11277,11278 | P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P | 0,11259,11259,11259,11259,11259,11259,11259,11259,11259,11259,11259,11259,11259,11259,11259,11259,11259,11259,11259 | P | 11259 |
| 11279 | Cylinder pressure regulator Sigma | Gaseus | 11279,11280,11281,11282,11283,11284,11285,11286,11287,11288,11289,11290,11291,11292,11293,11294,11295,11296,11297,11298 | P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P | 0,11279,11279,11279,11279,11279,11279,11279,11279,11279,11279,11279,11279,11279,11279,11279,11279,11279,11279,11279 | P | 11279 |
| 11299 | Cylinder pressure regulator Sigma | Gaseus | 11299,11300,11301,11302,11303,11304,11305,11306,11307,11308,11309,11310,11311,11312,11313,11314,11315,11316,11317,11318,11319 | P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P | 0,11299,11299,11299,11299,11299,11299,11299,11299,11299,11299,11299,11299,11299,11299,11299,11299,11299,11299,11299,11299 | P | 11299 |
| 11813 | Cylinder pressure regulator Sigma | Gaseus | 11813,11814,11815,11816,11817,11818 | P,V,V,V,V,V | 0,11813,11813,11813,11813,11813 | V | 11813 |
| 11819 | Cylinder pressure regulator Sigma | Gaseus | 11819,11820,11821,11822,11823,11824 | P,P,P,P,P,P | 0,11819,11819,11819,11819,11819 | P | 11819 |
| 11825 | Cylinder pressure regulator Sigma | Gaseus | 11825,11826,11827,11828,11829,11830 | P,P,P,P,P,P | 0,11825,11825,11825,11825,11825 | P | 11825 |
| 11831 | Cylinder pressure regulator Sigma | Gaseus | 11831,11832,11833,11834,11835,11836,11837 | P,P,P,P,P,P,P | 0,11831,11831,11831,11831,11831,11831 | P | 11831 |
| 11838 | Cylinder pressure regulator Sigma | Gaseus | 11838,11839,11840,11841,11842,11843 | P,P,P,P,P,P | 0,11838,11838,11838,11838,11838 | P | 11838 |
| 11844 | Cylinder pressure regulator Sigma | Gaseus | 11844,11845,11846,11847,11848,11849,11850 | P,P,P,P,P,P,P | 0,11844,11844,11844,11844,11844,11844 | P | 11844 |
| 11851 | Cylinder pressure regulator Sigma | Gaseus | 11851,11852,11853,11854,11855,11856,11857,11858,11859,11860,11861,11862,11863,11864,11865,11866,11867,11868 | P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P | 0,11851,11851,11851,11851,11851,11851,11851,11851,11851,11851,11851,11851,11851,11851,11851,11851,11851 | P | 11851 |
| 11869 | Cylinder pressure regulator Sigma | Gaseus | 11869,11870,11871,11872,11873,11874,11875,11876,11877,11878,11879,11880,11881,11882,11883,11884,11885,11886 | P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P | 0,11869,11869,11869,11869,11869,11869,11869,11869,11869,11869,11869,11869,11869,11869,11869,11869,11869 | P | 11869 |