{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "624.49"
},
"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": "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.20",
"prefix_cost": "0.00",
"data_read_per_join": "5K"
},
"used_columns": [
"category_id",
"usergroup_ids",
"status",
"storefront_id"
]
}
},
{
"table": {
"table_name": "products_categories",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"pt"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 357,
"rows_produced_per_join": 357,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "1.52",
"eval_cost": "71.40",
"prefix_cost": "72.92",
"data_read_per_join": "5K"
},
"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": 89,
"filtered": "25.00",
"using_index": true,
"cost_info": {
"read_cost": "357.00",
"eval_cost": "17.85",
"prefix_cost": "501.32",
"data_read_per_join": "5K"
},
"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": 4,
"filtered": "5.00",
"cost_info": {
"read_cost": "89.25",
"eval_cost": "0.89",
"prefix_cost": "608.42",
"data_read_per_join": "34K"
},
"used_columns": [
"product_id",
"product_type",
"status",
"company_id",
"usergroup_ids",
"parent_product_id"
],
"attached_condition": "((`webmarco`.`products`.`company_id` = '284') and (`webmarco`.`products`.`company_id` = '284') 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": 4,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.46",
"eval_cost": "0.89",
"prefix_cost": "613.78",
"data_read_per_join": "785"
},
"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": 4,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.46",
"eval_cost": "0.89",
"prefix_cost": "619.13",
"data_read_per_join": "142"
},
"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": 4,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.46",
"eval_cost": "0.89",
"prefix_cost": "624.49",
"data_read_per_join": "30K"
},
"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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
149469 | Silver - Amber | Malice Profumeria & Estetica | 149469 | P | 0 | P | 0 | |||||
149461 | Silver Buffalo Horn and Carnelian | Malice Profumeria & Estetica | 149461 | P | 0 | P | 0 | |||||
149615 | Silver - Colored Agate and Crystals | Malice Profumeria & Estetica | 149615 | P | 0 | P | 0 | |||||
149689 | Silver - Rock Crystal | Malice Profumeria & Estetica | 149689 | P | 0 | P | 0 | |||||
149472 | Silver - Swarovski Burst Crystal | Malice Profumeria & Estetica | 149472 | P | 0 | P | 0 | |||||
149687 | Silver - Garnet and Green Agate with Decorations | Malice Profumeria & Estetica | 149687 | P | 0 | P | 0 | |||||
149482 | Silver - Duralite Quartz and Rock Crystal | Malice Profumeria & Estetica | 149482 | P | 0 | P | 0 | |||||
149608 | Silver - Pearls and Coral | Malice Profumeria & Estetica | 149608 | P | 0 | P | 0 | |||||
149610 | Silver and Turconite | Malice Profumeria & Estetica | 149610 | P | 0 | P | 0 | |||||
149457 | Silver - Garnet and Petersite | Malice Profumeria & Estetica | 149457 | P | 0 | P | 0 | |||||
149573 | Silver - Rose Quartz and Crystals | Malice Profumeria & Estetica | 149573 | P | 0 | P | 0 | |||||
149467 | Silver and Agata Del Fuco | Malice Profumeria & Estetica | 149467 | P | 0 | P | 0 | |||||
149455 | Silver - Garnet and Red Aventurine | Malice Profumeria & Estetica | 149455 | P | 0 | P | 0 | |||||
149688 | Silver - Tiger Eye With Decorations | Malice Profumeria & Estetica | 149688 | P | 0 | P | 0 | |||||
149638 | Silver - Colored Agate and Pearls | Malice Profumeria & Estetica | 149638 | P | 0 | P | 0 | |||||
149673 | Silver - Black Agate and Decoration | Malice Profumeria & Estetica | 149673 | P | 0 | P | 0 | |||||
149640 | Silver and Avorina | Malice Profumeria & Estetica | 149640 | P | 0 | P | 0 | |||||
149667 | Silver - Light Coral and Decors | Malice Profumeria & Estetica | 149667 | P | 0 | P | 0 | |||||
149585 | Silver - Colored Agate And Crystals | Malice Profumeria & Estetica | 149585 | P | 0 | P | 0 | |||||
149670 | Silver - Geoliths And Crystals | Malice Profumeria & Estetica | 149670 | P | 0 | P | 0 | |||||
149665 | Silver - Light Coral and Decors | Malice Profumeria & Estetica | 149665 | P | 0 | P | 0 | |||||
149481 | Silver - Rock Crystal and Lead Crystal | Malice Profumeria & Estetica | 149481 | P | 0 | P | 0 | |||||
149617 | Silver and Colored Jade | Malice Profumeria & Estetica | 149617 | P | 0 | P | 0 | |||||
149605 | Silver - Colored Agate And Crystals | Malice Profumeria & Estetica | 149605 | P | 0 | P | 0 | |||||
149664 | Silver - Pearls and Decorations | Malice Profumeria & Estetica | 149664 | P | 0 | P | 0 | |||||
149587 | Silver - Colored Agate and Jade | Malice Profumeria & Estetica | 149587 | P | 0 | P | 0 |