Query time 0.00155
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "50.41"
},
"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": "((`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 (456,2359,2457,2468,2538,6641,2892,7548,7586,7624,7662,2627,3059,6637,6638,6639,6640,3060,3061,3062,3063)))",
"cost_info": {
"read_cost": "12.61",
"eval_cost": "2.10",
"prefix_cost": "14.71",
"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": 21,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.25",
"eval_cost": "2.10",
"prefix_cost": "22.06",
"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": 21,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.25",
"eval_cost": "2.10",
"prefix_cost": "29.41",
"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 |
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 |
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 |
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 |
1387465803-6189-1_600x600_2x_0f0l-ch.jpg |
500 |
471 |
N |
15239 |
2538 |
product |
18720 |
M |
0 |
|
18720 |
| 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 |