Query time 0.00122
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "28.81"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "12.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": 12,
"rows_produced_per_join": 12,
"filtered": "100.00",
"index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_images_links`.`object_type` = 'product') and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_images_links`.`type` = 'M') and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_images_links`.`object_id` in (7004,7008,7012,7013,7014,7015,7005,7009,7006,7007,7010,7011)))",
"cost_info": {
"read_cost": "7.21",
"eval_cost": "1.20",
"prefix_cost": "8.41",
"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": [
"softwarepirmam_hewadelivard_cscart_4.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 12,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.00",
"eval_cost": "1.20",
"prefix_cost": "12.61",
"data_read_per_join": "9K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y",
"is_high_res",
"transparent",
"cp_in_opt_list"
]
}
},
{
"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": [
"softwarepirmam_hewadelivard_cscart_4.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 12,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.00",
"eval_cost": "1.20",
"prefix_cost": "16.81",
"data_read_per_join": "7K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
]
}
}
]
}
}
}
Result
| image_id |
image_path |
image_x |
image_y |
is_high_res |
transparent |
cp_in_opt_list |
pair_id |
object_id |
object_type |
detailed_id |
type |
position |
alt |
images_image_id |
| 0 |
download_kw08-1x.jpg |
900 |
900 |
N |
N |
Y |
31642 |
7004 |
product |
23464 |
M |
0 |
|
23464 |
| 0 |
download_kw08-1x.jpg |
900 |
900 |
N |
N |
Y |
31675 |
7013 |
product |
23464 |
M |
0 |
|
23464 |
| 0 |
download_kw08-1x.jpg |
900 |
900 |
N |
N |
Y |
31676 |
7014 |
product |
23464 |
M |
0 |
|
23464 |
| 0 |
download_kw08-1x.jpg |
900 |
900 |
N |
N |
Y |
31677 |
7015 |
product |
23464 |
M |
0 |
|
23464 |
| 0 |
download_skux-9j.jpg |
900 |
900 |
N |
N |
Y |
31678 |
7009 |
product |
23467 |
M |
0 |
|
23467 |
| 0 |
download_uk4s-u2.jpg |
900 |
900 |
N |
N |
Y |
31681 |
7010 |
product |
23470 |
M |
0 |
|
23470 |
| 0 |
download_4j5x-lf.jpg |
900 |
900 |
N |
N |
Y |
31684 |
7011 |
product |
23473 |
M |
0 |
|
23473 |
| 0 |
download_5htd-2z.jpg |
900 |
900 |
N |
N |
Y |
31687 |
7012 |
product |
23476 |
M |
0 |
|
23476 |
| 0 |
download_f5h5-1q.jpg |
900 |
900 |
N |
N |
Y |
31690 |
7008 |
product |
23479 |
M |
3 |
|
23479 |
| 0 |
download_r50l-c3.jpg |
900 |
900 |
N |
N |
Y |
31693 |
7007 |
product |
23482 |
M |
3 |
|
23482 |
| 0 |
download_sqam-n3.jpg |
900 |
900 |
N |
N |
Y |
31696 |
7006 |
product |
23485 |
M |
3 |
|
23485 |
| 0 |
download_xrfa-u3.jpg |
900 |
900 |
N |
N |
Y |
31699 |
7005 |
product |
23488 |
M |
3 |
|
23488 |