Query time 0.00158
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "40.56"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "17.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": 17,
"rows_produced_per_join": 17,
"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 (8560,8686,8933,8934,8739,8740,8748,8927,8787,8788,8737,8929,8815,8816,8683,8684)))",
"cost_info": {
"read_cost": "9.96",
"eval_cost": "1.70",
"prefix_cost": "11.66",
"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": 17,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.25",
"eval_cost": "1.70",
"prefix_cost": "17.61",
"data_read_per_join": "13K"
},
"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": 17,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.25",
"eval_cost": "1.70",
"prefix_cost": "23.56",
"data_read_per_join": "10K"
},
"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 |
untitled_image_58xp-lf.jpg |
900 |
900 |
N |
N |
Y |
36212 |
8560 |
product |
27678 |
M |
0 |
|
27678 |
| 0 |
untitled_image_0ccu-eb.jpg |
900 |
900 |
N |
N |
Y |
36627 |
8683 |
product |
28049 |
M |
0 |
|
28049 |
| 0 |
untitled_image_58xp-lf.jpg |
900 |
900 |
N |
N |
Y |
36631 |
8686 |
product |
27678 |
M |
0 |
|
27678 |
| 0 |
untitled_image_3m2x-tx.jpg |
900 |
900 |
N |
N |
Y |
36840 |
8737 |
product |
28179 |
M |
0 |
|
28179 |
| 0 |
untitled_image_bfou-73.jpg |
900 |
900 |
N |
N |
Y |
36844 |
8739 |
product |
28183 |
M |
0 |
|
28183 |
| 0 |
untitled_image_n8g0-ol.jpg |
900 |
900 |
N |
N |
Y |
36850 |
8740 |
product |
28186 |
M |
0 |
|
28186 |
| 0 |
untitled_image_2q9w-yo.jpg |
900 |
900 |
N |
N |
Y |
36868 |
8748 |
product |
28204 |
M |
0 |
|
28204 |
| 0 |
untitled_image_6rss-j5.jpg |
900 |
900 |
N |
N |
Y |
36988 |
8787 |
product |
28307 |
M |
0 |
|
28307 |
| 0 |
untitled_image_qthg-ky.jpg |
900 |
900 |
N |
N |
Y |
37000 |
8788 |
product |
28316 |
M |
0 |
|
28316 |
| 0 |
Untitled_Image1.jpg |
900 |
900 |
N |
N |
Y |
37085 |
8815 |
product |
28401 |
M |
0 |
|
28401 |
| 0 |
untitled_image_7jxg-0b.jpg |
900 |
900 |
N |
N |
Y |
37451 |
8927 |
product |
28723 |
M |
0 |
|
28723 |
| 0 |
untitled_image_3m2x-tx.jpg |
900 |
900 |
N |
N |
Y |
37459 |
8929 |
product |
28179 |
M |
0 |
|
28179 |
| 0 |
untitled_image_txp6-in.jpg |
900 |
900 |
N |
N |
Y |
37489 |
8933 |
product |
28741 |
M |
0 |
|
28741 |
| 0 |
untitled_image_txp6-in.jpg |
900 |
900 |
N |
N |
Y |
37494 |
8934 |
product |
28741 |
M |
0 |
|
28741 |
| 0 |
Untitled_Image_lb9o-bl.jpg |
900 |
900 |
N |
N |
Y |
37087 |
8816 |
product |
28402 |
M |
1 |
|
28402 |
| 0 |
untitled_image_r5ly-9q.jpg |
900 |
900 |
N |
N |
Y |
36638 |
8684 |
product |
28056 |
M |
2 |
|
28056 |