Query time 0.00085
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "2.05"
},
"ordering_operation": {
"using_filesort": false,
"duplicates_removal": {
"using_temporary_table": true,
"using_filesort": false,
"nested_loop": [
{
"table": {
"table_name": "ushop_wk_rfq_quote",
"access_type": "index",
"key": "PRIMARY",
"used_key_parts": [
"id"
],
"key_length": "4",
"rows_examined_per_scan": 4,
"rows_produced_per_join": 1,
"filtered": "25.00",
"backward_index_scan": true,
"cost_info": {
"read_cost": "0.55",
"eval_cost": "0.10",
"prefix_cost": "0.65",
"data_read_per_join": "1K"
},
"used_columns": [
"id",
"cat_id",
"pro_id",
"pro_name",
"part_name",
"pro_description",
"image_loc",
"field_data",
"city",
"country",
"state",
"quantity",
"user_price",
"note",
"user_id",
"urgent_request",
"service_order_id",
"service_approved",
"timestamp",
"validity_date",
"promotion_id",
"order_id",
"vendor_id",
"is_approved",
"is_rejected",
"no_vendor_access",
"status"
],
"attached_condition": "(`marketplace`.`ushop_wk_rfq_quote`.`pro_id` = 522)"
}
},
{
"table": {
"table_name": "ushop_product_descriptions",
"access_type": "const",
"possible_keys": [
"PRIMARY",
"product_id"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id",
"lang_code"
],
"key_length": "9",
"ref": [
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.10",
"prefix_cost": "1.00",
"data_read_per_join": "6K"
},
"used_columns": [
"product_id",
"lang_code",
"product"
]
}
},
{
"table": {
"table_name": "ushop_category_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id",
"lang_code"
],
"key_length": "9",
"ref": [
"marketplace.ushop_wk_rfq_quote.cat_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"index_condition": "<if>(is_not_null_compl(ushop_category_descriptions), (`marketplace`.`ushop_wk_rfq_quote`.`cat_id` = `marketplace`.`ushop_category_descriptions`.`category_id`), true)",
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.10",
"prefix_cost": "1.35",
"data_read_per_join": "3K"
},
"used_columns": [
"category_id",
"lang_code",
"category"
]
}
},
{
"table": {
"table_name": "c1_to",
"access_type": "const",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"using_index": true,
"distinct": true,
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.10",
"prefix_cost": "1.70",
"data_read_per_join": "4K"
},
"used_columns": [
"product_id"
]
}
},
{
"table": {
"table_name": "ushop_companies",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"company_id"
],
"key_length": "4",
"ref": [
"marketplace.ushop_wk_rfq_quote.vendor_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"using_index": true,
"distinct": true,
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.10",
"prefix_cost": "2.05",
"data_read_per_join": "6K"
},
"used_columns": [
"company_id"
],
"attached_condition": "<if>(is_not_null_compl(ushop_companies), (`marketplace`.`ushop_wk_rfq_quote`.`vendor_id` = `marketplace`.`ushop_companies`.`company_id`), true)"
}
}
]
}
}
}
}