Query time 0.00100
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "8.67"
},
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "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": 20,
"rows_produced_per_join": 2,
"filtered": "10.00",
"cost_info": {
"read_cost": "5.00",
"eval_cost": "0.20",
"prefix_cost": "7.00",
"data_read_per_join": "896"
},
"used_columns": [
"post_id",
"thread_id",
"name",
"timestamp",
"user_id",
"ip_address",
"status"
],
"attached_condition": "(`goimagine`.`discussion_posts`.`status` = 'A')"
}
},
{
"table": {
"table_name": "discussion_messages",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"post_id"
],
"key_length": "3",
"ref": [
"goimagine.discussion_posts.post_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.77",
"eval_cost": "0.20",
"prefix_cost": "7.97",
"data_read_per_join": "48"
},
"used_columns": [
"message",
"post_id"
]
}
},
{
"table": {
"table_name": "discussion_rating",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"post_id"
],
"key_length": "3",
"ref": [
"goimagine.discussion_posts.post_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.50",
"eval_cost": "0.20",
"prefix_cost": "8.67",
"data_read_per_join": "32"
},
"used_columns": [
"rating_value",
"post_id"
]
}
}
]
}
}
}
Result
| post_id |
thread_id |
name |
timestamp |
user_id |
ip_address |
status |
message |
rating_value |
| 900147 |
14 |
wendybiesanz |
1688270400 |
123951 |
44725e13 |
A |
So pretty! Very nicely done. The best hot air balloon I’ve ever found. |
5 |
| 900148 |
14 |
Casey |
1685851200 |
123951 |
44725e13 |
A |
|
5 |
| 900149 |
14 |
Julia |
1682222400 |
123951 |
44725e13 |
A |
|
5 |
| 900150 |
14 |
Heather |
1676869200 |
123951 |
44725e13 |
A |
So cute! Even better than the picture. Love it! |
5 |
| 900151 |
14 |
Lisa |
1675918800 |
123951 |
44725e13 |
A |
|
5 |
| 900152 |
14 |
Tammy |
1672894800 |
123951 |
44725e13 |
A |
This was a beautiful ornament, the seller was very accommodating I needed it shipped express she checked to make suRe it would get here in time and it did. |
5 |
| 900153 |
14 |
Stacey |
1672635600 |
123951 |
44725e13 |
A |
|
5 |
| 900154 |
14 |
parkkatie11 |
1672117200 |
123951 |
44725e13 |
A |
Very happy with my purchase of this ornament. Great quality, matched description and photos. Very quick shipping. Will likely order from this seller again. |
5 |
| 900155 |
14 |
Lauri |
1672117200 |
123951 |
44725e13 |
A |
|
5 |
| 900156 |
14 |
Jenna |
1672030800 |
123951 |
44725e13 |
A |
So cute! |
5 |