Query time 0.00054
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "3.61"
},
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_product_reviews",
"access_type": "ref",
"possible_keys": [
"idx_product_id",
"idx_product_reviews_status"
],
"key": "idx_product_id",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 4,
"rows_produced_per_join": 0,
"filtered": "16.66",
"cost_info": {
"read_cost": "2.02",
"eval_cost": "0.07",
"prefix_cost": "2.42",
"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": "((`cscart_db`.`cscart_product_reviews`.`status` = 'A') and (`cscart_db`.`cscart_product_reviews`.`images_count` > 0))"
}
},
{
"table": {
"table_name": "cscart_users",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"user_id"
],
"key_length": "3",
"ref": [
"cscart_db.cscart_product_reviews.reply_user_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.65",
"eval_cost": "0.07",
"prefix_cost": "3.14",
"data_read_per_join": "4K"
},
"used_columns": [
"user_id",
"company_id"
]
}
},
{
"table": {
"table_name": "cscart_companies",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"company_id"
],
"key_length": "4",
"ref": [
"cscart_db.cscart_users.company_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.17",
"eval_cost": "0.07",
"prefix_cost": "3.38",
"data_read_per_join": "4K"
},
"used_columns": [
"company_id",
"company"
]
}
},
{
"table": {
"table_name": "cscart_country_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"code",
"lang_code"
],
"key_length": "12",
"ref": [
"cscart_db.cscart_product_reviews.country_code",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.17",
"eval_cost": "0.07",
"prefix_cost": "3.61",
"data_read_per_join": "266"
},
"used_columns": [
"code",
"lang_code",
"country"
]
}
}
]
}
}
}
Result
| 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 |
reply_company_id |
reply_company |
country |
| 22280 |
66114 |
310867 |
Jaya Hirani |
|
|
Received the album early and in good condition. I loved it! |
5 |
31241977 |
Y |
1744963722 |
IN |
Betul |
0 |
|
0 |
2 |
A |
1 |
1 |
2 |
0 |
|
|
India |
| 24014 |
66114 |
313114 |
Hirdya |
|
|
10/10. Packaging could be better. Because of slightly poor packaging a corner of the album was bent but the album came in excellent condition and best pricing. Also the album came just in 3-4 days. Which is really fast shipping. Overall I love the services. And I'm definitely gonna get more BTS albums from kindlife.
|
5 |
9681ce9e |
Y |
1756302917 |
IN |
Ahmedabad |
0 |
|
0 |
1 |
A |
1 |
5 |
1 |
0 |
|
|
India |