Query time 0.00119
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "48.01"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "20.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": 20,
"rows_produced_per_join": 20,
"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 (12259,12304,12260,12261,12274,12289,12262,12265,12268,12271,3166,3186,3279,3272,3278,3191,6765,3197,7009,3284)))",
"cost_info": {
"read_cost": "12.01",
"eval_cost": "2.00",
"prefix_cost": "14.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": [
"test2_gaseus.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 20,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.00",
"eval_cost": "2.00",
"prefix_cost": "21.01",
"data_read_per_join": "15K"
},
"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": 20,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.00",
"eval_cost": "2.00",
"prefix_cost": "28.01",
"data_read_per_join": "11K"
},
"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_lcpj-he.jpg |
500 |
448 |
N |
11734 |
12262 |
product |
15217 |
M |
0 |
|
15217 |
| 0 |
1548237937-17812-1-2_600x600_2x_a8mo-hx.jpg |
500 |
448 |
N |
11737 |
12265 |
product |
15220 |
M |
0 |
|
15220 |
| 0 |
1548237937-17812-1-2_600x600_2x_yj0t-g9.jpg |
500 |
448 |
N |
11740 |
12268 |
product |
15223 |
M |
0 |
|
15223 |
| 0 |
1548237937-17812-1-2_600x600_2x_x8yr-dl.jpg |
500 |
448 |
N |
11743 |
12271 |
product |
15226 |
M |
0 |
|
15226 |
| 0 |
1548237937-17812-1-2_600x600_2x_hpkg-b9.jpg |
500 |
448 |
N |
11746 |
12274 |
product |
15229 |
M |
0 |
|
15229 |
| 0 |
1548237937-17812-1-2_600x600_2x_h4tk-cl.jpg |
500 |
448 |
N |
11761 |
12289 |
product |
15244 |
M |
0 |
|
15244 |
| 0 |
1371625705-27843-1_600x600.jpg |
500 |
416 |
N |
11776 |
12304 |
product |
15259 |
M |
0 |
|
15259 |
| 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 |