Query time 0.00131
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "69.61"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "29.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": 29,
"rows_produced_per_join": 29,
"filtered": "100.00",
"index_condition": "((`gaseus`.`cscart_images_links`.`object_type` = 'product') and (`gaseus`.`cscart_images_links`.`type` = 'M') and (`gaseus`.`cscart_images_links`.`object_id` in (456,2359,2457,2468,2538,6641,2892,7548,7586,7624,7662,2627,3059,6637,6638,6639,6640,3060,3061,3062,3063,2295,5958,6066,6067,2537,6219,7492,2626)))",
"cost_info": {
"read_cost": "17.41",
"eval_cost": "2.90",
"prefix_cost": "20.31",
"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": [
"gaseus.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 29,
"filtered": "100.00",
"cost_info": {
"read_cost": "7.25",
"eval_cost": "2.90",
"prefix_cost": "30.46",
"data_read_per_join": "22K"
},
"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": [
"gaseus.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 29,
"filtered": "100.00",
"cost_info": {
"read_cost": "7.25",
"eval_cost": "2.90",
"prefix_cost": "40.61",
"data_read_per_join": "17K"
},
"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 |
1331806487-32374_600x600_2x.jpg |
580 |
536 |
N |
5430 |
5958 |
product |
8913 |
M |
0 |
|
8913 |
| 0 |
1331806214-11465_600x600_2x.jpg |
580 |
536 |
N |
5538 |
6066 |
product |
9021 |
M |
0 |
|
9021 |
| 0 |
1331806086-599_600x600_2x.jpg |
580 |
536 |
N |
5539 |
6067 |
product |
9022 |
M |
0 |
|
9022 |
| 0 |
1331806303-6817_600x600_2x.jpg |
580 |
536 |
N |
5691 |
6219 |
product |
9174 |
M |
0 |
|
9174 |
| 0 |
H10-200_600x600_2x_ojjl-4e_6sh0-4q.jpg |
500 |
467 |
N |
6109 |
6637 |
product |
9592 |
M |
0 |
|
9592 |
| 0 |
H10-200_600x600_2x_hxyj-j3.jpg |
500 |
467 |
N |
6110 |
6638 |
product |
9593 |
M |
0 |
|
9593 |
| 0 |
H10-200_600x600_2x_jq0k-cp.jpg |
500 |
467 |
N |
6111 |
6639 |
product |
9594 |
M |
0 |
|
9594 |
| 0 |
H10-200_600x600_2x_5v18-69.jpg |
500 |
467 |
N |
6112 |
6640 |
product |
9595 |
M |
0 |
|
9595 |
| 0 |
H10-200_600x600_2x.jpg |
500 |
467 |
N |
6113 |
6641 |
product |
9596 |
M |
0 |
|
9596 |
| 0 |
Druckminderer-Vulkan-F-40-300-Effect-Stickstoff-einstufig-2_600x600_2x_qulf-4i.jpg |
500 |
430 |
N |
6964 |
7492 |
product |
10447 |
M |
0 |
|
10447 |
| 0 |
H40-300_600x600_2x_hjls-0i.jpg |
488 |
500 |
N |
7020 |
7548 |
product |
10503 |
M |
0 |
|
10503 |
| 0 |
306-770-LHR-300-200-Seite-357YdxS0TcqXBOn_600x600_2x_0o2r-og.jpg |
1200 |
800 |
N |
7058 |
7586 |
product |
10541 |
M |
0 |
|
10541 |
| 0 |
1390213595-18254_600x600_2x_pz71-yd.jpg |
500 |
399 |
N |
7096 |
7624 |
product |
10579 |
M |
0 |
|
10579 |
| 0 |
1390207837-13512_600x600_2x_4hrq-ls.jpg |
500 |
399 |
N |
7134 |
7662 |
product |
10617 |
M |
0 |
|
10617 |
| 0 |
1387465720-4334-1_600x600_2x_g10p-he.jpg |
500 |
467 |
N |
13157 |
456 |
product |
16637 |
M |
0 |
|
16637 |
| 0 |
30851501-2_600x600_2x.jpg |
580 |
536 |
N |
14996 |
2295 |
product |
18477 |
M |
0 |
|
18477 |
| 0 |
1387465897-9668-1_600x600_2x_j3nq-0f.jpg |
500 |
471 |
N |
15060 |
2359 |
product |
18541 |
M |
0 |
|
18541 |
| 0 |
1387465866-8838-1_600x600_2x_zvi1-yn.jpg |
500 |
471 |
N |
15158 |
2457 |
product |
18639 |
M |
0 |
|
18639 |
| 0 |
1387465833-7199-1_600x600_2x_xmwv-hg.jpg |
500 |
471 |
N |
15169 |
2468 |
product |
18650 |
M |
0 |
|
18650 |
| 0 |
1331806394-6405_600x600_2x.jpg |
580 |
536 |
N |
15238 |
2537 |
product |
18719 |
M |
0 |
|
18719 |
| 0 |
1387465803-6189-1_600x600_2x_0f0l-ch.jpg |
500 |
471 |
N |
15239 |
2538 |
product |
18720 |
M |
0 |
|
18720 |
| 0 |
1331806303-6817_600x600_2x_h783-87.jpg |
580 |
536 |
N |
15327 |
2626 |
product |
18808 |
M |
0 |
|
18808 |
| 0 |
H10-300_600x600_2x_bwqi-oh.jpg |
500 |
471 |
N |
15328 |
2627 |
product |
18809 |
M |
0 |
|
18809 |
| 0 |
1387465626-1648-1_600x600_2x_ldfp-mj.jpg |
500 |
467 |
N |
15593 |
2892 |
product |
19074 |
M |
0 |
|
19074 |
| 0 |
H10-200_600x600_2x_t8in-3z.jpg |
500 |
467 |
N |
15760 |
3059 |
product |
19241 |
M |
0 |
|
19241 |
| 0 |
H10-200_600x600_2x_tfij-bs.jpg |
500 |
467 |
N |
15761 |
3060 |
product |
19242 |
M |
0 |
|
19242 |
| 0 |
H10-200_600x600_2x_d1kf-5r.jpg |
500 |
467 |
N |
15762 |
3061 |
product |
19243 |
M |
0 |
|
19243 |
| 0 |
H10-200_600x600_2x_s7a0-1s.jpg |
500 |
467 |
N |
15763 |
3062 |
product |
19244 |
M |
0 |
|
19244 |
| 0 |
H10-200_600x600_2x_wmm4-1x.jpg |
500 |
467 |
N |
15764 |
3063 |
product |
19245 |
M |
0 |
|
19245 |