Query time 0.00138
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "121.81"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "21.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": 21,
"rows_produced_per_join": 21,
"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 (262859,262860,262852,262854,262856,262858,262924,264649,264651,264355,264357,265053,265054,265057,265058,388351,388352,388355,388356,265052,265059)))",
"cost_info": {
"read_cost": "46.21",
"eval_cost": "4.20",
"prefix_cost": "50.41",
"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": 21,
"filtered": "100.00",
"cost_info": {
"read_cost": "21.00",
"eval_cost": "4.20",
"prefix_cost": "75.61",
"data_read_per_join": "16K"
},
"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": 21,
"filtered": "100.00",
"cost_info": {
"read_cost": "21.00",
"eval_cost": "4.20",
"prefix_cost": "100.81",
"data_read_per_join": "12K"
},
"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 |
domain-brokerage-social-share-image-1024x603-1.jpg |
1024 |
603 |
N |
1311978 |
262852 |
product |
340547 |
M |
0 |
|
340547 |
0 |
domain-brokerage-social-share-image-1024x603-1.jpg |
1024 |
603 |
N |
1311980 |
262854 |
product |
340547 |
M |
0 |
|
340547 |
0 |
domain-brokerage-social-share-image-1024x603-1.jpg |
1024 |
603 |
N |
1311982 |
262856 |
product |
340547 |
M |
0 |
|
340547 |
0 |
domain-brokerage-social-share-image-1024x603-1.jpg |
1024 |
603 |
N |
1311984 |
262858 |
product |
340547 |
M |
0 |
|
340547 |
0 |
domain-brokerage-social-share-image-1024x603-1.jpg |
1024 |
603 |
N |
1311985 |
262859 |
product |
340547 |
M |
0 |
|
340547 |
0 |
domain-brokerage-social-share-image-1024x603-1.jpg |
1024 |
603 |
N |
1311986 |
262860 |
product |
340547 |
M |
0 |
|
340547 |
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 |