Query time 0.00060
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "4.32"
},
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_discussion_posts",
"access_type": "ref",
"possible_keys": [
"thread_id",
"thread_id_2"
],
"key": "thread_id",
"used_key_parts": [
"thread_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 3,
"rows_produced_per_join": 0,
"filtered": "10.00",
"index_condition": "(`danishecarter_25_march`.`cscart_discussion_posts`.`thread_id` <=> 3775)",
"cost_info": {
"read_cost": "3.00",
"eval_cost": "0.06",
"prefix_cost": "3.60",
"data_read_per_join": "134"
},
"used_columns": [
"post_id",
"thread_id",
"name",
"timestamp",
"user_id",
"ip_address",
"status"
],
"attached_condition": "(`danishecarter_25_march`.`cscart_discussion_posts`.`status` = 'A')"
}
},
{
"table": {
"table_name": "cscart_discussion_messages",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"post_id"
],
"key_length": "3",
"ref": [
"danishecarter_25_march.cscart_discussion_posts.post_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.30",
"eval_cost": "0.06",
"prefix_cost": "3.96",
"data_read_per_join": "7"
},
"used_columns": [
"message",
"post_id"
]
}
},
{
"table": {
"table_name": "cscart_discussion_rating",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"post_id"
],
"key_length": "3",
"ref": [
"danishecarter_25_march.cscart_discussion_posts.post_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.30",
"eval_cost": "0.06",
"prefix_cost": "4.32",
"data_read_per_join": "4"
},
"used_columns": [
"rating_value",
"post_id"
]
}
}
]
}
}
}
Result
post_id |
thread_id |
name |
timestamp |
user_id |
ip_address |
status |
message |
rating_value |
118 |
3775 |
Steve |
1484901900 |
0 |
80451060 |
A |
I know it’s not an MTB, but I used it for some hardcore cross-country riding! Had to replace almost half of the parts after the first two rides, they just won’t do at all. |
4 |
119 |
3775 |
Rosa |
1484901900 |
0 |
80451060 |
A |
I wish it had a softer seat… Besides that, I use it for short park riding, and it provides a very smooth riding experience. |
3 |
117 |
3775 |
Julia |
1484901840 |
0 |
80451060 |
A |
Got this bike with a discount, a really affordable option for most people out there. I got almost 100 miles on it, no problems so far. Don’t forget to clean it after every ride. |
5 |