Query time 0.00163
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 (264156,264935,264954,264927,264928,264929,264930,264931,264950,264932,264951,264933,264952,264934,264953)))",
"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 |
black3.jpg |
1243 |
1487 |
N |
1342890 |
264156 |
product |
344729 |
M |
0 |
|
344729 |
0 |
black3.jpg |
1243 |
1487 |
N |
1377225 |
264927 |
product |
344729 |
M |
0 |
|
344729 |
0 |
black3.jpg |
1243 |
1487 |
N |
1377226 |
264928 |
product |
344729 |
M |
0 |
|
344729 |
0 |
black3.jpg |
1243 |
1487 |
N |
1377227 |
264929 |
product |
344729 |
M |
0 |
|
344729 |
0 |
black3.jpg |
1243 |
1487 |
N |
1377228 |
264930 |
product |
344729 |
M |
0 |
|
344729 |
0 |
kepucepink_0jhw-41.jpg |
1243 |
1120 |
N |
1377265 |
264931 |
product |
348599 |
M |
1 |
|
348599 |
0 |
kepucepink_vi8w-7y.jpg |
1243 |
1120 |
N |
1377296 |
264932 |
product |
348600 |
M |
1 |
|
348600 |
0 |
kepucepink_vi8w-7y_adum-ot.jpg |
1243 |
1120 |
N |
1377297 |
264933 |
product |
348601 |
M |
1 |
|
348601 |
0 |
kepucepink_vi8w-7y_t43q-0k.jpg |
1243 |
1120 |
N |
1377298 |
264934 |
product |
348602 |
M |
1 |
|
348602 |
0 |
kepucepink_vi8w-7y_xj3o-x4.jpg |
1243 |
1120 |
N |
1377299 |
264935 |
product |
348603 |
M |
1 |
|
348603 |
0 |
kepucebeige_ycuz-df_hozp-ia.jpg |
1243 |
1241 |
N |
1377810 |
264950 |
product |
348615 |
M |
1 |
|
348615 |
0 |
kepucebeige_ycuz-df_w9g7-o7.jpg |
1243 |
1241 |
N |
1377811 |
264951 |
product |
348616 |
M |
1 |
|
348616 |
0 |
kepucebeige_ycuz-df_6ey0-2w.jpg |
1243 |
1241 |
N |
1377843 |
264952 |
product |
348618 |
M |
1 |
|
348618 |
0 |
kepucebeige_ycuz-df_dub5-2q.jpg |
1243 |
1241 |
N |
1377844 |
264953 |
product |
348619 |
M |
1 |
|
348619 |
0 |
kepucebeige_ycuz-df_cvgk-qe.jpg |
1243 |
1241 |
N |
1377845 |
264954 |
product |
348620 |
M |
1 |
|
348620 |