{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "7.57"
},
"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": "range",
"possible_keys": [
"PRIMARY",
"c_status",
"p_category_id"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id"
],
"key_length": "3",
"rows_examined_per_scan": 2,
"rows_produced_per_join": 0,
"filtered": "4.00",
"index_condition": "(`gaseus`.`cscart_categories`.`category_id` in (287,314))",
"cost_info": {
"read_cost": "1.40",
"eval_cost": "0.01",
"prefix_cost": "1.41",
"data_read_per_join": "328"
},
"used_columns": [
"category_id",
"storefront_id",
"usergroup_ids",
"status"
],
"attached_condition": "(((`gaseus`.`cscart_categories`.`usergroup_ids` = '') or (0 <> find_in_set(0,`gaseus`.`cscart_categories`.`usergroup_ids`)) or (0 <> find_in_set(1,`gaseus`.`cscart_categories`.`usergroup_ids`))) and (`gaseus`.`cscart_categories`.`status` in ('A','H')) and (`gaseus`.`cscart_categories`.`storefront_id` in (0,1)))"
}
},
{
"table": {
"table_name": "companies",
"access_type": "ALL",
"possible_keys": [
"PRIMARY"
],
"rows_examined_per_scan": 2,
"rows_produced_per_join": 0,
"filtered": "50.00",
"using_join_buffer": "hash join",
"cost_info": {
"read_cost": "0.62",
"eval_cost": "0.01",
"prefix_cost": "2.04",
"data_read_per_join": "444"
},
"used_columns": [
"company_id",
"status",
"company"
],
"attached_condition": "(`gaseus`.`companies`.`status` = 'A')"
}
},
{
"table": {
"table_name": "products_categories",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"pt"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id"
],
"key_length": "3",
"ref": [
"gaseus.cscart_categories.category_id"
],
"rows_examined_per_scan": 110,
"rows_produced_per_join": 8,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "0.07",
"eval_cost": "0.88",
"prefix_cost": "3.00",
"data_read_per_join": "140"
},
"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.products_categories.product_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "10.00",
"cost_info": {
"read_cost": "2.20",
"eval_cost": "0.09",
"prefix_cost": "6.08",
"data_read_per_join": "5K"
},
"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.products_categories.product_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "99.97",
"using_index": true,
"cost_info": {
"read_cost": "0.22",
"eval_cost": "0.09",
"prefix_cost": "6.38",
"data_read_per_join": "21"
},
"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": "var_val_18",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"fl",
"variant_id",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"key_length": "15",
"ref": [
"const",
"gaseus.products_categories.product_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": "6.69",
"data_read_per_join": "696"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
]
}
},
{
"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.products_categories.product_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.26",
"eval_cost": "0.09",
"prefix_cost": "7.04",
"data_read_per_join": "3K"
},
"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.products_categories.product_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.44",
"eval_cost": "0.09",
"prefix_cost": "7.57",
"data_read_per_join": "4K"
},
"used_columns": [
"product_id",
"lang_code",
"product"
]
}
}
]
}
}
}
}
}
| product_id | product | company_name | product_ids | product_types | parent_product_ids | product_type | parent_product_id |
|---|---|---|---|---|---|---|---|
| 6843 | Cylinder regulator F10/200 Effect LabLine | Gaseus | 6843,3166,3167,3168,3169,3171,3172,3174,3175,3176,3177,3180,3181,3182,3183,3184,3185,3186,3187,3190,3191,3192,3193,3194,3195,3197,3198,3271,3272,3273,3275,3278,3279,3280,3281,3282,3283,3284,3288,3289,3291,3294,3295,3865,6737,6738,6739,6740,6741,6742,6743,6745,6746,6747,6748,6751,6752,6753,6754,6755,6756,6757,6758,6759,6763,6765,6766,6769,6820,6821,6823,6826,6827,6828,6829,6830,6831,6832,6835,6836,6837,6838,6839,6842,7008,7009,7032,7033,7034,7071,7072,7095,7096,7110,7111,7112,7113,7180,7181,7182 | P,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V | 0,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843,6843 | V | 6843 |
| 3315 | Cylinder regulator F10/200 Effect LabLine | Gaseus | 7108,7109 | V,V | 3315,3315 | V | 3315 |
| 6840 | Cylinder regulator F15 Effect LabLine | Gaseus | 6840,3178,3188,3196,3274,3276,3285,3286,3290,3292,6744,6749,6760,6767,6824,6833,7278,7351,7353,7355,7357,7359 | P,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V,V | 0,6840,6840,6840,6840,6840,6840,6840,6840,6840,6840,6840,6840,6840,6840,6840,6840,6840,6840,6840,6840,6840 | V | 6840 |
| 6841 | Cylinder regulator Vulkan F 15/200 Effect LabLine nitrogen | Gaseus | 6841 | P | 0 | P | 0 |
| 6846 | Cylinder regulator Vulkan F 15/200 Effect LabLine nitrogen | Gaseus | 6846 | P | 0 | P | 0 |