Query time 0.00127
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "52.31"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "22.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": 22,
"rows_produced_per_join": 22,
"filtered": "100.00",
"index_condition": "((`test2_gaseus`.`cscart_images_links`.`object_type` = 'product') and (`test2_gaseus`.`cscart_images_links`.`type` = 'M') and (`test2_gaseus`.`cscart_images_links`.`object_id` in (12260,12305,12259,12261,12275,12290,12263,12266,12269,12272,3166,3186,3279,3272,3278,3191,6765,3197,7009,3284)))",
"cost_info": {
"read_cost": "12.71",
"eval_cost": "2.20",
"prefix_cost": "14.91",
"data_read_per_join": "2K"
},
"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": [
"test2_gaseus.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 22,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.50",
"eval_cost": "2.20",
"prefix_cost": "22.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": [
"test2_gaseus.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 22,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.50",
"eval_cost": "2.20",
"prefix_cost": "30.31",
"data_read_per_join": "13K"
},
"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 |
Seite-72-F10-300-Effect-LabLine-LGuX57w1r6xGlVm_600x600_2x.jpg |
1200 |
800 |
N |
6237 |
6765 |
product |
9720 |
M |
0 |
|
9720 |
| 0 |
1447432387-1306-1_600x600_2x_ad76-ia.jpg |
500 |
495 |
N |
6481 |
7009 |
product |
9964 |
M |
0 |
|
9964 |
| 0 |
1548237937-17812-1-2_600x600_2x.jpg |
500 |
448 |
N |
11731 |
12259 |
product |
15214 |
M |
0 |
|
15214 |
| 0 |
1548237937-17812-1-2_600x600_2x_r8td-wq.jpg |
500 |
448 |
N |
11732 |
12260 |
product |
15215 |
M |
0 |
|
15215 |
| 0 |
1548237937-17812-1-2_600x600_2x_ayjq-8g.jpg |
500 |
448 |
N |
11733 |
12261 |
product |
15216 |
M |
0 |
|
15216 |
| 0 |
1548237937-17812-1-2_600x600_2x_4qpe-dk.jpg |
500 |
448 |
N |
11735 |
12263 |
product |
15218 |
M |
0 |
|
15218 |
| 0 |
1548237937-17812-1-2_600x600_2x_em37-e0.jpg |
500 |
448 |
N |
11738 |
12266 |
product |
15221 |
M |
0 |
|
15221 |
| 0 |
1548237937-17812-1-2_600x600_2x_da0t-ps.jpg |
500 |
448 |
N |
11741 |
12269 |
product |
15224 |
M |
0 |
|
15224 |
| 0 |
1548237937-17812-1-2_600x600_2x_sla6-30.jpg |
500 |
448 |
N |
11744 |
12272 |
product |
15227 |
M |
0 |
|
15227 |
| 0 |
1548237937-17812-1-2_600x600_2x_urrs-1t.jpg |
500 |
448 |
N |
11747 |
12275 |
product |
15230 |
M |
0 |
|
15230 |
| 0 |
1548237937-17812-1-2_600x600_2x_hng3-vk.jpg |
500 |
448 |
N |
11762 |
12290 |
product |
15245 |
M |
0 |
|
15245 |
| 0 |
1371625705-27843-1_600x600_shum-p9.jpg |
500 |
416 |
N |
11777 |
12305 |
product |
15260 |
M |
0 |
|
15260 |
| 0 |
276711-F10-300F-Effect-Flowmeter-LabLine-Seite-73jnqvyUrfzX4ND_600x600_2x_60kb-0j.jpg |
1191 |
1200 |
N |
15867 |
3166 |
product |
19348 |
M |
0 |
|
19348 |
| 0 |
Seite-72-F10-300-Effect-LabLine-LGdXHUORL9Aecim_600x600_2x.jpg |
1200 |
800 |
N |
15887 |
3186 |
product |
19368 |
M |
0 |
|
19368 |
| 0 |
Seite-72-F10-300-Effect-LabLine-LGmcj0FparOgLLN_600x600_2x.jpg |
1200 |
800 |
N |
15892 |
3191 |
product |
19373 |
M |
0 |
|
19373 |
| 0 |
Seite-74-F10-2-300-Effect-LabLine-LGIOkMzMbs99Ke0_600x600_2x.jpg |
1200 |
800 |
N |
15898 |
3197 |
product |
19379 |
M |
0 |
|
19379 |
| 0 |
Seite-74-F10-2-300-Effect-LabLine-LG_600x600_2x.jpg |
1200 |
800 |
N |
15973 |
3272 |
product |
19454 |
M |
0 |
|
19454 |
| 0 |
Seite-74-F10-2-300-Effect-LabLine-LG6StNnIYWwGIqd_600x600_2x.jpg |
1200 |
800 |
N |
15979 |
3278 |
product |
19460 |
M |
0 |
|
19460 |
| 0 |
Seite-74-F10-2-300-Effect-LabLine-neu_600x600_2x.jpg |
408 |
285 |
N |
15980 |
3279 |
product |
19461 |
M |
0 |
|
19461 |
| 0 |
Seite-72-F10-300-Effect-LabLine-LGPGOoPwDW2JcCn_600x600_2x.jpg |
1200 |
800 |
N |
15985 |
3284 |
product |
19466 |
M |
0 |
|
19466 |