Query time 0.00160
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "4921.80"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "4464.00"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_product_reviews",
"access_type": "ALL",
"rows_examined_per_scan": 49,
"rows_produced_per_join": 0,
"filtered": "2.04",
"cost_info": {
"read_cost": "6.43",
"eval_cost": "0.10",
"prefix_cost": "6.53",
"data_read_per_join": "1K"
},
"used_columns": [
"product_review_id",
"product_id",
"user_id",
"name",
"advantages",
"disadvantages",
"comment",
"rating_value",
"ip_address",
"is_buyer",
"product_review_timestamp",
"country_code",
"city",
"reply_user_id",
"reply",
"reply_timestamp",
"helpfulness",
"status",
"storefront_id",
"images_count",
"vote_up",
"vote_down"
],
"attached_condition": "((`mobikul_delivery_boy_livedemo`.`cscart_product_reviews`.`product_id` = 10) and (`mobikul_delivery_boy_livedemo`.`cscart_product_reviews`.`status` = 'A'))"
}
},
{
"table": {
"table_name": "cscart_users",
"access_type": "ALL",
"rows_examined_per_scan": 9,
"rows_produced_per_join": 8,
"filtered": "100.00",
"using_join_buffer": "hash join",
"cost_info": {
"read_cost": "0.60",
"eval_cost": "0.90",
"prefix_cost": "8.03",
"data_read_per_join": "65K"
},
"used_columns": [
"user_id",
"company_id"
],
"attached_condition": "<if>(is_not_null_compl(cscart_users), (`mobikul_delivery_boy_livedemo`.`cscart_users`.`user_id` = `mobikul_delivery_boy_livedemo`.`cscart_product_reviews`.`reply_user_id`), true)"
}
},
{
"table": {
"table_name": "cscart_companies",
"access_type": "ALL",
"rows_examined_per_scan": 2,
"rows_produced_per_join": 17,
"filtered": "100.00",
"using_join_buffer": "hash join",
"cost_info": {
"read_cost": "0.55",
"eval_cost": "1.80",
"prefix_cost": "10.39",
"data_read_per_join": "111K"
},
"used_columns": [
"company_id",
"company"
],
"attached_condition": "<if>(is_not_null_compl(cscart_companies), (`mobikul_delivery_boy_livedemo`.`cscart_companies`.`company_id` = `mobikul_delivery_boy_livedemo`.`cscart_users`.`company_id`), true)"
}
},
{
"table": {
"table_name": "cscart_country_descriptions",
"access_type": "ALL",
"rows_examined_per_scan": 248,
"rows_produced_per_join": 4463,
"filtered": "100.00",
"using_join_buffer": "hash join",
"cost_info": {
"read_cost": "1.02",
"eval_cost": "446.40",
"prefix_cost": "457.81",
"data_read_per_join": "1M"
},
"used_columns": [
"code",
"lang_code",
"country"
],
"attached_condition": "<if>(is_not_null_compl(cscart_country_descriptions), ((`mobikul_delivery_boy_livedemo`.`cscart_country_descriptions`.`code` = `mobikul_delivery_boy_livedemo`.`cscart_product_reviews`.`country_code`) and (`mobikul_delivery_boy_livedemo`.`cscart_country_descriptions`.`lang_code` = 'en')), true)"
}
}
]
}
}
}