Query time 0.00086
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "118.67"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "29.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": 29,
"rows_produced_per_join": 29,
"filtered": "100.00",
"index_condition": "((`cscart_db`.`cscart_images_links`.`object_type` = 'product') and (`cscart_db`.`cscart_images_links`.`type` = 'A') and (`cscart_db`.`cscart_images_links`.`object_id` in (39122,64429,69708,68616,68398,67976,67918,15946)))",
"cost_info": {
"read_cost": "33.50",
"eval_cost": "2.90",
"prefix_cost": "36.40",
"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": 29,
"filtered": "100.00",
"cost_info": {
"read_cost": "24.44",
"eval_cost": "2.90",
"prefix_cost": "63.74",
"data_read_per_join": "22K"
},
"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": 29,
"filtered": "100.00",
"cost_info": {
"read_cost": "23.03",
"eval_cost": "2.90",
"prefix_cost": "89.67",
"data_read_per_join": "17K"
},
"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 |
Benefit_6yd1-l1.jpg |
768 |
768 |
N |
58126 |
15946 |
product |
59478 |
A |
1 |
|
59478 |
| 0 |
Iunik_signed_page-0001_jvje-2z.jpg |
1241 |
1754 |
N |
173400 |
39122 |
product |
174746 |
A |
1 |
|
174746 |
| 0 |
Asaya1.jpg |
1500 |
1500 |
N |
208838 |
67976 |
product |
210113 |
A |
1 |
|
210113 |
| 0 |
CS1.jpg |
1200 |
1200 |
N |
208844 |
64429 |
product |
210119 |
A |
1 |
|
210119 |
| 0 |
Comparison.jpg |
768 |
768 |
N |
58127 |
15946 |
product |
59479 |
A |
2 |
|
59479 |
| 0 |
Asaya2.jpg |
1500 |
1500 |
N |
208839 |
67976 |
product |
210114 |
A |
2 |
|
210114 |
| 0 |
CS4.jpg |
1200 |
1200 |
N |
208845 |
64429 |
product |
210120 |
A |
2 |
|
210120 |
| 0 |
How_to_use_cuue-ef.jpg |
768 |
768 |
N |
58128 |
15946 |
product |
59480 |
A |
3 |
|
59480 |
| 0 |
asaya3.jpg |
1500 |
1500 |
N |
208840 |
67976 |
product |
210115 |
A |
3 |
|
210115 |
| 0 |
cs3.jpg |
1200 |
1200 |
N |
208846 |
64429 |
product |
210121 |
A |
3 |
|
210121 |
| 0 |
FD2.jpg |
1000 |
1000 |
N |
208851 |
67918 |
product |
210126 |
A |
3 |
|
210126 |
| 0 |
ingredients_spf.jpg |
768 |
768 |
N |
58129 |
15946 |
product |
59481 |
A |
4 |
|
59481 |
| 0 |
3_83tg-34.jpg |
1200 |
1200 |
N |
192508 |
67918 |
product |
193846 |
A |
4 |
|
193846 |
| 0 |
asaya4.jpg |
1500 |
1500 |
N |
208841 |
67976 |
product |
210116 |
A |
4 |
|
210116 |
| 0 |
CS2.jpg |
1200 |
1200 |
N |
208847 |
64429 |
product |
210122 |
A |
4 |
|
210122 |
| 0 |
Now_in_all_new_Avatar.jpg |
768 |
768 |
N |
58130 |
15946 |
product |
59482 |
A |
5 |
|
59482 |
| 0 |
4_chci-ht.jpg |
1200 |
1200 |
N |
192509 |
67918 |
product |
193847 |
A |
5 |
|
193847 |
| 0 |
asaya5.jpg |
1500 |
1500 |
N |
208842 |
67976 |
product |
210117 |
A |
5 |
|
210117 |
| 0 |
cs5.jpg |
1200 |
1200 |
N |
208848 |
64429 |
product |
210123 |
A |
5 |
|
210123 |
| 0 |
Proudct_back.jpg |
768 |
768 |
N |
58131 |
15946 |
product |
59483 |
A |
6 |
|
59483 |
| 0 |
5_qxqs-12.jpg |
1200 |
1200 |
N |
192510 |
67918 |
product |
193848 |
A |
6 |
|
193848 |
| 0 |
asaya6.jpg |
1091 |
1083 |
N |
208843 |
67976 |
product |
210118 |
A |
6 |
|
210118 |
| 0 |
cs6.jpg |
1200 |
1200 |
N |
208849 |
64429 |
product |
210124 |
A |
6 |
|
210124 |
| 0 |
SPF_50_Ayurvedic.jpg |
768 |
768 |
N |
58132 |
15946 |
product |
59484 |
A |
7 |
|
59484 |
| 0 |
6_po3z-il.jpg |
1200 |
1200 |
N |
192511 |
67918 |
product |
193849 |
A |
7 |
|
193849 |
| 0 |
2-8.webp |
720 |
720 |
N |
198636 |
68616 |
product |
199920 |
A |
10 |
|
199920 |
| 0 |
3-7.webp |
720 |
720 |
N |
198637 |
68616 |
product |
199921 |
A |
20 |
|
199921 |