Query time 0.00226
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "87.01"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "15.00"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_images_links",
"access_type": "range",
"possible_keys": [
"object_id"
],
"key": "object_id",
"used_key_parts": [
"object_id",
"object_type",
"type"
],
"key_length": "81",
"rows_examined_per_scan": 15,
"rows_produced_per_join": 15,
"filtered": "100.00",
"index_condition": "((`webmarco`.`cscart_images_links`.`object_type` = 'product') and (`webmarco`.`cscart_images_links`.`type` = 'M') and (`webmarco`.`cscart_images_links`.`object_id` in (262924,264649,264651,264355,264357,265053,265054,265057,265058,388351,388352,388355,388356,265052,265059)))",
"cost_info": {
"read_cost": "33.01",
"eval_cost": "3.00",
"prefix_cost": "36.01",
"data_read_per_join": "1K"
},
"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": [
"webmarco.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 15,
"filtered": "100.00",
"cost_info": {
"read_cost": "15.00",
"eval_cost": "3.00",
"prefix_cost": "54.01",
"data_read_per_join": "11K"
},
"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": "108",
"ref": [
"webmarco.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 15,
"filtered": "100.00",
"cost_info": {
"read_cost": "15.00",
"eval_cost": "3.00",
"prefix_cost": "72.01",
"data_read_per_join": "8K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
]
}
}
]
}
}
}
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 |
0 |
2019-08-01-12-52-www.riverworksmarketing.com__2a8y-in.png |
772 |
772 |
N |
1315776 |
262924 |
product |
342452 |
M |
0 |
|
342452 |
0 |
marco_order.png |
500 |
500 |
N |
1344563 |
264355 |
product |
345565 |
M |
0 |
|
345565 |
0 |
marco_order.png |
500 |
500 |
N |
1344566 |
264357 |
product |
345565 |
M |
0 |
|
345565 |
0 |
2019-08-01-12-52-www.riverworksmarketing.com__2a8y-in.png |
772 |
772 |
N |
1350034 |
264649 |
product |
342452 |
M |
0 |
|
342452 |
0 |
2019-08-01-12-52-www.riverworksmarketing.com__2a8y-in.png |
772 |
772 |
N |
1350036 |
264651 |
product |
342452 |
M |
0 |
|
342452 |
0 |
logo.png |
500 |
500 |
N |
1497269 |
265052 |
product |
362453 |
M |
0 |
|
362453 |
0 |
video.png |
500 |
500 |
N |
1499595 |
265053 |
product |
363005 |
M |
0 |
|
363005 |
0 |
video.png |
500 |
500 |
N |
1500591 |
265054 |
product |
363005 |
M |
0 |
|
363005 |
0 |
video.png |
500 |
500 |
N |
1500594 |
265057 |
product |
363005 |
M |
0 |
|
363005 |
0 |
video.png |
500 |
500 |
N |
1500595 |
265058 |
product |
363005 |
M |
0 |
|
363005 |
0 |
logo.png |
500 |
500 |
N |
1501323 |
265059 |
product |
362453 |
M |
0 |
|
362453 |
0 |
Email-Starter.jpg |
772 |
772 |
N |
3271959 |
388351 |
product |
1086988 |
M |
0 |
|
1086988 |
0 |
Email-Starter.jpg |
772 |
772 |
N |
3272025 |
388352 |
product |
1086988 |
M |
0 |
|
1086988 |
0 |
Email-Pro_u552-t2.jpg |
772 |
772 |
N |
3272194 |
388355 |
product |
1086994 |
M |
0 |
|
1086994 |
0 |
uLTIMATE-eMAIL_sqe8-zr.jpg |
772 |
772 |
N |
3272228 |
388356 |
product |
1086996 |
M |
0 |
|
1086996 |