{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "531.29"
},
"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": "companies",
"access_type": "const",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"company_id"
],
"key_length": "4",
"ref": [
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.20",
"prefix_cost": "0.00",
"data_read_per_join": "9K"
},
"used_columns": [
"company_id",
"status",
"company",
"ec_rfq_whatsapp_number",
"ec_rfq_phone_number",
"ec_rfq_bhf",
"ec_rfq_bht"
]
}
},
{
"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": 38,
"rows_produced_per_join": 1,
"filtered": "4.00",
"cost_info": {
"read_cost": "53.07",
"eval_cost": "0.30",
"prefix_cost": "53.38",
"data_read_per_join": "9K"
},
"used_columns": [
"category_id",
"usergroup_ids",
"status",
"storefront_id"
],
"attached_condition": "((`webmarco`.`cscart_categories`.`category_id` in (3104,3120,3121,3122,3123,3124,3125,3126,3127,3128,3129,3130,3161,3162,3163,3164,3165,3166,3167,3168,3169,3724,3728,3170,3171,3172,3173,3174,3175,3176,3177,3131,3132,3133,3134,3135,3136,3137)) and ((`webmarco`.`cscart_categories`.`usergroup_ids` = '') or find_in_set(0,`webmarco`.`cscart_categories`.`usergroup_ids`) or find_in_set(1,`webmarco`.`cscart_categories`.`usergroup_ids`)) and (`webmarco`.`cscart_categories`.`status` in ('A','H')) and (`webmarco`.`cscart_categories`.`storefront_id` in (0,1)))"
}
},
{
"table": {
"table_name": "products_categories",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"pt"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id"
],
"key_length": "3",
"ref": [
"webmarco.cscart_categories.category_id"
],
"rows_examined_per_scan": 179,
"rows_produced_per_join": 272,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "1.92",
"eval_cost": "54.56",
"prefix_cost": "109.85",
"data_read_per_join": "4K"
},
"used_columns": [
"product_id",
"category_id"
]
}
},
{
"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": [
"webmarco.products_categories.product_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 68,
"filtered": "25.00",
"using_index": true,
"cost_info": {
"read_cost": "272.78",
"eval_cost": "13.64",
"prefix_cost": "437.18",
"data_read_per_join": "4K"
},
"used_columns": [
"product_id",
"lower_limit",
"usergroup_id"
],
"attached_condition": "((`webmarco`.`prices`.`lower_limit` = 1) and (`webmarco`.`prices`.`usergroup_id` in (0,0,1)))"
}
},
{
"table": {
"table_name": "products",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"status",
"idx_parent_product_id"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"webmarco.products_categories.product_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 3,
"filtered": "5.00",
"cost_info": {
"read_cost": "68.19",
"eval_cost": "0.68",
"prefix_cost": "519.01",
"data_read_per_join": "26K"
},
"used_columns": [
"product_id",
"product_type",
"status",
"company_id",
"usergroup_ids",
"parent_product_id"
],
"attached_condition": "((`webmarco`.`products`.`company_id` = '379') and (`webmarco`.`products`.`company_id` = '379') and (`webmarco`.`products`.`status` = 'A') and ((`webmarco`.`products`.`usergroup_ids` = '') or find_in_set(0,`webmarco`.`products`.`usergroup_ids`) or find_in_set(1,`webmarco`.`products`.`usergroup_ids`)))"
}
},
{
"table": {
"table_name": "cscart_ec_table_booking_system",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id"
],
"key_length": "4",
"ref": [
"webmarco.products_categories.product_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 3,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.41",
"eval_cost": "0.68",
"prefix_cost": "523.11",
"data_read_per_join": "600"
},
"used_columns": [
"product_id",
"booking_type"
],
"attached_condition": "<if>(is_not_null_compl(cscart_ec_table_booking_system), (`webmarco`.`cscart_ec_table_booking_system`.`product_id` = `webmarco`.`products_categories`.`product_id`), true)"
}
},
{
"table": {
"table_name": "popularity",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"total"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"webmarco.products_categories.product_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 3,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.41",
"eval_cost": "0.68",
"prefix_cost": "527.20",
"data_read_per_join": "109"
},
"used_columns": [
"product_id",
"total"
]
}
},
{
"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": [
"webmarco.products_categories.product_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 3,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.41",
"eval_cost": "0.68",
"prefix_cost": "531.29",
"data_read_per_join": "23K"
},
"used_columns": [
"product_id",
"lang_code",
"product"
]
}
}
]
}
}
}
}
}
product_id | product | company_name | ec_rfq_whatsapp_number | ec_rfq_bht | ec_rfq_phone_number | ec_rfq_bhf | product_ids | product_types | parent_product_ids | product_type | parent_product_id | booking_type |
---|---|---|---|---|---|---|---|---|---|---|---|---|
190720 | Plastic Clothespins 24 Pieces | Riser Trade Co Ltd | 190720 | P | 0 | P | 0 | |||||
190686 | Window Cleaning Foam | Riser Trade Co Ltd | 190686 | P | 0 | P | 0 | |||||
190711 | Parquet Floor | Riser Trade Co Ltd | 190711 | P | 0 | P | 0 | |||||
190675 | Proness Glass Cleaner 1000ml with Trigger (500ml free) | Riser Trade Co Ltd | 190675 | P | 0 | P | 0 | |||||
190708 | Microfiber Fiber Mop | Riser Trade Co Ltd | 190708 | P | 0 | P | 0 | |||||
190716 | Household Broom, Quality | Riser Trade Co Ltd | 190716 | P | 0 | P | 0 | |||||
190712 | Parquet Floor | Riser Trade Co Ltd | 190712 | P | 0 | P | 0 | |||||
190700 | Special Cleaner & Polish For Stainless Steel, Metals, Silverware | Riser Trade Co Ltd | 190700 | P | 0 | P | 0 | |||||
190710 | Mop Cotton Forkal 200g | Riser Trade Co Ltd | 190710 | P | 0 | P | 0 | |||||
190709 | FORKAL MOP WHITE YARN 200g | Riser Trade Co Ltd | 190709 | P | 0 | P | 0 | |||||
190721 | Wooden Pegs 24 Pieces | Riser Trade Co Ltd | 190721 | P | 0 | P | 0 | |||||
190722 | Plastic Clothespins With Silicone 12 Pieces | Riser Trade Co Ltd | 190722 | P | 0 | P | 0 | |||||
190680 | Pure Air , Air Condition Cleaner 500ml | Riser Trade Co Ltd | 190680 | P | 0 | P | 0 | |||||
190701 | Luminia Screen Cleaner 250ml | Riser Trade Co Ltd | 190701 | P | 0 | P | 0 | |||||
190717 | Carpet Broom And Deep Floor Cleaning | Riser Trade Co Ltd | 190717 | P | 0 | P | 0 | |||||
190714 | Household Broom, Quality | Riser Trade Co Ltd | 190714 | P | 0 | P | 0 | |||||
190679 | Perfect descaler 500ml - Multi use descaler | Riser Trade Co Ltd | 190679 | P | 0 | P | 0 | |||||
190715 | Household Broom, Quality | Riser Trade Co Ltd | 190715 | P | 0 | P | 0 | |||||
190681 | Disinfectant Gel For Hands | Riser Trade Co Ltd | 190681 | P | 0 | P | 0 | |||||
190694 | Drain Unblocker soda 100 g | Riser Trade Co Ltd | 190694 | P | 0 | P | 0 | |||||
190685 | Stoffinet 400ml - Carpet Cleaning Foam | Riser Trade Co Ltd | 190685 | P | 0 | P | 0 | |||||
190677 | Polish For Precious Metals | Riser Trade Co Ltd | 190677 | P | 0 | P | 0 | |||||
190688 | Liquid Cleaner For All Surfaces Pink Fresh | Riser Trade Co Ltd | 190688 | P | 0 | P | 0 | |||||
190687 | Liquid Cleaner For All Surfaces Pink Fresh | Riser Trade Co Ltd | 190687 | P | 0 | P | 0 | |||||
190678 | Paraffin Oil | Riser Trade Co Ltd | 190678 | P | 0 | P | 0 | |||||
190682 | Disinfectant Gel For Hands | Riser Trade Co Ltd | 190682 | P | 0 | P | 0 | |||||
190684 | Stahlfix 200 ml Cream for cleaning & polishing stainless steel,copper,metals | Riser Trade Co Ltd | 190684 | P | 0 | P | 0 | |||||
190702 | Wood Furniture & Parquet 4in1 750ml | Riser Trade Co Ltd | 190702 | P | 0 | P | 0 | |||||
190704 | 2 Pairs Of Large Household Gloves Large & Medium | Riser Trade Co Ltd | 190704 | P | 0 | P | 0 | |||||
190703 | 2 Pairs Of Large Household Gloves | Riser Trade Co Ltd | 190703 | P | 0 | P | 0 | |||||
190706 | Large Household Gloves | Riser Trade Co Ltd | 190706 | P | 0 | P | 0 | |||||
190707 | Large Household Gloves | Riser Trade Co Ltd | 190707 | P | 0 | P | 0 |