Query time 0.00102
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "45.61"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "19.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": 19,
"rows_produced_per_join": 19,
"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 (7464,470,482,485,3627,478,475,472,3650,3505,3854,3656,491,3504,3506,3508,3507,3510,3509)))",
"cost_info": {
"read_cost": "11.41",
"eval_cost": "1.90",
"prefix_cost": "13.31",
"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": [
"gaseus.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 19,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.75",
"eval_cost": "1.90",
"prefix_cost": "19.96",
"data_read_per_join": "14K"
},
"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": 19,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.75",
"eval_cost": "1.90",
"prefix_cost": "26.61",
"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 |
Druckminderer-Vulkan-F-10-300-Effect-Stickstoff-zweistufig-2_600x600_2x_a7ug-6y.jpg |
500 |
364 |
N |
6936 |
7464 |
product |
10419 |
M |
0 |
|
10419 |
| 0 |
1498123389-2467-1_600x600_2x_0w3e-26.jpg |
500 |
491 |
N |
13171 |
470 |
product |
16651 |
M |
0 |
|
16651 |
| 0 |
1498122970-27521-1_600x600_2x_gowl-8q.jpg |
500 |
491 |
N |
13173 |
472 |
product |
16653 |
M |
0 |
|
16653 |
| 0 |
f60-300_600x600_2x_yots-tu.jpg |
500 |
491 |
N |
13176 |
475 |
product |
16656 |
M |
0 |
|
16656 |
| 0 |
1498121504-5474-1_600x600_2x_n7be-cb.jpg |
500 |
491 |
N |
13179 |
478 |
product |
16659 |
M |
0 |
|
16659 |
| 0 |
1498121780-10783-1_600x600_2x_2tva-rl.jpg |
500 |
491 |
N |
13183 |
482 |
product |
16663 |
M |
0 |
|
16663 |
| 0 |
1498122827-24797-1_600x600_2x_bvmo-sp.jpg |
500 |
491 |
N |
13186 |
485 |
product |
16666 |
M |
0 |
|
16666 |
| 0 |
1497608713-6083-1_600x600_2x_oab7-m0.jpg |
459 |
500 |
N |
13192 |
491 |
product |
16672 |
M |
0 |
|
16672 |
| 0 |
1497609223-14559-1_600x600_2x.jpg |
459 |
500 |
N |
16205 |
3504 |
product |
19686 |
M |
0 |
|
19686 |
| 0 |
1497609223-14559-1_600x600_2x_tlsn-3h.jpg |
459 |
500 |
N |
16206 |
3505 |
product |
19687 |
M |
0 |
|
19687 |
| 0 |
1497609223-14559-1_600x600_2x_acwt-p1.jpg |
459 |
500 |
N |
16207 |
3506 |
product |
19688 |
M |
0 |
|
19688 |
| 0 |
1497609223-14559-1_600x600_2x_6y8g-6t.jpg |
459 |
500 |
N |
16208 |
3507 |
product |
19689 |
M |
0 |
|
19689 |
| 0 |
1497609223-14559-1_600x600_2x_t1nz-wg.jpg |
459 |
500 |
N |
16209 |
3508 |
product |
19690 |
M |
0 |
|
19690 |
| 0 |
1497609223-14559-1_600x600_2x_w6zd-aa.jpg |
459 |
500 |
N |
16210 |
3509 |
product |
19691 |
M |
0 |
|
19691 |
| 0 |
1497609223-14559-1_600x600_2x_obcr-t4.jpg |
459 |
500 |
N |
16211 |
3510 |
product |
19692 |
M |
0 |
|
19692 |
| 0 |
1498122600-21393-1_600x600_2x_holc-gk.jpg |
500 |
491 |
N |
16328 |
3627 |
product |
19809 |
M |
0 |
|
19809 |
| 0 |
1498122600-21393-1_600x600_2x_zl4z-3k.jpg |
500 |
491 |
N |
16351 |
3650 |
product |
19832 |
M |
0 |
|
19832 |
| 0 |
Flaschendruckminderer_Vulkan_F60-200_600x600_2x_7e53-ro.jpg |
459 |
500 |
N |
16357 |
3656 |
product |
19838 |
M |
0 |
|
19838 |
| 0 |
1508162444-19948_600x600_2x_8s39-gl.jpg |
459 |
500 |
N |
16555 |
3854 |
product |
20036 |
M |
0 |
|
20036 |