Query time 0.00121
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "1.26"
},
"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",
"cost_info": {
"read_cost": "0.75",
"eval_cost": "0.03",
"prefix_cost": "1.05",
"data_read_per_join": "134"
},
"used_columns": [
"post_id",
"thread_id",
"name",
"timestamp",
"user_id",
"ip_address",
"status"
],
"attached_condition": "(`demouniformecomd_db`.`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": [
"demouniformecomd_db.cscart_discussion_posts.post_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.08",
"eval_cost": "0.03",
"prefix_cost": "1.16",
"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": [
"demouniformecomd_db.cscart_discussion_posts.post_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.08",
"eval_cost": "0.03",
"prefix_cost": "1.26",
"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 |
62 |
265 |
Joe |
1484307000 |
0 |
5f68c2c5 |
A |
I don’t really need an overly functional super-duper music player that can brew me a coffee, I needed a replacement for my broken iPod. And this player handled that job really well. One extra pro is the fact that you don’t have to use pesky iTunes every time you connect the player. |
5 |
63 |
265 |
Nancy |
1484307000 |
0 |
5f68c2c5 |
A |
A big screen is good and all, and I love to watch movies on it, but where are the buttons? |
3 |
61 |
265 |
Sam |
1484306940 |
0 |
5f68c2c5 |
A |
This thing is the stuff of legends. If you are an audiophile like me, take it without question. You can listen to lossless music AND browse the web at the same time on the same device, fantastic! |
5 |