Query time 0.00106
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "87.01"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "15.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": 15,
"rows_produced_per_join": 15,
"filtered": "100.00",
"index_condition": "((`webmarco`.`cscart_images_links`.`object_type` = 'product') and (`webmarco`.`cscart_images_links`.`type` = 'M') and (`webmarco`.`cscart_images_links`.`object_id` in (264226,264888,264893,264889,264890,264891,264892,264884,264894,264885,264895,264887,264897,264896,264886)))",
"cost_info": {
"read_cost": "33.01",
"eval_cost": "3.00",
"prefix_cost": "36.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": [
"webmarco.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 15,
"filtered": "100.00",
"cost_info": {
"read_cost": "15.00",
"eval_cost": "3.00",
"prefix_cost": "54.01",
"data_read_per_join": "11K"
},
"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": [
"webmarco.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 15,
"filtered": "100.00",
"cost_info": {
"read_cost": "15.00",
"eval_cost": "3.00",
"prefix_cost": "72.01",
"data_read_per_join": "8K"
},
"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 |
blue1_o9dw-b5.jpg |
1243 |
1231 |
N |
1343321 |
264226 |
product |
345134 |
M |
2 |
|
345134 |
0 |
blue1_o9dw-b5.jpg |
1243 |
1231 |
N |
1376713 |
264884 |
product |
345134 |
M |
2 |
|
345134 |
0 |
blue1_o9dw-b5.jpg |
1243 |
1231 |
N |
1376714 |
264885 |
product |
345134 |
M |
2 |
|
345134 |
0 |
blue1_o9dw-b5.jpg |
1243 |
1231 |
N |
1376715 |
264886 |
product |
345134 |
M |
2 |
|
345134 |
0 |
blue1_o9dw-b5.jpg |
1243 |
1231 |
N |
1376716 |
264887 |
product |
345134 |
M |
2 |
|
345134 |
0 |
roze_22x3-k5_nlnz-vr.jpg |
1243 |
1000 |
N |
1376727 |
264888 |
product |
348577 |
M |
3 |
|
348577 |
0 |
roze_22x3-k5_x12x-9q.jpg |
1243 |
1000 |
N |
1376728 |
264889 |
product |
348578 |
M |
3 |
|
348578 |
0 |
roze_22x3-k5_u5sk-tc.jpg |
1243 |
1000 |
N |
1376729 |
264890 |
product |
348579 |
M |
3 |
|
348579 |
0 |
roze_22x3-k5_vaos-g4.jpg |
1243 |
1000 |
N |
1376730 |
264891 |
product |
348580 |
M |
3 |
|
348580 |
0 |
roze_22x3-k5_l0l4-nk.jpg |
1243 |
1000 |
N |
1376731 |
264892 |
product |
348581 |
M |
3 |
|
348581 |
0 |
green_iz7e-p1_s4w9-x1.jpg |
1243 |
1533 |
N |
1376732 |
264893 |
product |
348582 |
M |
3 |
|
348582 |
0 |
green_iz7e-p1_usx0-93.jpg |
1243 |
1533 |
N |
1376733 |
264894 |
product |
348583 |
M |
3 |
|
348583 |
0 |
green_iz7e-p1_yol8-3e.jpg |
1243 |
1533 |
N |
1376734 |
264895 |
product |
348584 |
M |
3 |
|
348584 |
0 |
green_iz7e-p1_je64-qy.jpg |
1243 |
1533 |
N |
1376735 |
264896 |
product |
348585 |
M |
3 |
|
348585 |
0 |
green_iz7e-p1_7ce9-9o.jpg |
1243 |
1533 |
N |
1376736 |
264897 |
product |
348586 |
M |
3 |
|
348586 |