Query time 0.00055
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "43.72"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "10.00"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_images_links",
"access_type": "range",
"possible_keys": [
"object_id",
"idx_object_type_type_position"
],
"key": "object_id",
"used_key_parts": [
"object_id",
"object_type",
"type"
],
"key_length": "81",
"rows_examined_per_scan": 10,
"rows_produced_per_join": 10,
"filtered": "100.00",
"index_condition": "((`cscart_db`.`cscart_images_links`.`object_type` = 'blog') and (`cscart_db`.`cscart_images_links`.`type` = 'M') and (`cscart_db`.`cscart_images_links`.`object_id` in (234,233,230,232,225,226,231,228,227,229)))",
"cost_info": {
"read_cost": "18.07",
"eval_cost": "1.00",
"prefix_cost": "19.07",
"data_read_per_join": "960"
},
"used_columns": [
"pair_id",
"object_id",
"object_type",
"image_id",
"detailed_id",
"type",
"position"
]
}
},
{
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"image_id"
],
"key_length": "4",
"ref": [
"cscart_db.cscart_images_links.image_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 10,
"filtered": "100.00",
"cost_info": {
"read_cost": "6.67",
"eval_cost": "1.00",
"prefix_cost": "26.74",
"data_read_per_join": "7K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y",
"is_high_res"
]
}
},
{
"table": {
"table_name": "cscart_common_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"lang_code",
"object_holder"
],
"key_length": "107",
"ref": [
"cscart_db.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 10,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.98",
"eval_cost": "1.00",
"prefix_cost": "33.73",
"data_read_per_join": "5K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
],
"attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`cscart_db`.`cscart_common_descriptions`.`object_id` = `cscart_db`.`cscart_images`.`image_id`), true)"
}
}
]
}
}
}
Result
| image_id |
image_path |
image_x |
image_y |
is_high_res |
pair_id |
object_id |
object_type |
detailed_id |
type |
position |
alt |
images_image_id |
| 216089 |
5-Minute_Skincare_Routine_That_Heals_Sensitive_Dry_Skin.jpg |
1600 |
941 |
N |
214814 |
225 |
blog |
0 |
M |
0 |
|
216089 |
| 216090 |
Snail_Mucin_for_Skin__Benefits_and_How_to_Use_It.jpg |
1600 |
941 |
N |
214815 |
226 |
blog |
0 |
M |
0 |
|
216090 |
| 216091 |
Which_Anti-Aging_Cream_Works_Best_for_Indian_Skin.jpg |
1600 |
941 |
N |
214816 |
227 |
blog |
0 |
M |
0 |
|
216091 |
| 216092 |
How_to_Choose_Sunscreen_for_Sensitive_Skin.jpg |
1600 |
941 |
N |
214817 |
228 |
blog |
0 |
M |
0 |
|
216092 |
| 216093 |
5_Tips_to_Improve_Skin_Elasticity_and_Prevent_Sagging.jpg |
1600 |
941 |
N |
214818 |
229 |
blog |
0 |
M |
0 |
|
216093 |
| 216094 |
5_Tips_to_Identify_and_Treat_Dehydrated_Skin.jpg |
1600 |
941 |
N |
214819 |
230 |
blog |
0 |
M |
0 |
|
216094 |
| 216095 |
K_Beauty.png |
1600 |
900 |
N |
214820 |
231 |
blog |
0 |
M |
0 |
|
216095 |
| 216096 |
5_steps.png |
1600 |
900 |
N |
214821 |
232 |
blog |
0 |
M |
0 |
|
216096 |
| 216351 |
7_Signs_Your_Eyes_Are_Aging_Faster_Than_You_Think.jpg |
3200 |
1882 |
N |
215076 |
233 |
blog |
0 |
M |
0 |
|
216351 |
| 216352 |
Chemical_vs_Mineral_Sunscreen__Which_Suits_Your_Skin.jpg |
3200 |
1882 |
N |
215077 |
234 |
blog |
0 |
M |
0 |
|
216352 |