Query time 0.00112
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "101.57"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "24.00"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_images_links",
"access_type": "range",
"possible_keys": [
"object_id",
"idx_object_type_type_position"
],
"key": "object_id",
"used_key_parts": [
"object_id",
"object_type",
"type"
],
"key_length": "81",
"rows_examined_per_scan": 24,
"rows_produced_per_join": 24,
"filtered": "100.00",
"index_condition": "((`cscart_db`.`cscart_images_links`.`object_type` = 'product') and (`cscart_db`.`cscart_images_links`.`type` = 'M') and (`cscart_db`.`cscart_images_links`.`object_id` in (69361,69045,69036,39005,37892,38063,66499,69383,66516,69046,66500,69380,66501,37893,66504,69803,67439,66503,66517,66508,69820,66513,69817,69814)))",
"cost_info": {
"read_cost": "35.37",
"eval_cost": "2.40",
"prefix_cost": "37.77",
"data_read_per_join": "2K"
},
"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": [
"cscart_db.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 24,
"filtered": "100.00",
"cost_info": {
"read_cost": "18.76",
"eval_cost": "2.40",
"prefix_cost": "58.93",
"data_read_per_join": "18K"
},
"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": "107",
"ref": [
"cscart_db.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 24,
"filtered": "100.00",
"cost_info": {
"read_cost": "16.25",
"eval_cost": "2.40",
"prefix_cost": "77.57",
"data_read_per_join": "14K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
],
"attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`cscart_db`.`cscart_common_descriptions`.`object_id` = `cscart_db`.`cscart_images`.`image_id`), true)"
}
}
]
}
}
}
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 |
VT-100-Vita-Reedle-Shot-Stick-Pouch_800x.jpg |
800 |
800 |
N |
166283 |
37892 |
product |
167632 |
M |
0 |
|
167632 |
| 0 |
vt-cosmeticsvt-100-reti-a-reedle-shot-2ml10ea-451701_1024x1024.png |
952 |
952 |
N |
166467 |
37893 |
product |
167816 |
M |
0 |
|
167816 |
| 0 |
Screenshot_2024-09-11_181940.png |
493 |
485 |
N |
167169 |
38063 |
product |
168518 |
M |
0 |
|
168518 |
| 0 |
61fSl9ntroL._SX522_mask1.jpg |
522 |
522 |
N |
176765 |
39005 |
product |
178111 |
M |
0 |
|
178111 |
| 0 |
6_cjuo-1x.jpg |
1080 |
1080 |
N |
182985 |
66499 |
product |
184331 |
M |
0 |
|
184331 |
| 0 |
1_dicv-5m.jpg |
600 |
800 |
N |
182986 |
66500 |
product |
184332 |
M |
0 |
|
184332 |
| 0 |
2_axdy-c0.webp |
1800 |
1800 |
N |
182992 |
66501 |
product |
184338 |
M |
0 |
|
184338 |
| 0 |
1_gh4g-x5.jpg |
1500 |
1500 |
N |
183003 |
66503 |
product |
184349 |
M |
0 |
|
184349 |
| 0 |
1_7i3y-40.jpg |
1500 |
1500 |
N |
183017 |
66504 |
product |
184363 |
M |
0 |
|
184363 |
| 0 |
1_d9pl-ki.jpg |
1500 |
1500 |
N |
183043 |
66508 |
product |
184389 |
M |
0 |
|
184389 |
| 0 |
1_ov3z-6n.jpg |
1500 |
1500 |
N |
183065 |
66513 |
product |
184411 |
M |
0 |
|
184411 |
| 0 |
1_37zz-3t.jpg |
1500 |
1500 |
N |
183082 |
66516 |
product |
184428 |
M |
0 |
|
184428 |
| 0 |
1_mf5s-1h.jpg |
1500 |
1500 |
N |
188435 |
67439 |
product |
189773 |
M |
0 |
|
189773 |
| 0 |
68037ec8809695678363_1.png |
1000 |
1000 |
N |
202636 |
69045 |
product |
203920 |
M |
0 |
|
203920 |
| 0 |
61wdW0iMUKL._SL1500_.jpg |
1500 |
1500 |
N |
202644 |
69046 |
product |
203928 |
M |
0 |
|
203928 |
| 0 |
61wlXUPeJxL._SL1500_.jpg |
1500 |
1500 |
N |
206416 |
69380 |
product |
207700 |
M |
0 |
|
207700 |
| 0 |
41aExJ6JC2L.jpg |
800 |
800 |
N |
206434 |
69383 |
product |
207718 |
M |
0 |
|
207718 |
| 0 |
61GMRHui_DL._SL1500_.jpg |
1500 |
1500 |
N |
206447 |
69361 |
product |
207731 |
M |
0 |
|
207731 |
| 0 |
61HM_t-XHEL._SL1500_.jpg |
1500 |
1500 |
N |
209666 |
69803 |
product |
210941 |
M |
0 |
|
210941 |
| 0 |
7ca64215280db857208ea636b5b52be5.png |
1100 |
1100 |
N |
209724 |
69814 |
product |
210999 |
M |
0 |
|
210999 |
| 0 |
617e90f62301a31bc95b2bd55ddad136.png |
1100 |
1100 |
N |
209730 |
69817 |
product |
211005 |
M |
0 |
|
211005 |
| 0 |
80f95157e3d6ec7bc7c978f181093dbf.png |
1100 |
1100 |
N |
209745 |
69820 |
product |
211020 |
M |
0 |
|
211020 |
| 0 |
PDRN-Reedle-Shot-300-Shopify-01_1100x.png |
768 |
768 |
N |
215034 |
66517 |
product |
216309 |
M |
0 |
|
216309 |
| 0 |
61Q-CNbFY9L._SL1500__ykaa-pi.jpg |
1500 |
1500 |
N |
210262 |
69036 |
product |
211537 |
M |
6 |
|
211537 |